From ea8054125e106f540892a77cc4e0fde988a2aed9 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Sun, 2 Nov 2025 02:43:42 +0300 Subject: [PATCH] sci-libs/cantera: 3.1.0-r1, fix py3.14 installation SConstruct file restricts installation for python3.14. Drop this restriction here. Signed-off-by: Sergey Torokhov Part-of: https://github.com/gentoo/gentoo/pull/44424 Closes: https://github.com/gentoo/gentoo/pull/44424 Signed-off-by: Sam James --- sci-libs/cantera/cantera-3.1.0-r1.ebuild | 1 + .../cantera-3.1.0_enable_py3.14_packaging.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 sci-libs/cantera/files/cantera-3.1.0_enable_py3.14_packaging.patch diff --git a/sci-libs/cantera/cantera-3.1.0-r1.ebuild b/sci-libs/cantera/cantera-3.1.0-r1.ebuild index f376fd283bb81..b9c07f6faf889 100644 --- a/sci-libs/cantera/cantera-3.1.0-r1.ebuild +++ b/sci-libs/cantera/cantera-3.1.0-r1.ebuild @@ -70,6 +70,7 @@ DEPEND=" PATCHES=( "${FILESDIR}/${PN}-3.1.0_env.patch" + "${FILESDIR}/${PN}-3.1.0_enable_py3.14_packaging.patch" ) src_unpack() { diff --git a/sci-libs/cantera/files/cantera-3.1.0_enable_py3.14_packaging.patch b/sci-libs/cantera/files/cantera-3.1.0_enable_py3.14_packaging.patch new file mode 100644 index 0000000000000..1ecaa421028ac --- /dev/null +++ b/sci-libs/cantera/files/cantera-3.1.0_enable_py3.14_packaging.patch @@ -0,0 +1,12 @@ +diff '--color=auto' -Naur a/SConstruct b/SConstruct +--- a/SConstruct ++++ b/SConstruct +@@ -182,7 +182,7 @@ + # Python Package Settings + python_min_version = parse_version("3.8") + # Newest Python version not supported/tested by Cantera +-python_max_version = parse_version("3.14") ++python_max_version = parse_version("3.15") + # The string is used to set python_requires in setup.cfg.in + py_requires_ver_str = f">={python_min_version},<{python_max_version}" +