aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-06 18:14:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-08 01:41:53 +0700
commit615470349f80ff7ccb27fd246c3aaa9d0020cfb6 (patch)
tree0e97a021755030a266e52c1f657c599ce42cd431 /graphics
parent98aa0f1808f16168a74738d72906f98b15683d1f (diff)
graphics/PyMOL: Fix REQUIRES for python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/PyMOL/PyMOL.SlackBuild4
-rw-r--r--graphics/PyMOL/PyMOL.info2
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/PyMOL/PyMOL.SlackBuild b/graphics/PyMOL/PyMOL.SlackBuild
index d062b96b076b..935b4f0225c1 100644
--- a/graphics/PyMOL/PyMOL.SlackBuild
+++ b/graphics/PyMOL/PyMOL.SlackBuild
@@ -71,8 +71,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS -std=c++11" \
-python setup.py build
-python setup.py install --root=$PKG
+python2 setup.py build
+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/graphics/PyMOL/PyMOL.info b/graphics/PyMOL/PyMOL.info
index ad9689369ced..fd4c76409776 100644
--- a/graphics/PyMOL/PyMOL.info
+++ b/graphics/PyMOL/PyMOL.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/schrodinger/pymol-open-source/archive/v2.2.0/pymol-
MD5SUM="aa6cde489112de7978daf377b265d748"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-pmw msgpack-c glm"
+REQUIRES="python2-pmw msgpack-c glm"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"