From bc112565c7e68b77a3f1e6b822480beb74d7cf53 Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Tue, 10 Sep 2024 05:10:35 -0600 Subject: python/python3-filelock: Fix for new hatchling. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-filelock/python3-filelock.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'python/python3-filelock/python3-filelock.SlackBuild') diff --git a/python/python3-filelock/python3-filelock.SlackBuild b/python/python3-filelock/python3-filelock.SlackBuild index c016f5e9b8..c308ac4925 100644 --- a/python/python3-filelock/python3-filelock.SlackBuild +++ b/python/python3-filelock/python3-filelock.SlackBuild @@ -66,6 +66,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 -- cgit v1.2.3