aboutsummaryrefslogtreecommitdiff
path: root/python/python3-click-option-group
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-click-option-group')
-rw-r--r--python/python3-click-option-group/python3-click-option-group.SlackBuild9
-rw-r--r--python/python3-click-option-group/python3-click-option-group.info8
2 files changed, 11 insertions, 6 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
diff --git a/python/python3-click-option-group/python3-click-option-group.info b/python/python3-click-option-group/python3-click-option-group.info
index d702cb9596..43b0d102f6 100644
--- a/python/python3-click-option-group/python3-click-option-group.info
+++ b/python/python3-click-option-group/python3-click-option-group.info
@@ -1,10 +1,10 @@
PRGNAM="python3-click-option-group"
-VERSION="0.5.6"
+VERSION="0.5.7"
HOMEPAGE="https://click-option-group.readthedocs.io/"
-DOWNLOAD="https://github.com/click-contrib/click-option-group/archive/refs/tags/v0.5.6/click-option-group-0.5.6.tar.gz"
-MD5SUM="f2ed15717ad729d99491ba8d14b279a8"
+DOWNLOAD="https://github.com/click-contrib/click-option-group/archive/refs/tags/v0.5.7/click-option-group-0.5.7.tar.gz"
+MD5SUM="11d5266bd4a2296bf96abc3ed7085de0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="click python3-hatchling"
+REQUIRES="click python3-hatch_vcs"
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"