diff options
-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 5696927122..d4c36cf332 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 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 diff --git a/python/argcomplete/argcomplete.info b/python/argcomplete/argcomplete.info index e85e75f824..75dbf75ec9 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 4e8ba7071d..5fb28930db 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 - |