python/python3-virtualenv: Version bump to 20.25.3

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jeremy Hansen 2024-04-17 17:03:23 -07:00 committed by Willy Sudiarto Raharjo
parent 064b5f54a1
commit 565922cefc
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 16 deletions

View file

@ -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

View file

@ -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"