mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/ruffus: Updated for version 2.8.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dacb1fedc8
commit
a34fc7ba46
2 changed files with 16 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="ruffus"
|
||||
VERSION="2.8.1"
|
||||
VERSION="2.8.3"
|
||||
HOMEPAGE="http://www.ruffus.org.uk"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/18/24/05e8fe590d08bd9e6122c6a87425ff741c79edf01d2873f92028e860e547/ruffus-2.8.1.tar.gz"
|
||||
MD5SUM="9a500473b1394d0da085708efc617382"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/a1/73/cc66b80cfd495d6ce1e26292776d8f6bb67281bde4f47826b6cb20aa9c87/ruffus-2.8.3.tar.gz"
|
||||
MD5SUM="4fece047fb945e4b6a96bec7d9fad450"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
REQUIRES="python3"
|
||||
MAINTAINER="Rob van Nues"
|
||||
EMAIL="sborg63@disroot.org"
|
||||
|
|
Loading…
Reference in a new issue