diff options
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 |
commit | bc112565c7e68b77a3f1e6b822480beb74d7cf53 (patch) | |
tree | 3c02e40154cd8066301edddb1eef4c3cd8e145a3 /python/python3-filelock/python3-filelock.SlackBuild | |
parent | 2634fd515cc6208eb66a30712fac54252c30f5b4 (diff) |
python/python3-filelock: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-filelock/python3-filelock.SlackBuild')
-rw-r--r-- | python/python3-filelock/python3-filelock.SlackBuild | 3 |
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 |