summaryrefslogtreecommitdiffstats
path: root/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild
diff options
context:
space:
mode:
author fourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-10 05:10:29 -0600
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:37:04 +0700
commit86b74b54c27852323c12bc750b8c374ae3563bcc (patch)
tree27ef1f00f04c6f2ec0ccb42c92b9691c6852e33a /python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild
parent25e261c19cac0850210062852de9e707d50011bd (diff)
downloadslackbuilds-86b74b54c27852323c12bc750b8c374ae3563bcc.tar.gz
slackbuilds-86b74b54c27852323c12bc750b8c374ae3563bcc.tar.xz
python/python3-argon2-cffi: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild b/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild
index eca4d0b459..0330792f14 100644
--- a/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild
+++ b/python/python3-argon2-cffi/python3-argon2-cffi.SlackBuild
@@ -67,6 +67,9 @@ find -L . \
export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
+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