python/Parsley: 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:23 +01:00 committed by Willy Sudiarto Raharjo
parent 249081cb21
commit da43b6bc8c
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,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="https://pypi.python.org/packages/06/52/cac2f9e78c26cff8bb518bdb4f2b5a0
MD5SUM="92bc256e5f73810a609dc7874637ad31"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python-twisted"
REQUIRES="python2-twisted"
MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"