aboutsummaryrefslogtreecommitdiff
path: root/python/python3-virtualenv
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2024-04-17 17:03:23 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-19 21:40:30 +0700
commit565922cefc697c9a38c2b0080947931191aea2dc (patch)
tree3386c0ad0e0f02e45a0054bd7e49745d7c977493 /python/python3-virtualenv
parent064b5f54a1f06c8288b597f81da75d950bd9d961 (diff)
python/python3-virtualenv: Version bump to 20.25.3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-virtualenv')
-rw-r--r--python/python3-virtualenv/python3-virtualenv.SlackBuild17
-rw-r--r--python/python3-virtualenv/python3-virtualenv.info6
2 files changed, 7 insertions, 16 deletions
diff --git a/python/python3-virtualenv/python3-virtualenv.SlackBuild b/python/python3-virtualenv/python3-virtualenv.SlackBuild
index cec916c9ba94..281c4bb62d26 100644
--- a/python/python3-virtualenv/python3-virtualenv.SlackBuild
+++ b/python/python3-virtualenv/python3-virtualenv.SlackBuild
@@ -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
diff --git a/python/python3-virtualenv/python3-virtualenv.info b/python/python3-virtualenv/python3-virtualenv.info
index 688d913051cd..85b3e59c0d42 100644
--- a/python/python3-virtualenv/python3-virtualenv.info
+++ b/python/python3-virtualenv/python3-virtualenv.info
@@ -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"