diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2023-12-21 10:03:27 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-22 08:00:22 +0700 |
commit | b125aad7d4ec72677c21b686ec642733bb898646 (patch) | |
tree | 1f09c5149af60e21735042dbceabdbda5e660f2a /academic | |
parent | 77165ea295c5bea837395cc6958c214fc6ed3214 (diff) |
academic/python3-scipy: Fix for upgraded python3-mesonpy.
With the go ahead from Jeremy.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/python3-scipy/python3-scipy.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/python3-scipy/python3-scipy.SlackBuild b/academic/python3-scipy/python3-scipy.SlackBuild index ad2e8f43a713f..eb9d3e9fe7720 100644 --- a/academic/python3-scipy/python3-scipy.SlackBuild +++ b/academic/python3-scipy/python3-scipy.SlackBuild @@ -68,14 +68,17 @@ chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ # Allow our version of pybind11 and numpy to work sed -i 's|<2.11.1|<=2.11.1|' pyproject.toml sed -i 's|numpy==1.21.6|numpy>=1.21.6|' pyproject.toml +# Remove upper limit for meson-python +sed -i '/meson-python>/ {s/,<0.15.0//}' pyproject.toml + # needs newer meson export PYTHONPATH=/opt/python3.9/site-packages/ |