diff options
Diffstat (limited to 'academic/python3-scipy')
-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 ad2e8f43a713..eb9d3e9fe772 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/ |