aboutsummaryrefslogtreecommitdiff
path: root/gis/OWSLib/OWSLib.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2020-02-24 12:46:49 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-29 07:45:17 +0700
commit4320e0f862d6959157cf2847a53fed1e1b94610c (patch)
tree97d4e6f93d3ebbc6ede6194dd2382cb9dbef09d9 /gis/OWSLib/OWSLib.SlackBuild
parentc346fc57c1bb94ff01b9a791aeb1f8ed5f376e1e (diff)
gis/OWSLib: Python 3 by default.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis/OWSLib/OWSLib.SlackBuild')
-rw-r--r--gis/OWSLib/OWSLib.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/gis/OWSLib/OWSLib.SlackBuild b/gis/OWSLib/OWSLib.SlackBuild
index ff7351942175b..217ad4bbcadde 100644
--- a/gis/OWSLib/OWSLib.SlackBuild
+++ b/gis/OWSLib/OWSLib.SlackBuild
@@ -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
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true