commit:     ea8054125e106f540892a77cc4e0fde988a2aed9
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sat Nov  1 23:43:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  2 05:22:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea805412

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 <torokhov-s-a <AT> yandex.ru>
Part-of: https://github.com/gentoo/gentoo/pull/44424
Closes: https://github.com/gentoo/gentoo/pull/44424
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/cantera/cantera-3.1.0-r1.ebuild                     |  1 +
 .../files/cantera-3.1.0_enable_py3.14_packaging.patch        | 12 ++++++++++++
 2 files changed, 13 insertions(+)

diff --git a/sci-libs/cantera/cantera-3.1.0-r1.ebuild 
b/sci-libs/cantera/cantera-3.1.0-r1.ebuild
index f376fd283bb8..b9c07f6faf88 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 000000000000..1ecaa421028a
--- /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}"
+ 

Reply via email to