From de39317a1bfbc01ee392bcb05dba1eae166237eb Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Thu, 26 Jun 2025 21:40:50 -0600 Subject: development/python3-numpy: Fix for new builds. Updating with maintainer permission. Fix required because of python3-pyproject-metadata upgrade. BUILD number not bumped as only fresh builds are affected. Signed-off-by: Willy Sudiarto Raharjo --- development/python3-numpy/python3-numpy.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'development/python3-numpy/python3-numpy.SlackBuild') diff --git a/development/python3-numpy/python3-numpy.SlackBuild b/development/python3-numpy/python3-numpy.SlackBuild index 0c2a8d6ec7..37fda0775c 100644 --- a/development/python3-numpy/python3-numpy.SlackBuild +++ b/development/python3-numpy/python3-numpy.SlackBuild @@ -57,6 +57,9 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} PYVER=${PYVER:-$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')} +# 46and2: needed to fix issue caused by python3-pyproject-metadata 0.9.1 upgrade +# newer python3-packaging-opt needs to be used +export PYTHONPATH=/opt/python$PYVER/site-packages which python$PYVER 2>/dev/null 1>/dev/null [ "$?" = "0" ] || { echo "Can't find python$PYVER. Exiting now ..." -- cgit v1.2.3