aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-08 07:30:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-08 07:31:47 +0700
commit367f2ab8e2392629ea5be4e6aa52bdba148cb32e (patch)
treeaa4c4f3fde3ba172d84229b49b72f2aa96f95753
parente714eb9832dcecf4e1caca5a1032c322e80cb018 (diff)
python/python-configargparse: Updated for version 0.13.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-configargparse/python-configargparse.SlackBuild8
-rw-r--r--python/python-configargparse/python-configargparse.info6
2 files changed, 9 insertions, 5 deletions
diff --git a/python/python-configargparse/python-configargparse.SlackBuild b/python/python-configargparse/python-configargparse.SlackBuild
index e646ecbeceac4..190d1f4dad502 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-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2018 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:-0.12.0}
+VERSION=${VERSION:-0.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,10 @@ find -L . \
python setup.py install --root=$PKG
+if $(python3 -c 'import sys' 2>/dev/null); 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
diff --git a/python/python-configargparse/python-configargparse.info b/python/python-configargparse/python-configargparse.info
index 7bbe19bc19d30..afd0ca38a6265 100644
--- a/python/python-configargparse/python-configargparse.info
+++ b/python/python-configargparse/python-configargparse.info
@@ -1,8 +1,8 @@
PRGNAM="python-configargparse"
-VERSION="0.12.0"
+VERSION="0.13.0"
HOMEPAGE="https://github.com/bw2/ConfigArgParse"
-DOWNLOAD="https://github.com/bw2/ConfigArgParse/archive/0.12.0/ConfigArgParse-0.12.0.tar.gz"
-MD5SUM="d263eb56365cc44e14e780108826cf13"
+DOWNLOAD="https://github.com/bw2/ConfigArgParse/archive/0.13.0/ConfigArgParse-0.13.0.tar.gz"
+MD5SUM="c552c5f8003923ab614bb8280c506ec0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""