diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-10-24 12:59:18 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-10-27 09:27:35 +0700 |
commit | 6936150902aa5be226f5b1c1e06227b3edbeac69 (patch) | |
tree | 37e4fcea0b95b594c58b690567cae14ae32f9af1 /gis/polyline/polyline.SlackBuild | |
parent | 835c22fcbc88ee4172655860631d269e86eb0363 (diff) |
gis/polyline: Require Python 3.
Diffstat (limited to 'gis/polyline/polyline.SlackBuild')
-rw-r--r-- | gis/polyline/polyline.SlackBuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gis/polyline/polyline.SlackBuild b/gis/polyline/polyline.SlackBuild index 7d549a3546225..304e8a71a5df5 100644 --- a/gis/polyline/polyline.SlackBuild +++ b/gis/polyline/polyline.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for polyline -# Copyright 2015 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2015-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -69,10 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |