python/argcomplete: Updated for version 0.6.9.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2014-01-30 21:34:22 +07:00 committed by Robby Workman
parent 2aae5f2178
commit 5b65ddaf9e
4 changed files with 14 additions and 5 deletions

View file

@ -5,5 +5,10 @@ Tab complete all the things!
Argcomplete provides easy, extensible command line tab completion of arguments Argcomplete provides easy, extensible command line tab completion of arguments
for your Python script. 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 You need to run activate-global-python-argcomplete script once you install
this package this package

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=argcomplete PRGNAM=argcomplete
VERSION=${VERSION:-0.6.7} VERSION=${VERSION:-0.6.9}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -71,6 +71,11 @@ find -L . \
python setup.py install --root=$PKG 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 \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,8 +1,8 @@
PRGNAM="argcomplete" PRGNAM="argcomplete"
VERSION="0.6.7" VERSION="0.6.9"
HOMEPAGE="https://github.com/kislyuk/argcomplete" HOMEPAGE="https://github.com/kislyuk/argcomplete"
DOWNLOAD="https://pypi.python.org/packages/source/a/argcomplete/argcomplete-0.6.7.tar.gz" DOWNLOAD="https://pypi.python.org/packages/source/a/argcomplete/argcomplete-0.6.9.tar.gz"
MD5SUM="d9faf5e522f15b829588cbca4859563c" MD5SUM="d6a4ac59fd917507faafea4746a9a1a7"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="pysetuptools" REQUIRES="pysetuptools"

View file

@ -1,4 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi fi