aboutsummaryrefslogtreecommitdiff
path: root/python/python3-click-option-group/python3-click-option-group.SlackBuild
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2025-04-15 19:39:43 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-04-19 23:05:44 +0700
commit5029c0d3da5115ce8f2adce1e264969f4925bd0b (patch)
tree9121de7ad1e017c2d4d88176159e9b8df041b3cb /python/python3-click-option-group/python3-click-option-group.SlackBuild
parent035d0537cbcb7bab0f80060451de0ff5cb2bf4a6 (diff)
python/python3-click-option-group: Version bump to 0.5.7
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-click-option-group/python3-click-option-group.SlackBuild')
-rw-r--r--python/python3-click-option-group/python3-click-option-group.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/python/python3-click-option-group/python3-click-option-group.SlackBuild b/python/python3-click-option-group/python3-click-option-group.SlackBuild
index 19535e3b4e..7c4f47ef9b 100644
--- a/python/python3-click-option-group/python3-click-option-group.SlackBuild
+++ b/python/python3-click-option-group/python3-click-option-group.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python3-click-option-group
-# Copyright 2024 Jeremy Hansen <jebrhansen+SBo@gmail.com>
+# Copyright 2024-2025 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-click-option-group
-VERSION=${VERSION:-0.5.6}
+VERSION=${VERSION:-0.5.7}
SRCNAM=${SRCNAM:-click-option-group}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,6 +62,11 @@ 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 {} \;
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
+
python3 -m build --wheel --no-isolation
python3 -m installer --destdir=$PKG dist/*.whl