[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
|
||||
|
||||
# variables
|
||||
TAG=${TAG:-pip_gwh}
|
||||
TAG=${TAG:-pip3_gwh}
|
||||
TMP=/tmp/$TAG
|
||||
CWD=$(pwd)
|
||||
OUTPUT=/tmp
|
||||
|
@ -23,7 +23,7 @@ mkdir -p $PKG
|
|||
# installation
|
||||
EXTRA=""
|
||||
[ "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
|
||||
mv $PKG/usr/share/man $PKG/usr/
|
||||
|
@ -60,4 +60,4 @@ EOF
|
|||
# empaquetage
|
||||
cd $PKG
|
||||
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