From 5029c0d3da5115ce8f2adce1e264969f4925bd0b Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Tue, 15 Apr 2025 19:39:43 -0700 Subject: python/python3-click-option-group: Version bump to 0.5.7 Signed-off-by: Willy Sudiarto Raharjo --- .../python3-click-option-group.SlackBuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'python/python3-click-option-group/python3-click-option-group.SlackBuild') 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 +# Copyright 2024-2025 Jeremy Hansen # 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 -- cgit v1.2.3