aboutsummaryrefslogtreecommitdiff
path: root/academic/pyCRAC/pyCRAC.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/pyCRAC/pyCRAC.SlackBuild')
-rw-r--r--academic/pyCRAC/pyCRAC.SlackBuild18
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