aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2023-03-13 17:38:18 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-14 09:18:22 +0700
commit7e411b155dba69079445415e39a0f0bda74100f2 (patch)
tree86b07525eec5f664a27f670457b82417e3975653 /python
parenteadf33a811ecd5a0bb4e0b8a0bcf4d7a6b1eb83b (diff)
python/python3-filelock: Fix setuptools-scm pretend version
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-filelock/python3-filelock.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/python3-filelock/python3-filelock.SlackBuild b/python/python3-filelock/python3-filelock.SlackBuild
index 2ed464b805304..ee728fa741131 100644
--- a/python/python3-filelock/python3-filelock.SlackBuild
+++ b/python/python3-filelock/python3-filelock.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-filelock
VERSION=${VERSION:-3.9.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,7 +78,7 @@ 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 {} \;
-export SETUPTOOLS_SCM_PRETEND_VERSION=6.3.2
+export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl