diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template index e0e0fdec2aa..c5a8e1f212b 100644 --- a/srcpkgs/python3-scipy/template +++ b/srcpkgs/python3-scipy/template @@ -8,12 +8,12 @@ hostmakedepends="python3-build python3-installer python3-meson-python python3-wheel python3-Cython python3-pybind11 pythran python3-numpy gcc-fortran pkg-config" makedepends="python3-devel python3-pybind11 python3-numpy pythran - $(vopt_if openblas openblas-devel lapack-devel)" + $(vopt_if openblas openblas-devel "lapack-devel cblas-devel")" depends="python3-numpy" short_desc="Scientific library for Python3" maintainer="Andrew J. Hesford " license="BSD-3-Clause" -homepage="https://scipy.org/scipylib/" +homepage="https://scipy.org/" distfiles="${PYPI_SITE}/s/scipy/scipy-${version}.tar.gz" checksum=f9b0248cb9d08eead44cde47cbf6339f1e9aa0dfde28f5fb27950743e317bd5d make_check="no" # Tests need an installed copy to run and meson makes this tough @@ -43,6 +43,8 @@ if [ "$build_option_openblas" ]; then ppc64*) ;; ppc*) broken="numpy can't be built with openblas";; esac +else + configure_args+=" -Dblas=blas -Dlapack=lapack" fi pre_patch() {