diff --git a/dev-python/scipy/scipy-1.15.1.recipe b/dev-python/scipy/scipy-1.15.1.recipe index 297d6ceda..5523e4994 100644 --- a/dev-python/scipy/scipy-1.15.1.recipe +++ b/dev-python/scipy/scipy-1.15.1.recipe @@ -9,7 +9,7 @@ HOMEPAGE="https://www.scipy.org/" COPYRIGHT=" 2001-2002 Enthought, Inc. 2003-2025 SciPy Developers" LICENSE="BSD (3-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="https://files.pythonhosted.org/packages/source/s/scipy/scipy-$portVersion.tar.gz" CHECKSUM_SHA256="033a75ddad1463970c96a88063a1df87ccfddd526437136b6ee81ff0312ebdf6" SOURCE_DIR="scipy-$portVersion" @@ -24,14 +24,12 @@ REQUIRES=" haiku$secondaryArchSuffix gcc${secondaryArchSuffix}_syslibs # for libgfortran.so.5 and libstdc++.so.6 # lib:libarpack$secondaryArchSuffix # has embedded fallback under scipy/sparse/linalg/eigen/arpack/ARPACK - lib:liblapack$secondaryArchSuffix lib:libopenblas$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel # devel:libarpack$secondaryArchSuffix - devel:liblapack$secondaryArchSuffix devel:libopenblas$secondaryArchSuffix " @@ -82,12 +80,7 @@ BUILD() { rm -rf doc/sphinxext/.git - # Note: ATM, lapack and openblas packages over HaikuPorts are used to provide - # LAPACK and BLAS respectively (with BLAS disabled in lapack, and LAPACK disabled - # on openblas). - # Thus, we need to instruct the build to look for "-Dlapack=lapack" (instead of - # expecting it to be in bopenblas). - # That might change that in the future, and we could make scipy only rely on openblas. + # Note: lapack is now included in openblas and obsolete as a dependency for i in "${!PYTHON_VERSIONS[@]}"; do pythonVersion=${PYTHON_VERSIONS[$i]} @@ -96,7 +89,7 @@ BUILD() $python -m build --wheel --skip-dependency-check --no-isolation \ -Ccompile-args=$jobArgs \ -Csetup-args="-Duse-pythran=false" \ - -Csetup-args="-Dlapack=lapack" \ + -Csetup-args="-Dlapack=openblas" \ -Cbuilddir="build" # Using a explicit build dir here to stop meson from auto-cleaning it on error. # (this way you can actually access meson-log.txt if needed).