summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2021-08-01 11:30:08 +1200
committer Robby Workman <rworkman@slackbuilds.org>2021-08-01 04:20:25 -0500
commitee6e6f1720e68c10c0be6d22a19f0de0c435d553 (patch)
treeba338d291f88d49e3f2804bd2856ca768ae2b404 /python
parent4dbeca198129fc531d48c0d37aa0b55da0071181 (diff)
downloadslackbuilds-ee6e6f1720e68c10c0be6d22a19f0de0c435d553.tar.gz
slackbuilds-ee6e6f1720e68c10c0be6d22a19f0de0c435d553.tar.xz
python/python-argopt: Updated for version 0.7.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'python')
-rw-r--r--python/python-argopt/python-argopt.SlackBuild11
-rw-r--r--python/python-argopt/python-argopt.info8
2 files changed, 7 insertions, 12 deletions
diff --git a/python/python-argopt/python-argopt.SlackBuild b/python/python-argopt/python-argopt.SlackBuild
index 1f2e839c73..6f749447e5 100644
--- a/python/python-argopt/python-argopt.SlackBuild
+++ b/python/python-argopt/python-argopt.SlackBuild
@@ -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
diff --git a/python/python-argopt/python-argopt.info b/python/python-argopt/python-argopt.info
index c7821d4bc4..76a6ca33e1 100644
--- a/python/python-argopt/python-argopt.info
+++ b/python/python-argopt/python-argopt.info
@@ -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"