mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
python3-scipy: update to 1.9.0.
This commit is contained in:
parent
716d5f6080
commit
2640e0c968
1 changed files with 8 additions and 11 deletions
|
@ -1,22 +1,23 @@
|
|||
# Template file for 'python3-scipy'
|
||||
pkgname=python3-scipy
|
||||
version=1.8.1
|
||||
version=1.9.0
|
||||
revision=1
|
||||
wrksrc="scipy-${version}"
|
||||
build_style=python3-module
|
||||
build_helper="numpy"
|
||||
make_check_args="--force"
|
||||
hostmakedepends="gcc-fortran python3-setuptools python3-Cython python3-pybind11"
|
||||
hostmakedepends="gcc-fortran python3-setuptools
|
||||
pythran python3-Cython python3-pybind11"
|
||||
makedepends="python3-devel python3-pybind11
|
||||
$(vopt_if openblas openblas-devel lapack-devel)"
|
||||
depends="python3-numpy"
|
||||
checkdepends="python3-pytest"
|
||||
checkdepends="python3-pytest-xdist"
|
||||
short_desc="Scientific library for Python3"
|
||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://scipy.org/scipylib/"
|
||||
distfiles="https://github.com/scipy/scipy/releases/download/v${version}/scipy-${version}.tar.xz"
|
||||
checksum=0140dd24d14ce194fdb3df496c2190f0896ca84ac98bf5d69c3b3fb7bde1a1e9
|
||||
distfiles="https://github.com/scipy/scipy/releases/download/v${version}/scipy-${version}.tar.gz"
|
||||
checksum=c0dfd7d2429452e7e94904c6a3af63cbaa3cf51b348bd9d35b42db7e9ad42791
|
||||
|
||||
build_options="openblas"
|
||||
|
||||
|
@ -35,14 +36,9 @@ if [ "$build_option_openblas" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
LDFLAGS+=" -shared"
|
||||
|
||||
# Tell numpy to build in parallel
|
||||
export NPY_NUM_BUILD_JOBS="${XBPS_MAKEJOBS}"
|
||||
|
||||
# Pythran isn't packaged, disable for now
|
||||
export SCIPY_USE_PYTHRAN=0
|
||||
|
||||
pre_build() {
|
||||
# Find the right linear algebra subroutines on the target arch
|
||||
: > site.cfg
|
||||
|
@ -58,7 +54,8 @@ pre_build() {
|
|||
}
|
||||
|
||||
do_check() {
|
||||
python3 ./runtests.py --verbose
|
||||
touch .coveragerc
|
||||
python3 ./runtests.py --verbose ${makejobs}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue