diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template index 25702178dea..ff611661243 100644 --- a/srcpkgs/python3-scipy/template +++ b/srcpkgs/python3-scipy/template @@ -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() {