aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
Diffstat (limited to 'gis')
-rw-r--r--gis/polyline/polyline.SlackBuild8
-rw-r--r--gis/polyline/polyline.info2
2 files changed, 4 insertions, 6 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 \
diff --git a/gis/polyline/polyline.info b/gis/polyline/polyline.info
index 3180d2880a8c3..0d4449ce2ab30 100644
--- a/gis/polyline/polyline.info
+++ b/gis/polyline/polyline.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/source/p/polyline/polyline-1.3
MD5SUM="802f43c5134f5a2386657f60dca9602b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="six"
+REQUIRES="six python3-six"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"