diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2025-06-26 21:40:50 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-07-05 09:09:27 +0700 |
commit | de39317a1bfbc01ee392bcb05dba1eae166237eb (patch) | |
tree | 8b0922d1f3c9e67cb8ac2de3df47d63633bc9fce /development/python3-numpy/python3-numpy.SlackBuild | |
parent | 62d9300d3cfb72570559caf97ad3d6358b76f4a1 (diff) |
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 <willysr@slackbuilds.org>
Diffstat (limited to 'development/python3-numpy/python3-numpy.SlackBuild')
-rw-r--r-- | development/python3-numpy/python3-numpy.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
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 ..." |