mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
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:
parent
a033b27545
commit
ea8054125e
@ -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() {
|
||||
|
||||
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user