aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/pip/pip.SlackBuild7
-rw-r--r--python/pip/pip.info6
2 files changed, 9 insertions, 4 deletions
diff --git a/python/pip/pip.SlackBuild b/python/pip/pip.SlackBuild
index 3c201a2630016..be450bd6184bf 100644
--- a/python/pip/pip.SlackBuild
+++ b/python/pip/pip.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pip
-VERSION=${VERSION:-1.3.1}
+VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,6 +57,11 @@ find . \
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
+
# Add bash completion file.
install -D -m 644 $CWD/pip.sh $PKG/usr/share/bash-completion/completions/pip
diff --git a/python/pip/pip.info b/python/pip/pip.info
index 106ed6ecfa7c5..e3f8c908c41a6 100644
--- a/python/pip/pip.info
+++ b/python/pip/pip.info
@@ -1,8 +1,8 @@
PRGNAM="pip"
-VERSION="1.3.1"
+VERSION="1.4"
HOMEPAGE="http://www.pip-installer.org/"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pip/pip-1.3.1.tar.gz"
-MD5SUM="cbb27a191cebc58997c4da8513863153"
+DOWNLOAD="https://pypi.python.org/packages/source/p/pip/pip-1.4.tar.gz"
+MD5SUM="ca790be30004937987767eac42cfa44a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools"