diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:27 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:04 +0700 |
commit | 7e61d0fda31e715c57bd01b0daa8e82be16eb065 (patch) | |
tree | ea3a43242d1c9992bcb3edc1d0d86b2fc4a7e1f1 | |
parent | 1a47992379afd1fb1b31583676c7f217bd493127 (diff) |
python/colorama: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/colorama/colorama.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/colorama/colorama.SlackBuild b/python/colorama/colorama.SlackBuild index a9a5720161f17..767f0c3fed455 100644 --- a/python/colorama/colorama.SlackBuild +++ b/python/colorama/colorama.SlackBuild @@ -79,6 +79,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 |