summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-10 05:10:44 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:37:07 +0700
commit21c5eb6eda638cf3fdcf07946209101c4c68fcb7 (patch)
tree8f7b8ce0334938c974e5eb594afa729da896814a /python
parentbc742a3c17a41284a544a7506db9ef4f245957dd (diff)
downloadslackbuilds-21c5eb6eda638cf3fdcf07946209101c4c68fcb7.tar.gz
slackbuilds-21c5eb6eda638cf3fdcf07946209101c4c68fcb7.tar.xz
python/python3-service-identity: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--python/python3-service-identity/python3-service-identity.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-service-identity/python3-service-identity.SlackBuild b/python/python3-service-identity/python3-service-identity.SlackBuild
index 3825d06e78..e16fad51d9 100644
--- a/python/python3-service-identity/python3-service-identity.SlackBuild
+++ b/python/python3-service-identity/python3-service-identity.SlackBuild
@@ -85,6 +85,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