From 2af86c8c6a05a3fc27218e306210daefbc22352a Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Sun, 31 Mar 2024 11:33:42 -0600 Subject: python/python3-Flask-Security-Too: Fix PYTHONPATH. Signed-off-by: Willy Sudiarto Raharjo --- .../python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild') diff --git a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild index 6ffe67803d..39f933090a 100644 --- a/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild +++ b/python/python3-Flask-Security-Too/python3-Flask-Security-Too.SlackBuild @@ -68,7 +68,8 @@ find -L . \ sed -i '/importlib_resources/ s/5\.10/5.1/' pyproject.toml sed -i '/markupsafe/ s/2\.1\.0/2.0.1/' pyproject.toml -export PYTHONPATH=/opt/python3.9/site-packages/ +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