diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:29 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:04 +0700 |
commit | 25e261c19cac0850210062852de9e707d50011bd (patch) | |
tree | 025dc1df00749aa252e90e55ce285bf882c19525 /python/python3-aiofiles/python3-aiofiles.SlackBuild | |
parent | fbd793d6070e1aadeccebd7597f37f9853dd76c5 (diff) |
python/python3-aiofiles: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-aiofiles/python3-aiofiles.SlackBuild')
-rw-r--r-- | python/python3-aiofiles/python3-aiofiles.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-aiofiles/python3-aiofiles.SlackBuild b/python/python3-aiofiles/python3-aiofiles.SlackBuild index 7ca0edefab..30901cbdbd 100644 --- a/python/python3-aiofiles/python3-aiofiles.SlackBuild +++ b/python/python3-aiofiles/python3-aiofiles.SlackBuild @@ -77,6 +77,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 --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |