python/foolscap: Convert python to python2.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2021-05-15 16:28:35 +01:00 committed by Willy Sudiarto Raharjo
parent 135640fa96
commit 4138c23e2b
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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"