mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
academic/python3-scipy: Fix for upgraded python3-mesonpy.
With the go ahead from Jeremy. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
77165ea295
commit
b125aad7d4
1 changed files with 5 additions and 2 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue