From 3d6b914e700a65285277bfb9e135a1458348fa38 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 17 Jul 2023 13:18:36 -0400 Subject: [PATCH 1/3] python3-Cython: update to 3.0.0. --- srcpkgs/python3-Cython/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-Cython/template b/srcpkgs/python3-Cython/template index 2daf981d349b..77e5be64c24c 100644 --- a/srcpkgs/python3-Cython/template +++ b/srcpkgs/python3-Cython/template @@ -1,6 +1,6 @@ # Template file for 'python3-Cython' pkgname=python3-Cython -version=0.29.36 +version=3.0.0 revision=1 build_style=python3-module hostmakedepends="python3-setuptools" @@ -12,7 +12,7 @@ license="Apache-2.0" homepage="https://cython.org/" changelog="https://raw.githubusercontent.com/cython/cython/master/CHANGES.rst" distfiles="${PYPI_SITE}/C/Cython/Cython-${version}.tar.gz" -checksum=41c0cfd2d754e383c9eeb95effc9aa4ab847d0c9747077ddd7c0dcb68c3bc01f +checksum=350b18f9673e63101dbbfcf774ee2f57c20ac4636d255741d76ca79016b1bd82 # Tests are flaky make_check=no From 4eb52fe665def3f175ecb29e74a2b52d14736df9 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 17 Jul 2023 15:18:59 -0400 Subject: [PATCH 2/3] python3-scipy: patch and rebuild for python3-Cython-3.0.0 --- srcpkgs/python3-scipy/patches/cython-version.patch | 11 +++++++++++ srcpkgs/python3-scipy/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python3-scipy/patches/cython-version.patch diff --git a/srcpkgs/python3-scipy/patches/cython-version.patch b/srcpkgs/python3-scipy/patches/cython-version.patch new file mode 100644 index 000000000000..04f5d7264264 --- /dev/null +++ b/srcpkgs/python3-scipy/patches/cython-version.patch @@ -0,0 +1,11 @@ +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -11,7 +11,7 @@ + build-backend = 'mesonpy' + requires = [ + "meson-python>=0.12.1,<0.14.0", # already working with 0.13.x series at branch time +- "Cython>=0.29.35,<3.0", # when updating version, also update check in meson.build ++ "Cython>=0.29.35", + "pybind11>=2.10.4,<2.11.0", + "pythran>=0.12.0,<0.14.0", # already working with 0.13.x series at branch time + # `wheel` is needed for non-isolated builds, given that `meson-python` diff --git a/srcpkgs/python3-scipy/template b/srcpkgs/python3-scipy/template index eb7c7a3e0166..7cc9bcfbfa06 100644 --- a/srcpkgs/python3-scipy/template +++ b/srcpkgs/python3-scipy/template @@ -1,7 +1,7 @@ # Template file for 'python3-scipy' pkgname=python3-scipy version=1.11.1 -revision=1 +revision=2 build_style=meson build_helper="python3" configure_args="$(vopt_if openblas "" "-Dblas=blas -Dlapack=lapack")" From dc86c6cfbca7afeb00c46b8851269b0b2a0b1a4c Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 17 Jul 2023 16:11:36 -0400 Subject: [PATCH 3/3] python3-yaml: patch and rebuild for python3-Cython-3.0.0 --- srcpkgs/python3-yaml/patches/cython3.patch | 11 +++++++++++ srcpkgs/python3-yaml/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python3-yaml/patches/cython3.patch diff --git a/srcpkgs/python3-yaml/patches/cython3.patch b/srcpkgs/python3-yaml/patches/cython3.patch new file mode 100644 index 000000000000..601e79891aac --- /dev/null +++ b/srcpkgs/python3-yaml/patches/cython3.patch @@ -0,0 +1,11 @@ +--- a/setup.py ++++ b/setup.py +@@ -81,7 +81,7 @@ + with_cython = True + try: + from Cython.Distutils.extension import Extension as _Extension +- from Cython.Distutils import build_ext as _build_ext ++ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext + with_cython = True + except ImportError: + if with_cython: diff --git a/srcpkgs/python3-yaml/template b/srcpkgs/python3-yaml/template index f281f217fa40..ab7417caf44c 100644 --- a/srcpkgs/python3-yaml/template +++ b/srcpkgs/python3-yaml/template @@ -1,7 +1,7 @@ # Template file for 'python3-yaml' pkgname=python3-yaml version=6.0 -revision=2 +revision=3 build_style=python3-module hostmakedepends="python3-setuptools python3-Cython" makedepends="libyaml-devel python3-devel"