aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-23 12:56:03 +0700
committerRobby Workman <rworkman@slackbuilds.org>2021-04-23 01:11:26 -0500
commit99730c2b14da34dce9eb2f534aeca54512443383 (patch)
tree79fdcadb7f9231ea18f99e7e5f0333272490679d /python
parent07df6fcf6c00f0d2dcc0384948d30ed612860df2 (diff)
python/python-configargparse: Updated for version 1.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-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 3ec4d1c6cee8b..57753910817b3 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 3995aa6a7b70a..1f2e05b72b440 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=""