diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:37 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:06 +0700 |
commit | 7a3355a214f35952e6da7094ede3a07f2abf694d (patch) | |
tree | 902bf455ad816897634faa50adfd42f4f47c46cc /python | |
parent | 98a9f7c7687890f01d5428689153de7f1dbfc85b (diff) |
python/python3-flufl.lock: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python3-flufl.lock/python3-flufl.lock.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-flufl.lock/python3-flufl.lock.SlackBuild b/python/python3-flufl.lock/python3-flufl.lock.SlackBuild index 0058747d56f3f..eac85e5c37821 100644 --- a/python/python3-flufl.lock/python3-flufl.lock.SlackBuild +++ b/python/python3-flufl.lock/python3-flufl.lock.SlackBuild @@ -59,6 +59,9 @@ cd $SRCNAM-$VERSION chown -R root:root . find -L . \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) -exec chmod 755 {} \; -o \( -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 |