diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-09 12:26:33 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:36:59 +0700 |
commit | 8bbb7a14778341b1119be4c4bc2bba76f19b0075 (patch) | |
tree | e7edf92cf844fc0da96d5e0bec77d9d2d641711f /libraries | |
parent | 98ed743dfee71f3732b12abbe778f45d55ee31e8 (diff) |
libraries/pylast: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/pylast/pylast.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/pylast/pylast.SlackBuild b/libraries/pylast/pylast.SlackBuild index fac2e7f173c43..535442af161da 100644 --- a/libraries/pylast/pylast.SlackBuild +++ b/libraries/pylast/pylast.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 |