summaryrefslogtreecommitdiff
path: root/python/argcomplete/argcomplete.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-01-30 21:34:22 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-02-01 00:40:32 -0600
commit5b65ddaf9e54f0c5de4f600a0c8b8a6c84a89bef (patch)
treef51444e2c432d1c03a926f65611f084a14412420 /python/argcomplete/argcomplete.SlackBuild
parent2aae5f217858838dc413061f64503953e6457a3d (diff)
downloadslackbuilds-5b65ddaf9e54f0c5de4f600a0c8b8a6c84a89bef.tar.gz
python/argcomplete: Updated for version 0.6.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/argcomplete/argcomplete.SlackBuild')
-rw-r--r--python/argcomplete/argcomplete.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/argcomplete/argcomplete.SlackBuild b/python/argcomplete/argcomplete.SlackBuild
index 2c20927e9d..68ce631216 100644
--- a/python/argcomplete/argcomplete.SlackBuild
+++ b/python/argcomplete/argcomplete.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=argcomplete
-VERSION=${VERSION:-0.6.7}
+VERSION=${VERSION:-0.6.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,11 @@ find -L . \
python setup.py install --root=$PKG
+# Python 3 support.
+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