aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/python-configargparse/python-configargparse.SlackBuild10
-rw-r--r--python/python-configargparse/python-configargparse.info6
2 files changed, 6 insertions, 10 deletions
diff --git a/python/python-configargparse/python-configargparse.SlackBuild b/python/python-configargparse/python-configargparse.SlackBuild
index 3ec4d1c6cee8..57753910817b 100644
--- a/python/python-configargparse/python-configargparse.SlackBuild
+++ b/python/python-configargparse/python-configargparse.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-configargparse
-# Copyright 2015-2020 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=python-configargparse
SRCNAM=ConfigArgParse
-VERSION=${VERSION:-1.2.3}
+VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,11 +70,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 {} \;
-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-configargparse/python-configargparse.info b/python/python-configargparse/python-configargparse.info
index 3995aa6a7b70..1f2e05b72b44 100644
--- a/python/python-configargparse/python-configargparse.info
+++ b/python/python-configargparse/python-configargparse.info
@@ -1,8 +1,8 @@
PRGNAM="python-configargparse"
-VERSION="1.2.3"
+VERSION="1.4"
HOMEPAGE="https://github.com/bw2/ConfigArgParse"
-DOWNLOAD="https://github.com/bw2/ConfigArgParse/archive/1.2.3/ConfigArgParse-1.2.3.tar.gz"
-MD5SUM="9cff4302550cbf8458372b7fb219e76c"
+DOWNLOAD="https://github.com/bw2/ConfigArgParse/archive/v1.4/ConfigArgParse-1.4.tar.gz"
+MD5SUM="3b41792f1153a723ff1955eaa2100645"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""