summaryrefslogtreecommitdiff
path: root/python/pip/pip.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pip/pip.SlackBuild')
-rw-r--r--python/pip/pip.SlackBuild7
1 files changed, 5 insertions, 2 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