diff options
| author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:41 -0600 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:06 +0700 |
| commit | db246c36be05cc1bb4378b0b370dfd9ca485fdc0 (patch) | |
| tree | 56b5c188ca3bc0ce31e285cac64f80a79099b838 /python | |
| parent | 020d4113db6de4905f4705d474be6ef48c105a83 (diff) | |
python/python3-iniconfig: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
| -rw-r--r-- | python/python3-iniconfig/python3-iniconfig.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-iniconfig/python3-iniconfig.SlackBuild b/python/python3-iniconfig/python3-iniconfig.SlackBuild index 8a0a187ea7..627971c624 100644 --- a/python/python3-iniconfig/python3-iniconfig.SlackBuild +++ b/python/python3-iniconfig/python3-iniconfig.SlackBuild @@ -64,6 +64,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 |
