From 5df7826f48c8eefc2a5ec39d6673dce3a1d89b92 Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Mon, 11 Sep 2023 12:52:12 -0700 Subject: python/python3-validators: Updated for version 0.22.0. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- python/python3-validators/python3-validators.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python/python3-validators/python3-validators.SlackBuild') diff --git a/python/python3-validators/python3-validators.SlackBuild b/python/python3-validators/python3-validators.SlackBuild index 324500339d..29223390a0 100644 --- a/python/python3-validators/python3-validators.SlackBuild +++ b/python/python3-validators/python3-validators.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-validators -VERSION=${VERSION:-0.21.1} +VERSION=${VERSION:-0.22.0} SRCNAM=${SRCNAM:-validators} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -63,6 +63,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 {} \; +# Use newer, non-stock setuptools due to package requirements +# Requres python/python3-setuptools-opt build-time dependency +export PYTHONPATH=/opt/python3.9/site-packages/ + python3 -m build --wheel --no-isolation python3 -m installer --destdir=$PKG dist/*.whl -- cgit v1.2.3