diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-09 10:57:13 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:36:57 +0700 |
commit | 2a1a2937ec4b0d5e995f7e67191c559f1e4700ed (patch) | |
tree | a7d7d792816e35baa4ff7fc111c064080dc484e9 | |
parent | 0a8a3f8d54618819b99184def3d5e45cbec1d9ba (diff) |
libraries/python3-plumbum: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/python3-plumbum/python3-plumbum.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/python3-plumbum/python3-plumbum.SlackBuild b/libraries/python3-plumbum/python3-plumbum.SlackBuild index e2e122d53b..cab20fcc1a 100644 --- a/libraries/python3-plumbum/python3-plumbum.SlackBuild +++ b/libraries/python3-plumbum/python3-plumbum.SlackBuild @@ -65,6 +65,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 |