aboutsummaryrefslogtreecommitdiff
path: root/academic/pyCRAC
diff options
context:
space:
mode:
authorbrobr <sborg63@disroot.org>2021-10-15 12:37:16 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-16 00:13:01 +0700
commit586de8ca7f452f51bd686fe82691e29452dba3e7 (patch)
tree04bb332206e63ae3e73058965bbaf47ce12ebb4e /academic/pyCRAC
parent6ceff5e7684573b8bce28fe5ec18a02494076a8d (diff)
academic/pyCRAC: Updated for version 1.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/pyCRAC')
-rw-r--r--academic/pyCRAC/pyCRAC.SlackBuild18
-rw-r--r--academic/pyCRAC/pyCRAC.info6
-rw-r--r--academic/pyCRAC/setup_slack.py6
3 files changed, 8 insertions, 22 deletions
diff --git a/academic/pyCRAC/pyCRAC.SlackBuild b/academic/pyCRAC/pyCRAC.SlackBuild
index 4602b53c21f80..51f54e1913041 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
diff --git a/academic/pyCRAC/pyCRAC.info b/academic/pyCRAC/pyCRAC.info
index 7ceb5e2107369..32f926971501b 100644
--- a/academic/pyCRAC/pyCRAC.info
+++ b/academic/pyCRAC/pyCRAC.info
@@ -1,9 +1,9 @@
PRGNAM="pyCRAC"
-VERSION="1.5.0"
+VERSION="1.5.1"
HOMEPAGE="http://sandergranneman.bio.ed.ac.uk/pycrac-software"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pyCRAC/pyCRAC-1.5.0.tar.gz \
+DOWNLOAD="https://pypi.python.org/packages/source/p/pyCRAC/pyCRAC-1.5.1.tar.gz \
https://git.ecdf.ed.ac.uk/sgrannem/crac_pipelines/-/archive/master/crac_pipelines-master.tar.gz"
-MD5SUM="73bfb92e8ae0f30fd73f21a77d265288 \
+MD5SUM="f634167e03ef26213efb4400671dbc9c \
119c67d318a03ed29471e4caeb2690a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/academic/pyCRAC/setup_slack.py b/academic/pyCRAC/setup_slack.py
index f76cd3868dee5..0340228e8412f 100644
--- a/academic/pyCRAC/setup_slack.py
+++ b/academic/pyCRAC/setup_slack.py
@@ -1,10 +1,10 @@
#!/usr/bin/python
__author__ = "Sander Granneman"
-__copyright__ = "Copyright 2020"
-__version__ = "1.5.0"
+__copyright__ = "Copyright 2021"
+__version__ = "1.5.1"
__credits__ = ["Sander Granneman","Grzegorz Kudla","Hywell Dunn Davies"]
-__maintainer__ = ["Sander Granneman","Rob van Nues via SlackBuilds.org"]
+__maintainer__ = ["Sander Granneman","Rob van Nues for SlackBuilds.org"]
__email__ = ["sgrannem@staffmail.ed.ac.uk", "sborg63@disroot.org"]
__status__ = "Production"