From b16efb3c72d8be0c77eb7c2ef7aa6964cf9701c1 Mon Sep 17 00:00:00 2001 From: Neel Chotai Date: Thu, 21 May 2020 22:58:03 +0100 Subject: [PATCH] python3-scipy: update to 1.4.1 --- srcpkgs/python3-scipy/patches/musl.patch | 24 ++++++++++++++++++++++++ srcpkgs/python3-scipy/template | 11 +++++------ 2 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/python3-scipy/patches/musl.patch diff --git a/srcpkgs/python3-scipy/patches/musl.patch b/srcpkgs/python3-scipy/patches/musl.patch new file mode 100644 index 00000000000..86633576797 --- /dev/null +++ b/srcpkgs/python3-scipy/patches/musl.patch @@ -0,0 +1,24 @@ +From ca790a5237dbbf7dc48396a6851576274383eda5 Mon Sep 17 00:00:00 2001 +From: Neel Chotai +Date: Mon, 1 Jun 2020 22:47:38 +0100 +Subject: [PATCH] fix musl compilation + +--- + scipy/optimize/rectangular_lsap/rectangular_lsap.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/scipy/optimize/rectangular_lsap/rectangular_lsap.cpp b/scipy/optimize/rectangular_lsap/rectangular_lsap.cpp +index 9bb930d23..81930f34e 100644 +--- scipy/optimize/rectangular_lsap/rectangular_lsap.cpp ++++ scipy/optimize/rectangular_lsap/rectangular_lsap.cpp +@@ -44,6 +44,7 @@ Author: PM Larsen + #include + #include "rectangular_lsap.h" + #include ++#include + + static int + augmenting_path(int nc, std::vector& cost, std::vector& u, +-- +2.26.2 + diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template index 139e9b1dfe0..7961107ed52 100644 --- a/srcpkgs/python3-scipy/template +++ b/srcpkgs/python3-scipy/template @@ -1,13 +1,12 @@ # Template file for 'python3-scipy' pkgname=python3-scipy -version=1.3.2 -revision=2 +version=1.4.1 +revision=1 wrksrc="scipy-${version}" build_style=python3-module -pycompile_module="scipy" make_check_args="--force" -hostmakedepends="python3-setuptools python3-Cython gcc-fortran" -makedepends="python3-devel python3-numpy lapack-devel" +hostmakedepends="python3-setuptools python3-Cython gcc-fortran python3-pybind11" +makedepends="python3-devel python3-numpy lapack-devel openblas-devel" depends="python3-numpy" checkdepends="python3-nose" short_desc="Scientific library for Python3" @@ -15,7 +14,7 @@ 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=1d2f09bcb6c4b66a65d9f49d21fa065f5396c940edac8285b87947b8d21b55f8 +checksum=037e649b39b614c37f74ad4b8711bedb89b4f31385ce90716903c31140467173 nocross="https://build.voidlinux.org/builders/aarch64_builder/builds/24733/steps/shell_3/logs/stdio"