mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
python/pip: Remove Python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
68f90841b5
commit
c915382fe3
1 changed files with 1 additions and 6 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=pip
|
PRGNAM=pip
|
||||||
VERSION=${VERSION:-1.5.4}
|
VERSION=${VERSION:-1.5.4}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -57,11 +57,6 @@ find -L . \
|
||||||
|
|
||||||
python setup.py install --root=$PKG
|
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.
|
# Add bash completion file.
|
||||||
install -D -m 644 $CWD/pip.sh $PKG/usr/share/bash-completion/completions/pip
|
install -D -m 644 $CWD/pip.sh $PKG/usr/share/bash-completion/completions/pip
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue