[python] naming python3
This commit is contained in:
parent
6157905b6f
commit
bee9aeb2f7
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Generic python SlackBuild
|
# Generic python SlackBuild
|
||||||
|
|
||||||
# variables
|
# variables
|
||||||
TAG=${TAG:-pip_gwh}
|
TAG=${TAG:-pip3_gwh}
|
||||||
TMP=/tmp/$TAG
|
TMP=/tmp/$TAG
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
OUTPUT=/tmp
|
OUTPUT=/tmp
|
||||||
|
@ -23,7 +23,7 @@ mkdir -p $PKG
|
||||||
# installation
|
# installation
|
||||||
EXTRA=""
|
EXTRA=""
|
||||||
[ "x$VERSION" == "xpip" ] || EXTRA="==$VERSION"
|
[ "x$VERSION" == "xpip" ] || EXTRA="==$VERSION"
|
||||||
pip install --ignore-installed --root $PKG --no-deps $PRGNAM$EXTRA
|
pip3 install --ignore-installed --root $PKG --no-deps $PRGNAM$EXTRA
|
||||||
|
|
||||||
if [ -d $PKG/usr/share/man ]; then
|
if [ -d $PKG/usr/share/man ]; then
|
||||||
mv $PKG/usr/share/man $PKG/usr/
|
mv $PKG/usr/share/man $PKG/usr/
|
||||||
|
@ -60,4 +60,4 @@ EOF
|
||||||
# empaquetage
|
# empaquetage
|
||||||
cd $PKG
|
cd $PKG
|
||||||
rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la
|
rm -f $PKG/{,usr/}lib$(uname -m | grep -o 64)/*.la
|
||||||
/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/python-$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz
|
/sbin/makepkg --linkadd y --chown n --prepend $OUTPUT/python3-$PRGNAM-$(echo $VERSION | sed 's/-//g')-$ARCH-$BUILD$TAG.txz
|
||||||
|
|
Loading…
Reference in a new issue