summaryrefslogtreecommitdiff
path: root/python/txsocksx
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:24 +0700
commita899e3327bb3057c9f58b08dd39da196eb694183 (patch)
tree3b216ecde70ffb621bd8826fca3a1460c5e9b5f9 /python/txsocksx
parent47b162b9dbe6cb1c62b28f27fb22142e2665b87e (diff)
downloadslackbuilds-a899e3327bb3057c9f58b08dd39da196eb694183.tar.gz
python/txsocksx: 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/txsocksx')
-rw-r--r--python/txsocksx/txsocksx.SlackBuild2
-rw-r--r--python/txsocksx/txsocksx.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/txsocksx/txsocksx.SlackBuild b/python/txsocksx/txsocksx.SlackBuild
index 60958bb1fc..c72aeaa65d 100644
--- a/python/txsocksx/txsocksx.SlackBuild
+++ b/python/txsocksx/txsocksx.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/txsocksx/txsocksx.info b/python/txsocksx/txsocksx.info
index 710a26c6ff..9c0643ec1a 100644
--- a/python/txsocksx/txsocksx.info
+++ b/python/txsocksx/txsocksx.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/ed/36/5bc796eb2612b500baa26a68481d699
MD5SUM="0266b9ae7b58f7550a49683afebf65ba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vcversioner python-twisted Parsley"
+REQUIRES="vcversioner python2-twisted Parsley"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"