python/pip: Remove Python3 support.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Audrius Kažukauskas 2014-03-31 09:17:06 +07:00 committed by Willy Sudiarto Raharjo
parent 68f90841b5
commit c915382fe3

View file

@ -24,7 +24,7 @@
PRGNAM=pip
VERSION=${VERSION:-1.5.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -57,11 +57,6 @@ find -L . \
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