From eed5ec70fdbee1634900a87d39ca2a84d59ef158 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 4 Jan 2021 14:01:05 -0500 Subject: [PATCH] python3-scipy: update to 1.6.0. --- srcpkgs/python3-scipy/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template index 13fbda59749..04b11c62dfe 100644 --- a/srcpkgs/python3-scipy/template +++ b/srcpkgs/python3-scipy/template @@ -1,6 +1,6 @@ # Template file for 'python3-scipy' pkgname=python3-scipy -version=1.5.4 +version=1.6.0 revision=1 wrksrc="scipy-${version}" build_style=python3-module @@ -10,13 +10,13 @@ hostmakedepends="gcc-fortran python3-setuptools python3-Cython python3-pybind11" makedepends="python3-devel python3-pybind11 $(vopt_if openblas openblas-devel lapack-devel)" depends="python3-numpy" -checkdepends="python3-nose" +checkdepends="python3-pytest" short_desc="Scientific library for Python3" maintainer="Alessio Sergi " license="BSD-3-Clause" homepage="https://scipy.org/scipylib/" distfiles="https://github.com/scipy/scipy/releases/download/v${version}/scipy-${version}.tar.xz" -checksum=5c87347bfe2db6e23d391aa226584f6b280248c0ca71e08f26f1faf9d7a76bc9 +checksum=dd06d02e8ac6e13e973cbab3da63888daf26a4fec1cd8a8d0804ec872864a7f5 build_options="openblas" desc_option_openblas="Enable support for openblas accelerated linear algebra" @@ -48,6 +48,10 @@ pre_build() { done } +do_check() { + python3 ./runtests.py --verbose +} + post_install() { rm ${DESTDIR}/${py3_sitelib}/scipy/*.txt vlicense LICENSE.txt