diff options
Diffstat (limited to 'python/python3-validators/python3-validators.SlackBuild')
-rw-r--r-- | python/python3-validators/python3-validators.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
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 |