aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:14:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:53 +0700
commit98aa0f1808f16168a74738d72906f98b15683d1f (patch)
treeb559f0d0399b33a2c0fe50fdd34a8f259393a4ae
parented5e0a4ea8072a5a51851fcacf3267aeb246fbc8 (diff)
network/FireWorks: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/FireWorks/FireWorks.SlackBuild2
-rw-r--r--network/FireWorks/FireWorks.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/network/FireWorks/FireWorks.SlackBuild b/network/FireWorks/FireWorks.SlackBuild
index e2993feddb70..112346f3f389 100644
--- a/network/FireWorks/FireWorks.SlackBuild
+++ b/network/FireWorks/FireWorks.SlackBuild
@@ -69,7 +69,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/network/FireWorks/FireWorks.info b/network/FireWorks/FireWorks.info
index 10584b602048..a03230dc44c3 100644
--- a/network/FireWorks/FireWorks.info
+++ b/network/FireWorks/FireWorks.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/2e/36/15de68d74d5dc4927cdbb92b4ae0a65
MD5SUM="7268d2457124d472162406f59ec00452"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pymongo monty python-dateutil python-tabulate flask-paginate gunicorn"
+REQUIRES="pymongo monty python-dateutil python2-tabulate flask-paginate gunicorn"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"