summaryrefslogtreecommitdiffstats
path: root/python/txrequests
diff options
context:
space:
mode:
author Dave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:54 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:24 +0700
commit47b162b9dbe6cb1c62b28f27fb22142e2665b87e (patch)
tree6b6a39ab89b0f7a3408957720354e2aecc01ee6c /python/txrequests
parent71ce2e1ce393cce5f995afa199209d922674d8b1 (diff)
downloadslackbuilds-47b162b9dbe6cb1c62b28f27fb22142e2665b87e.tar.gz
slackbuilds-47b162b9dbe6cb1c62b28f27fb22142e2665b87e.tar.xz
python/txrequests: 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/txrequests')
-rw-r--r--python/txrequests/txrequests.SlackBuild2
-rw-r--r--python/txrequests/txrequests.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/txrequests/txrequests.SlackBuild b/python/txrequests/txrequests.SlackBuild
index 1312b13b6f..83d37662ec 100644
--- a/python/txrequests/txrequests.SlackBuild
+++ b/python/txrequests/txrequests.SlackBuild
@@ -69,7 +69,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/txrequests/txrequests.info b/python/txrequests/txrequests.info
index a921b8e22d..1b84abbbbb 100644
--- a/python/txrequests/txrequests.info
+++ b/python/txrequests/txrequests.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/ed/97/1524061c7fe257092c25c1cf
MD5SUM="b8646167152935d2ad6d40328ee1882a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-twisted"
+REQUIRES="python2-twisted"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"