aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1312b13b6f7f..83d37662ec5f 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 a921b8e22dc7..1b84abbbbb3d 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"