mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-scipy: update to 1.11.4.
This commit is contained in:
parent
28db6643e9
commit
90cde7211e
2 changed files with 7 additions and 20 deletions
|
@ -3,16 +3,15 @@ causes build failures against more up-to-date Void packages.
|
||||||
|
|
||||||
--- a/pyproject.toml
|
--- a/pyproject.toml
|
||||||
+++ b/pyproject.toml
|
+++ b/pyproject.toml
|
||||||
@@ -11,14 +11,14 @@
|
@@ -11,13 +11,13 @@
|
||||||
build-backend = 'mesonpy'
|
build-backend = 'mesonpy'
|
||||||
requires = [
|
requires = [
|
||||||
# Reason for `<`: future-proofing (0.14.0 released and known to work)
|
# Reason for `<`: future-proofing (0.14.0 released and known to work)
|
||||||
- "meson-python>=0.12.1,<0.15.0",
|
- "meson-python>=0.12.1,<0.15.0",
|
||||||
+ "meson-python>=0.12.1",
|
+ "meson-python>=0.12.1",
|
||||||
# Reason for `<`: we want to build the 1.11.x releases with Cython 0.29.x
|
# Reason for `<`: we want to build the 1.11.x releases with 0.29.x (too many changes in 3.0)
|
||||||
# (too many changes in 3.0)
|
|
||||||
- "Cython>=0.29.35,<3.0", # when updating version, also update check in meson.build
|
- "Cython>=0.29.35,<3.0", # when updating version, also update check in meson.build
|
||||||
+ "Cython>=0.29.35", # when updating version, also update check in meson.build
|
+ "Cython>=0.29.35",
|
||||||
# Reason for `<`: future-proofing (2.11.1 is the most recent version)
|
# Reason for `<`: future-proofing (2.11.1 is the most recent version)
|
||||||
- "pybind11>=2.10.4,<2.11.1",
|
- "pybind11>=2.10.4,<2.11.1",
|
||||||
+ "pybind11>=2.10.4",
|
+ "pybind11>=2.10.4",
|
||||||
|
@ -22,14 +21,3 @@ causes build failures against more up-to-date Void packages.
|
||||||
|
|
||||||
# NumPy dependencies - to update these, sync from
|
# NumPy dependencies - to update these, sync from
|
||||||
# https://github.com/scipy/oldest-supported-numpy/, and then
|
# https://github.com/scipy/oldest-supported-numpy/, and then
|
||||||
@@ -42,8 +42,8 @@
|
|
||||||
# however macOS was broken and it's safe C API/ABI-wise to build against 1.21.6
|
|
||||||
# (see oldest-supported-numpy issues gh-28 and gh-45)
|
|
||||||
"numpy==1.21.6; python_version=='3.10' and (platform_system!='Windows' and platform_machine!='loongarch64') and platform_python_implementation != 'PyPy'",
|
|
||||||
- "numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'",
|
|
||||||
- "numpy>=1.26.0,<1.27.0; python_version=='3.12'", # no `==` because we expect relevant bug fixes in 1.26.1/2
|
|
||||||
+ "numpy>=1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'",
|
|
||||||
+ "numpy>=1.26.0; python_version=='3.12'", # no `==` because we expect relevant bug fixes in 1.26.1/2
|
|
||||||
|
|
||||||
# For Python versions which aren't yet officially supported,
|
|
||||||
# we specify an unpinned NumPy which allows source distributions
|
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
# Template file for 'python3-scipy'
|
# Template file for 'python3-scipy'
|
||||||
pkgname=python3-scipy
|
pkgname=python3-scipy
|
||||||
version=1.11.3
|
version=1.11.4
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
build_helper="meson numpy"
|
build_helper="meson numpy"
|
||||||
make_build_args="
|
make_build_args="
|
||||||
$(vopt_if openblas "" "-Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack")
|
$(vopt_if openblas "" "-Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack")
|
||||||
"
|
"
|
||||||
hostmakedepends="python3-build python3-installer python3-meson-python
|
hostmakedepends="python3-meson-python python3-Cython python3-pybind11
|
||||||
python3-wheel python3-Cython python3-pybind11 pythran python3-numpy
|
pythran python3-numpy gcc-fortran pkg-config"
|
||||||
gcc-fortran pkg-config"
|
|
||||||
makedepends="python3-devel python3-pybind11 python3-numpy pythran
|
makedepends="python3-devel python3-pybind11 python3-numpy pythran
|
||||||
$(vopt_if openblas openblas-devel "lapack-devel cblas-devel")"
|
$(vopt_if openblas openblas-devel "lapack-devel cblas-devel")"
|
||||||
depends="python3-numpy"
|
depends="python3-numpy"
|
||||||
|
@ -18,7 +17,7 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://scipy.org/"
|
homepage="https://scipy.org/"
|
||||||
distfiles="${PYPI_SITE}/s/scipy/scipy-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/s/scipy/scipy-${version}.tar.gz"
|
||||||
checksum=bba4d955f54edd61899776bad459bf7326e14b9fa1c552181f0479cc60a568cd
|
checksum=90a2b78e7f5733b9de748f589f09225013685f9b218275257f8a8168ededaeaa
|
||||||
make_check="no" # Tests need an installed copy to run and meson makes this tough
|
make_check="no" # Tests need an installed copy to run and meson makes this tough
|
||||||
|
|
||||||
build_options="openblas"
|
build_options="openblas"
|
||||||
|
|
Loading…
Add table
Reference in a new issue