aboutsummaryrefslogtreecommitdiff
path: root/python/txi2p
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:23 +0700
commit71ce2e1ce393cce5f995afa199209d922674d8b1 (patch)
tree31fc5d7087eafc6397df24755f0d775cf63be93f /python/txi2p
parentd7a76505a572532978fac9e610c4122e953ea682 (diff)
python/txi2p: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/txi2p')
-rw-r--r--python/txi2p/txi2p.SlackBuild2
-rw-r--r--python/txi2p/txi2p.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/txi2p/txi2p.SlackBuild b/python/txi2p/txi2p.SlackBuild
index 436e41cfeb3c..2cb374ecd628 100644
--- a/python/txi2p/txi2p.SlackBuild
+++ b/python/txi2p/txi2p.SlackBuild
@@ -70,7 +70,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/txi2p/txi2p.info b/python/txi2p/txi2p.info
index a2bda7d05193..1b8bde2af55f 100644
--- a/python/txi2p/txi2p.info
+++ b/python/txi2p/txi2p.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/b1/4f/c68c155e452b3e0f7e997c4dfdc2f3a
MD5SUM="af7b0a2e5388458a6dff1c09e525b922"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vcversioner python-twisted Parsley"
+REQUIRES="vcversioner python2-twisted Parsley"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"