aboutsummaryrefslogtreecommitdiff
path: root/academic/python3-scipy
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2023-12-21 10:03:27 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-22 08:00:22 +0700
commitb125aad7d4ec72677c21b686ec642733bb898646 (patch)
tree1f09c5149af60e21735042dbceabdbda5e660f2a /academic/python3-scipy
parent77165ea295c5bea837395cc6958c214fc6ed3214 (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/python3-scipy')
-rw-r--r--academic/python3-scipy/python3-scipy.SlackBuild7
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/