summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:15:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:57 +0700
commitf0210b0cce4e739336b61d514481c4e0658ea3ba (patch)
tree19537d25b5a95f1ffe46937bb5e87c05d5e18916
parentcffbd9423a96095546eaa5486b68b275b94f7533 (diff)
downloadslackbuilds-f0210b0cce4e739336b61d514481c4e0658ea3ba.tar.gz
python/python-orbited: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-orbited/python-orbited.SlackBuild2
-rw-r--r--python/python-orbited/python-orbited.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/python-orbited/python-orbited.SlackBuild b/python/python-orbited/python-orbited.SlackBuild
index 05193e0ee4..123c92e5b5 100644
--- a/python/python-orbited/python-orbited.SlackBuild
+++ b/python/python-orbited/python-orbited.SlackBuild
@@ -71,7 +71,7 @@ find -L . \
\( -perm 666 -o -perm 664 -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 | xargs 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/python-orbited/python-orbited.info b/python/python-orbited/python-orbited.info
index f52b9f9db2..3928f11e93 100644
--- a/python/python-orbited/python-orbited.info
+++ b/python/python-orbited/python-orbited.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/o/orbited/orbited-0.7.10.tar.g
MD5SUM="4f4e85d197466c141b1af466782445c1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-demjson python-morbid python-stomper python-twisted python-uuid"
+REQUIRES="python2-demjson python2-morbid python2-stomper python-twisted python2-uuid"
MAINTAINER="David Woodfall"
EMAIL="dave@slackbuilds.org"