aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:14 +0700
commit4138c23e2bdbcd570e5dbd8d011827d76a92ac52 (patch)
tree66ce92b6a1d5619e44f653dce4f4436930eebd2c
parent135640fa967f4d8c7682eca2b8a74fdcc531c67e (diff)
python/foolscap: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/foolscap/foolscap.SlackBuild2
-rw-r--r--python/foolscap/foolscap.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/foolscap/foolscap.SlackBuild b/python/foolscap/foolscap.SlackBuild
index 3e8cde7ff10e6..5266f802c71ab 100644
--- a/python/foolscap/foolscap.SlackBuild
+++ b/python/foolscap/foolscap.SlackBuild
@@ -73,7 +73,7 @@ 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
+python2 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
diff --git a/python/foolscap/foolscap.info b/python/foolscap/foolscap.info
index 4c6e3a020cd33..ac85122ca4b7d 100644
--- a/python/foolscap/foolscap.info
+++ b/python/foolscap/foolscap.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://foolscap.lothar.com/releases/foolscap-0.13.1.tar.gz"
MD5SUM="5eaa9a3b0e1944b09358e7b192b6dd05"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-twisted pyOpenSSL txtorcon txi2p"
+REQUIRES="python2-twisted pyOpenSSL txtorcon txi2p"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"