aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2023-09-11 12:52:12 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-17 00:10:30 +0700
commit5df7826f48c8eefc2a5ec39d6673dce3a1d89b92 (patch)
tree15d075ecfbedab256d03e30c2b577142ef088e74 /python
parent350b88c169c687dbf05b4ce0bf030637cacab58d (diff)
python/python3-validators: Updated for version 0.22.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-validators/python3-validators.SlackBuild6
-rw-r--r--python/python3-validators/python3-validators.info8
2 files changed, 9 insertions, 5 deletions
diff --git a/python/python3-validators/python3-validators.SlackBuild b/python/python3-validators/python3-validators.SlackBuild
index 324500339d0e4..29223390a027f 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
diff --git a/python/python3-validators/python3-validators.info b/python/python3-validators/python3-validators.info
index 90b9026f8b3d4..5aa9225d48a90 100644
--- a/python/python3-validators/python3-validators.info
+++ b/python/python3-validators/python3-validators.info
@@ -1,10 +1,10 @@
PRGNAM="python3-validators"
-VERSION="0.21.1"
+VERSION="0.22.0"
HOMEPAGE="https://github.com/python-validators/validators"
-DOWNLOAD="https://github.com/python-validators/validators/archive/refs/tags/0.21.1/validators-0.21.1.tar.gz"
-MD5SUM="7fdeb42b35b2d13b8571d47045df655e"
+DOWNLOAD="https://github.com/python-validators/validators/archive/refs/tags/0.22.0/validators-0.22.0.tar.gz"
+MD5SUM="7102ab3970cb039fe6e2b62de0dd8925"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-poetry-core"
+REQUIRES="python3-poetry-core python3-setuptools-opt"
MAINTAINER="Jeremy Hansen"
EMAIL="jebrhansen+SBo@gmail.com"