summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/pip/pip.SlackBuild7
-rw-r--r--python/pip/pip.info8
-rw-r--r--python/pip/pip.sh9
-rw-r--r--python/pip/slack-desc2
4 files changed, 19 insertions, 7 deletions
diff --git a/python/pip/pip.SlackBuild b/python/pip/pip.SlackBuild
index c67e2a8484..40ab020062 100644
--- a/python/pip/pip.SlackBuild
+++ b/python/pip/pip.SlackBuild
@@ -4,7 +4,7 @@
# Written by Audrius Kažukauskas <audrius@neutrino.lt>
PRGNAM=pip
-VERSION=${VERSION:-0.8.2}
+VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,8 +38,11 @@ find . \
python setup.py install --root=$PKG
+# Add bash completion file.
+install -D -m 644 $CWD/pip.sh $PKG/etc/bash_completion.d/pip
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a docs/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/pip/pip.info b/python/pip/pip.info
index d199b7b0b1..40667f49b0 100644
--- a/python/pip/pip.info
+++ b/python/pip/pip.info
@@ -1,8 +1,8 @@
PRGNAM="pip"
-VERSION="0.8.2"
-HOMEPAGE="http://pip.openplans.org/"
-DOWNLOAD="http://pypi.python.org/packages/source/p/pip/pip-0.8.2.tar.gz"
-MD5SUM="df1eca0abe7643d92b5222240bed15f6"
+VERSION="1.0.2"
+HOMEPAGE="http://www.pip-installer.org/"
+DOWNLOAD="http://pypi.python.org/packages/source/p/pip/pip-1.0.2.tar.gz"
+MD5SUM="47ec6ff3f6d962696fe08d4c8264ad49"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Audrius Kažukauskas"
diff --git a/python/pip/pip.sh b/python/pip/pip.sh
new file mode 100644
index 0000000000..b9b1ea1477
--- /dev/null
+++ b/python/pip/pip.sh
@@ -0,0 +1,9 @@
+# bash completion for pip
+
+_pip_completion()
+{
+ COMPREPLY=( $( COMP_WORDS="${COMP_WORDS[*]}" \
+ COMP_CWORD=$COMP_CWORD \
+ PIP_AUTO_COMPLETE=1 $1 ) )
+}
+complete -o default -F _pip_completion pip
diff --git a/python/pip/slack-desc b/python/pip/slack-desc
index 39dfde099f..0e2c13127e 100644
--- a/python/pip/slack-desc
+++ b/python/pip/slack-desc
@@ -10,7 +10,7 @@ pip: pip (a better easy_install replacement)
pip:
pip: pip is a replacement for easy_install from pysetuptools.
pip:
-pip: Homepage: http://pip.openplans.org/
+pip: Homepage: http://www.pip-installer.org/
pip:
pip:
pip: