Skip to content
Snippets Groups Projects
Commit b81fe602 authored by J0WI's avatar J0WI Committed by Andy Postnikov
Browse files

community/py-sqlparse: modernize

parent 8dd92b33
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,8 @@ builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python2 setup.py build || return 1
python3 setup.py build || return 1
python2 setup.py build
python3 setup.py build
}
package() {
......@@ -46,7 +46,7 @@ _py() {
# Add version suffix to executable files.
local path; for path in "$subpkgdir"/usr/bin/*; do
mv "$path" "$path-$pyver" || return 1
mv "$path" "$path-$pyver"
done
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment