diff options
author | Rob van Nues <sborg63@disroot.org> | 2019-09-08 07:27:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-09-08 07:27:03 +0700 |
commit | a34fc7ba46c1425877dc0676b6485ad3a70e5cc8 (patch) | |
tree | 29284ae76d545f97b48bde50c019967b0dab8a13 /python/ruffus/ruffus.SlackBuild | |
parent | dacb1fedc8f7f2ccce7873d1c85a0a412a00e962 (diff) | |
download | slackbuilds-a34fc7ba46c1425877dc0676b6485ad3a70e5cc8.tar.gz |
python/ruffus: Updated for version 2.8.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/ruffus/ruffus.SlackBuild')
-rw-r--r-- | python/ruffus/ruffus.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/python/ruffus/ruffus.SlackBuild b/python/ruffus/ruffus.SlackBuild index e82481cd28..e237bbf541 100644 --- a/python/ruffus/ruffus.SlackBuild +++ b/python/ruffus/ruffus.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for ruffus -# Copyright 2018 Rob van Nues +# Copyright 2018-2019 Rob van Nues # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ruffus -VERSION=${VERSION:-2.8.1} +VERSION=${VERSION:-2.8.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +#set which python version to install it for +PYTHON2=false +PYTHON3=true + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -69,7 +73,12 @@ 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 {} \; -python setup.py install --root=$PKG +if $PYTHON2; then + python setup.py install --root=$PKG +fi +if $PYTHON3; then + python3 setup.py install --root=$PKG +fi 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 |