diff options
author | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2020-02-29 01:49:41 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-03-05 13:54:37 +0200 |
commit | 59999e26785058fcbe8dc9b49455c14b7abda758 (patch) | |
tree | 461af5f09777fc4b2527cbc5fd8d58504314f9b6 /sci-libs/cantera | |
parent | sci-libs/sundials: 5.1.0 version bump (diff) | |
download | gentoo-59999e26785058fcbe8dc9b49455c14b7abda758.tar.gz gentoo-59999e26785058fcbe8dc9b49455c14b7abda758.tar.bz2 gentoo-59999e26785058fcbe8dc9b49455c14b7abda758.zip |
sci-libs/cantera: 2.4.0-r4 fix sci-libs/sundials-5.1.0 compatibility
As cantera-2.4.0-r3 was stabilized against sci-libs/sundials-3.2.0
therefore the changes allowing to build cantera agains sundials-5.1.0
don't affect the stability and avoid of dublicate patches
with trivial changes. Revision bump to -r4 saving stabilization.
The Sundials 5.1 has the same CVODES API as Sundials 4.0, 4.1, 5.0
so there is no any additional changes required to to build Cantera
against Sundials 5.1 except allowing in configuration check.
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/14801
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-libs/cantera')
-rw-r--r-- | sci-libs/cantera/cantera-2.4.0-r4.ebuild (renamed from sci-libs/cantera/cantera-2.4.0-r3.ebuild) | 2 | ||||
-rw-r--r-- | sci-libs/cantera/files/cantera_2.4.0_sundials4.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/cantera/cantera-2.4.0-r3.ebuild b/sci-libs/cantera/cantera-2.4.0-r4.ebuild index 29345e36058c..d3f8fb2e514b 100644 --- a/sci-libs/cantera/cantera-2.4.0-r3.ebuild +++ b/sci-libs/cantera/cantera-2.4.0-r4.ebuild @@ -32,7 +32,7 @@ RDEPEND=" dev-python/numpy[${PYTHON_MULTI_USEDEP}] ') ) - <sci-libs/sundials-5.1.0:0= + <sci-libs/sundials-5.2.0:0= " DEPEND=" diff --git a/sci-libs/cantera/files/cantera_2.4.0_sundials4.patch b/sci-libs/cantera/files/cantera_2.4.0_sundials4.patch index 0345a98e2527..8c44228019b8 100644 --- a/sci-libs/cantera/files/cantera_2.4.0_sundials4.patch +++ b/sci-libs/cantera/files/cantera_2.4.0_sundials4.patch @@ -47,7 +47,7 @@ diff -Nur old/SConstruct new/SConstruct # Ignore the minor version, e.g. 2.4.x -> 2.4 env['sundials_version'] = '.'.join(sundials_version.split('.')[:2]) - if env['sundials_version'] not in ('2.4','2.5','2.6','2.7','3.0','3.1','3.2'): -+ if env['sundials_version'] not in ('2.4','2.5','2.6','2.7','3.0','3.1','3.2','4.0','4.1','5.0'): ++ if env['sundials_version'] not in ('2.4','2.5','2.6','2.7','3.0','3.1','3.2','4.0','4.1','5.0','5.1'): print("""ERROR: Sundials version %r is not supported.""" % env['sundials_version']) sys.exit(1) print("""INFO: Using system installation of Sundials version %s.""" % sundials_version) |