aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2020-01-01 10:07:55 -0800
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 02:11:10 -0600
commita42a5f10b747ac505ee64a1fd4b6f28351883f15 (patch)
tree8da16b48e803c60b32d0451696aaf5a1cf28fc62
parent3d7eb2f03c6df1808c97019cc75be40161fab024 (diff)
gis/Fiona: Use Python 3 for cli.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--gis/Fiona/Fiona.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/gis/Fiona/Fiona.SlackBuild b/gis/Fiona/Fiona.SlackBuild
index afeffcde2ec00..a94a675f9685f 100644
--- a/gis/Fiona/Fiona.SlackBuild
+++ b/gis/Fiona/Fiona.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Fiona
-# Copyright 2013-2019 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2013-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -69,8 +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 {} \;
-python3 setup.py install --root=$PKG
python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true