diff options
| author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:28 -0600 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:04 +0700 |
| commit | fbd793d6070e1aadeccebd7597f37f9853dd76c5 (patch) | |
| tree | 9f14866b6af735aa719e4eaa49bf783b74415ecc /python | |
| parent | 815d243c546708ed88935b7c437ded771c3eff21 (diff) | |
python/humanize: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
| -rw-r--r-- | python/humanize/humanize.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/humanize/humanize.SlackBuild b/python/humanize/humanize.SlackBuild index 0fa2cb7577..8a8f5185d4 100644 --- a/python/humanize/humanize.SlackBuild +++ b/python/humanize/humanize.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 --no-isolation python3 -m installer -d "$PKG" dist/*.whl |
