diff options
author | Jeremy Hansen <jebrhansen+github@gmail.com> | 2024-04-17 17:03:23 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-19 21:40:30 +0700 |
commit | 565922cefc697c9a38c2b0080947931191aea2dc (patch) | |
tree | 3386c0ad0e0f02e45a0054bd7e49745d7c977493 /python/python3-virtualenv/python3-virtualenv.SlackBuild | |
parent | 064b5f54a1f06c8288b597f81da75d950bd9d961 (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/python3-virtualenv.SlackBuild')
-rw-r--r-- | python/python3-virtualenv/python3-virtualenv.SlackBuild | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/python/python3-virtualenv/python3-virtualenv.SlackBuild b/python/python3-virtualenv/python3-virtualenv.SlackBuild index cec916c9ba..281c4bb62d 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 |