diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:45 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:07 +0700 |
commit | edb3483ab704375e4d95aca1f9a5f38f8fd80a8c (patch) | |
tree | 23833ec5ffaf257b1221dfbe5dcafdb0c3bb6532 /python | |
parent | ecbc0e0cdb9e59f7c94e29bbd734dce88581794e (diff) |
python/python3-terminado: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-terminado/python3-terminado.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-terminado/python3-terminado.SlackBuild b/python/python3-terminado/python3-terminado.SlackBuild index b45eab1fa67f8..23e6bb7a1c519 100644 --- a/python/python3-terminado/python3-terminado.SlackBuild +++ b/python/python3-terminado/python3-terminado.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 |