summaryrefslogtreecommitdiff
path: root/python/Parsley
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 16:28:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:08 +0700
commitda43b6bc8c57ae46739a08f3c83c184b60417a3f (patch)
tree7569bb0d2e52bc6921ed2637929fa0535255b374 /python/Parsley
parent249081cb2181d2d2c07c2adefdd623777dda191c (diff)
downloadslackbuilds-da43b6bc8c57ae46739a08f3c83c184b60417a3f.tar.gz
python/Parsley: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/Parsley')
-rw-r--r--python/Parsley/Parsley.SlackBuild2
-rw-r--r--python/Parsley/Parsley.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/Parsley/Parsley.SlackBuild b/python/Parsley/Parsley.SlackBuild
index 14d8c95609..09c129f8bc 100644
--- a/python/Parsley/Parsley.SlackBuild
+++ b/python/Parsley/Parsley.SlackBuild
@@ -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
diff --git a/python/Parsley/Parsley.info b/python/Parsley/Parsley.info
index 684194fd7a..0264bcb2a8 100644
--- a/python/Parsley/Parsley.info
+++ b/python/Parsley/Parsley.info
@@ -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"