From ba48b442854d43ff4cd9accf4eb959fe0c8b251d Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Wed, 22 May 2024 10:09:21 -0400 Subject: [PATCH] python3-scipy: drop patches, just ignore dependency checks --- .../python3-scipy/patches/version-relaxation.patch | 13 ------------- srcpkgs/python3-scipy/template | 3 ++- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 srcpkgs/python3-scipy/patches/version-relaxation.patch diff --git a/srcpkgs/python3-scipy/patches/version-relaxation.patch b/srcpkgs/python3-scipy/patches/version-relaxation.patch deleted file mode 100644 index d36aa0fd961..00000000000 --- a/srcpkgs/python3-scipy/patches/version-relaxation.patch +++ /dev/null @@ -1,13 +0,0 @@ -SciPy imposes strict and unnecessary version restrictions on its dependencies. - ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -35,7 +35,7 @@ - # and disabling build isolation. - # 3. The <2.3 upper bound is for matching the numpy deprecation policy, - # it should not be loosened. -- "numpy>=2.0.0rc1,<2.3", -+ "numpy", - ] - - [project] diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template index 4e05ecdaf32..5e16fb22671 100644 --- a/srcpkgs/python3-scipy/template +++ b/srcpkgs/python3-scipy/template @@ -4,7 +4,8 @@ version=1.13.0 revision=1 build_style=python3-pep517 build_helper="meson numpy" -make_build_args=" +# SciPy imposes strict and unnecessary restrictions on build dependencies +make_build_args="--skip-dependency-check $(vopt_if openblas "" "-Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack") " hostmakedepends="python3-meson-python python3-Cython python3-pybind11