diff options
author | brobr <sborg63@disroot.org> | 2021-10-15 12:37:16 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-16 00:13:01 +0700 |
commit | 586de8ca7f452f51bd686fe82691e29452dba3e7 (patch) | |
tree | 04bb332206e63ae3e73058965bbaf47ce12ebb4e /academic/pyCRAC/pyCRAC.SlackBuild | |
parent | 6ceff5e7684573b8bce28fe5ec18a02494076a8d (diff) |
academic/pyCRAC: Updated for version 1.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/pyCRAC/pyCRAC.SlackBuild')
-rw-r--r-- | academic/pyCRAC/pyCRAC.SlackBuild | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/academic/pyCRAC/pyCRAC.SlackBuild b/academic/pyCRAC/pyCRAC.SlackBuild index 4602b53c21..51f54e1913 100644 --- a/academic/pyCRAC/pyCRAC.SlackBuild +++ b/academic/pyCRAC/pyCRAC.SlackBuild @@ -25,20 +25,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyCRAC -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -# pyCRAC works with python2 as well as python3; -# Note that python2 is being phased out; therefore python3 is set as default. -# This is the same for the python pyCrac dependencies - -#set which python version to install it for -PYTHON2=false -PYTHON3=true - - PIPENAM=crac_pipelines PIPEVER=master #PIPETAG=sgrann @@ -109,12 +100,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 {} \; -if $PYTHON2; then - python setup.py install --root=$PKG -fi -if $PYTHON3; then - python3 setup.py install --root=$PKG -fi +python3 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 |