aboutsummaryrefslogtreecommitdiff
path: root/python/python3-jsonschema/python3-jsonschema.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-09 11:04:54 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:36:58 +0700
commit0672f3285cb05d4eb2ef5ea6037d86d732e5b03e (patch)
tree5a50acb7ca3cbc3882fbb27101c71e711c93102b /python/python3-jsonschema/python3-jsonschema.SlackBuild
parent2a1a2937ec4b0d5e995f7e67191c559f1e4700ed (diff)
python/python3-jsonschema: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-jsonschema/python3-jsonschema.SlackBuild')
-rw-r--r--python/python3-jsonschema/python3-jsonschema.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-jsonschema/python3-jsonschema.SlackBuild b/python/python3-jsonschema/python3-jsonschema.SlackBuild
index 4e78831f1e..4bf776830c 100644
--- a/python/python3-jsonschema/python3-jsonschema.SlackBuild
+++ b/python/python3-jsonschema/python3-jsonschema.SlackBuild
@@ -67,6 +67,9 @@ 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
+
python3 -m build --no-isolation
python3 -m installer -d "$PKG" dist/*.whl