diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:51 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:08 +0700 |
commit | f1672883c3be037f36aee9d9b3982b75e16660d9 (patch) | |
tree | f2c20aef13ad8c5c1055b7790f30ba3850e4ed06 /python | |
parent | aa89af6057ebd191ec12ab5ab8864412c7d76cc5 (diff) |
python/python3-twisted: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-twisted/python3-twisted.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-twisted/python3-twisted.SlackBuild b/python/python3-twisted/python3-twisted.SlackBuild index ae16aff15b3b..89962ae5461f 100644 --- a/python/python3-twisted/python3-twisted.SlackBuild +++ b/python/python3-twisted/python3-twisted.SlackBuild @@ -86,6 +86,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 |