From 4138c23e2bdbcd570e5dbd8d011827d76a92ac52 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Sat, 15 May 2021 16:28:35 +0100 Subject: python/foolscap: Convert python to python2. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- python/foolscap/foolscap.SlackBuild | 2 +- python/foolscap/foolscap.info | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'python/foolscap') diff --git a/python/foolscap/foolscap.SlackBuild b/python/foolscap/foolscap.SlackBuild index 3e8cde7ff10e..5266f802c71a 100644 --- a/python/foolscap/foolscap.SlackBuild +++ b/python/foolscap/foolscap.SlackBuild @@ -73,7 +73,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/foolscap/foolscap.info b/python/foolscap/foolscap.info index 4c6e3a020cd3..ac85122ca4b7 100644 --- a/python/foolscap/foolscap.info +++ b/python/foolscap/foolscap.info @@ -5,6 +5,6 @@ DOWNLOAD="http://foolscap.lothar.com/releases/foolscap-0.13.1.tar.gz" MD5SUM="5eaa9a3b0e1944b09358e7b192b6dd05" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-twisted pyOpenSSL txtorcon txi2p" +REQUIRES="python2-twisted pyOpenSSL txtorcon txi2p" MAINTAINER="Markus Reichelt" EMAIL="slackbuilds@mareichelt.de" -- cgit v1.2.3