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 | 9ec884ceb90e603a148cd1a4e0d0a15f8657479c (patch) | |
tree | 09ff247121df74ab391ccbaf386df4c129e6bd88 /python/python3-hatch-nodejs-version | |
parent | 7a3355a214f35952e6da7094ede3a07f2abf694d (diff) |
python/python3-hatch-nodejs-version: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-hatch-nodejs-version')
-rw-r--r-- | python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild b/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild index b3eb0e60f0..c941609e57 100644 --- a/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.SlackBuild +++ b/python/python3-hatch-nodejs-version/python3-hatch-nodejs-version.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 --no-isolation python3 -m installer -d "$PKG" dist/*.whl |