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@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@gentoo.org>
This commit is contained in:
Sergey Torokhov 2025-11-02 02:43:42 +03:00 committed by Sam James
parent a033b27545
commit ea8054125e
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 13 additions and 0 deletions

View File

@ -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() {

View File

@ -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}"