From 47b162b9dbe6cb1c62b28f27fb22142e2665b87e Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Sat, 15 May 2021 16:28:54 +0100 Subject: python/txrequests: Convert python to python2. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- python/txrequests/txrequests.SlackBuild | 2 +- python/txrequests/txrequests.info | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'python/txrequests') 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" -- cgit v1.2.3