diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-01-30 21:34:22 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-02-01 00:40:32 -0600 |
commit | 5b65ddaf9e54f0c5de4f600a0c8b8a6c84a89bef (patch) | |
tree | f51444e2c432d1c03a926f65611f084a14412420 /python | |
parent | 2aae5f217858838dc413061f64503953e6457a3d (diff) |
python/argcomplete: Updated for version 0.6.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/argcomplete/README | 5 | ||||
-rw-r--r-- | python/argcomplete/argcomplete.SlackBuild | 7 | ||||
-rw-r--r-- | python/argcomplete/argcomplete.info | 6 | ||||
-rw-r--r-- | python/argcomplete/doinst.sh | 1 |
4 files changed, 14 insertions, 5 deletions
diff --git a/python/argcomplete/README b/python/argcomplete/README index 56969271222f4..d4c36cf332ca1 100644 --- a/python/argcomplete/README +++ b/python/argcomplete/README @@ -5,5 +5,10 @@ Tab complete all the things! Argcomplete provides easy, extensible command line tab completion of arguments for your Python script. +Argcomplete is particularly useful if your program has lots of options +or subparsers, and if your program can dynamically suggest completions +for your argument/option values. + +Note: You need to run activate-global-python-argcomplete script once you install this package diff --git a/python/argcomplete/argcomplete.SlackBuild b/python/argcomplete/argcomplete.SlackBuild index 2c20927e9d722..68ce631216196 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 diff --git a/python/argcomplete/argcomplete.info b/python/argcomplete/argcomplete.info index e85e75f824b94..75dbf75ec9d63 100644 --- a/python/argcomplete/argcomplete.info +++ b/python/argcomplete/argcomplete.info @@ -1,8 +1,8 @@ PRGNAM="argcomplete" -VERSION="0.6.7" +VERSION="0.6.9" HOMEPAGE="https://github.com/kislyuk/argcomplete" -DOWNLOAD="https://pypi.python.org/packages/source/a/argcomplete/argcomplete-0.6.7.tar.gz" -MD5SUM="d9faf5e522f15b829588cbca4859563c" +DOWNLOAD="https://pypi.python.org/packages/source/a/argcomplete/argcomplete-0.6.9.tar.gz" +MD5SUM="d6a4ac59fd917507faafea4746a9a1a7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pysetuptools" diff --git a/python/argcomplete/doinst.sh b/python/argcomplete/doinst.sh index 4e8ba7071dea7..5fb28930db0b9 100644 --- a/python/argcomplete/doinst.sh +++ b/python/argcomplete/doinst.sh @@ -1,4 +1,3 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi - |