diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-12-21 17:31:02 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-23 10:11:51 +0700 |
commit | 8af5464d3171c3e4fc5e1d4d09f75af8054a7668 (patch) | |
tree | 910a262ed03334218ae77998573ec49e59f73c0f /python/argcomplete | |
parent | 6a601a367f238a94524f5f33ba76aece0ecf8fc0 (diff) |
python/argcomplete: Updated for version 2.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/argcomplete')
-rw-r--r-- | python/argcomplete/argcomplete.SlackBuild | 12 | ||||
-rw-r--r-- | python/argcomplete/argcomplete.info | 6 |
2 files changed, 7 insertions, 11 deletions
diff --git a/python/argcomplete/argcomplete.SlackBuild b/python/argcomplete/argcomplete.SlackBuild index 28c66beaa797..f474fed90a99 100644 --- a/python/argcomplete/argcomplete.SlackBuild +++ b/python/argcomplete/argcomplete.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for argcomplete -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=argcomplete -VERSION=${VERSION:-1.10.3} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,12 +79,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 {} \; -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 +python2 setup.py install --root=$PKG +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/argcomplete/argcomplete.info b/python/argcomplete/argcomplete.info index 86088fd01455..720eab563416 100644 --- a/python/argcomplete/argcomplete.info +++ b/python/argcomplete/argcomplete.info @@ -1,8 +1,8 @@ PRGNAM="argcomplete" -VERSION="1.10.3" +VERSION="2.0.0" HOMEPAGE="https://github.com/kislyuk/argcomplete" -DOWNLOAD="https://files.pythonhosted.org/packages/ae/28/07d2cfe0838f998ea2eafab59f52b0ceb1e70adb1831fa14b958a9fa6c5c/argcomplete-1.10.3.tar.gz" -MD5SUM="59310e7bb7b317606d17faa3e62f4118" +DOWNLOAD="https://files.pythonhosted.org/packages/05/f8/67851ae4fe5396ba6868c5d84219b81ea6a5d53991a6853616095c30adc0/argcomplete-2.0.0.tar.gz" +MD5SUM="50437bb1e6911540e8ba9b97c7768663" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |