mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/python3-virtualenv: Version bump to 20.25.3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
064b5f54a1
commit
565922cefc
2 changed files with 7 additions and 16 deletions
|
@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=python3-virtualenv
|
||||
SRCNAM=virtualenv
|
||||
VERSION=${VERSION:-20.25.1}
|
||||
VERSION=${VERSION:-20.25.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -49,18 +49,6 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
LIBDIRSUFFIX="64"
|
||||
elif [ "$ARCH" = "aarch64" ]; then
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -eu
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -76,7 +64,10 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix version detection
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
|
||||
|
||||
# Use newer python packages in /opt/
|
||||
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
|
||||
export PYTHONPATH=/opt/python$PYVER/site-packages
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="python3-virtualenv"
|
||||
VERSION="20.25.1"
|
||||
VERSION="20.25.3"
|
||||
HOMEPAGE="https://virtualenv.pypa.io/"
|
||||
DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.25.1/virtualenv-20.25.1.tar.gz"
|
||||
MD5SUM="cfed91a0c468d50ffc3efeb51da3d0d5"
|
||||
DOWNLOAD="https://github.com/pypa/virtualenv/archive/20.25.3/virtualenv-20.25.3.tar.gz"
|
||||
MD5SUM="da8e76f886f9d6e93048071c16e96b55"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3-setuptools-scm-opt python3-distlib python3-filelock python3-platformdirs"
|
||||
|
|
Loading…
Reference in a new issue