From dff549c070950e1e2fafc2664448cfab42a44561 Mon Sep 17 00:00:00 2001 From: Audrius Kažukauskas Date: Sun, 28 Jul 2013 11:23:38 -0500 Subject: python/pip: Updated for version 1.4. Signed-off-by: Erik Hanson --- python/pip/pip.SlackBuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'python/pip/pip.SlackBuild') diff --git a/python/pip/pip.SlackBuild b/python/pip/pip.SlackBuild index 3c201a2630..be450bd618 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 -- cgit v1.2.3-80-g2a13