graphics/PyMOL: Fix REQUIRES for 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-06 18:14:52 +01:00 committed by Willy Sudiarto Raharjo
parent 98aa0f1808
commit 615470349f
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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"