mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
python/python-argopt: Updated for version 0.7.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
parent
4dbeca1981
commit
ee6e6f1720
2 changed files with 7 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for python-argopt
|
||||
|
||||
# Copyright 2018-2020 Andrew Clemons, Wellington New Zealand
|
||||
# Copyright 2018-2021 Andrew Clemons, Wellington New Zealand
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=python-argopt
|
||||
SRCNAM="$(echo "$PRGNAM" | cut -d- -f2)"
|
||||
VERSION=${VERSION:-0.6.0}
|
||||
VERSION=${VERSION:-0.7.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -80,13 +80,8 @@ 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 {} \;
|
||||
|
||||
sed -i "s/\\(install_requires=\\)\\['argparse'\\]/\\1[]/g" setup.py
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
if python3 -c 'import sys' 2> /dev/null ; 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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="python-argopt"
|
||||
VERSION="0.6.0"
|
||||
VERSION="0.7.0"
|
||||
HOMEPAGE="https://github.com/casperdcl/argopt"
|
||||
DOWNLOAD="https://github.com/casperdcl/argopt/archive/v0.6.0/argopt-0.6.0.tar.gz"
|
||||
MD5SUM="e70a0cabc47df58dad82b7bb61661e15"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/22/bf/527c5f49017645f36f40f369006febae597e42f2188f50c194d45ac22761/argopt-0.7.0.tar.gz"
|
||||
MD5SUM="8acc1daf665d00dd108bbb1fe28bd978"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
REQUIRES="python2-setuptools-scm setuptools-scm python-toml"
|
||||
MAINTAINER="Andrew Clemons"
|
||||
EMAIL="andrew.clemons@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue