summaryrefslogtreecommitdiffstats
path: root/python/python3-comm/python3-comm.SlackBuild
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-10 05:10:34 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:37:05 +0700
commit6d143406ccdec7000444f904ad98f43e43b51f8c (patch)
treece28b97f26743f039fda48268d0caeeece20fd78 /python/python3-comm/python3-comm.SlackBuild
parent15f5584af01eb54ae82a06f01ba4de4c9396d6bc (diff)
downloadslackbuilds-6d143406ccdec7000444f904ad98f43e43b51f8c.tar.gz
slackbuilds-6d143406ccdec7000444f904ad98f43e43b51f8c.tar.xz
python/python3-comm: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--python/python3-comm/python3-comm.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-comm/python3-comm.SlackBuild b/python/python3-comm/python3-comm.SlackBuild
index 7bcfbf092a..ba30537e1c 100644
--- a/python/python3-comm/python3-comm.SlackBuild
+++ b/python/python3-comm/python3-comm.SlackBuild
@@ -78,6 +78,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