mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
python3-scipy: fix homepage, builds without openblas
This commit is contained in:
parent
ababcfc506
commit
3c714fe17d
1 changed files with 4 additions and 2 deletions
|
@ -8,12 +8,12 @@ hostmakedepends="python3-build python3-installer python3-meson-python
|
||||||
python3-wheel python3-Cython python3-pybind11 pythran python3-numpy
|
python3-wheel python3-Cython python3-pybind11 pythran python3-numpy
|
||||||
gcc-fortran pkg-config"
|
gcc-fortran pkg-config"
|
||||||
makedepends="python3-devel python3-pybind11 python3-numpy pythran
|
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"
|
depends="python3-numpy"
|
||||||
short_desc="Scientific library for Python3"
|
short_desc="Scientific library for Python3"
|
||||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://scipy.org/scipylib/"
|
homepage="https://scipy.org/"
|
||||||
distfiles="${PYPI_SITE}/s/scipy/scipy-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/s/scipy/scipy-${version}.tar.gz"
|
||||||
checksum=f9b0248cb9d08eead44cde47cbf6339f1e9aa0dfde28f5fb27950743e317bd5d
|
checksum=f9b0248cb9d08eead44cde47cbf6339f1e9aa0dfde28f5fb27950743e317bd5d
|
||||||
make_check="no" # Tests need an installed copy to run and meson makes this tough
|
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*) ;;
|
ppc64*) ;;
|
||||||
ppc*) broken="numpy can't be built with openblas";;
|
ppc*) broken="numpy can't be built with openblas";;
|
||||||
esac
|
esac
|
||||||
|
else
|
||||||
|
configure_args+=" -Dblas=blas -Dlapack=lapack"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_patch() {
|
pre_patch() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue