summaryrefslogtreecommitdiffstats
path: root/python/python3-filelock/python3-filelock.SlackBuild
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-10 05:10:35 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:37:05 +0700
commitbc112565c7e68b77a3f1e6b822480beb74d7cf53 (patch)
tree3c02e40154cd8066301edddb1eef4c3cd8e145a3 /python/python3-filelock/python3-filelock.SlackBuild
parent2634fd515cc6208eb66a30712fac54252c30f5b4 (diff)
downloadslackbuilds-bc112565c7e68b77a3f1e6b822480beb74d7cf53.tar.gz
slackbuilds-bc112565c7e68b77a3f1e6b822480beb74d7cf53.tar.xz
python/python3-filelock: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--python/python3-filelock/python3-filelock.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-filelock/python3-filelock.SlackBuild b/python/python3-filelock/python3-filelock.SlackBuild
index c016f5e9b8..c308ac4925 100644
--- a/python/python3-filelock/python3-filelock.SlackBuild
+++ b/python/python3-filelock/python3-filelock.SlackBuild
@@ -66,6 +66,9 @@ find -L . \
export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
+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