sci-libs/cantera: 2.4.0-r1. Enable build with sci-libs/sundials-3.2.x
authorband-a-prend <torokhov-s-a@yandex.ru>
Fri, 21 Jun 2019 22:15:41 +0000 (01:15 +0300)
committerMichał Górny <mgorny@gentoo.org>
Fri, 19 Jul 2019 16:44:53 +0000 (18:44 +0200)
commita42c6b73ab2089813e77380fe5f5dce4b665eacc
tree4520bfe12715e189a91ada8546946fcfd95aebdb
parentccbc631dd7315cec186cd47790b501314a5e55bd
sci-libs/cantera: 2.4.0-r1. Enable build with sci-libs/sundials-3.2.x

This patch moves early applied 'sed' patches from src_prepare() to external
patch-file and allows to build Cantera 2.4.0 with sci-libs/sundials-3.2.x
since this version of Sundials is compatible with Sundials 3.1
and doesn't require to rebuild Cantera after it's upgrade from Sundials 3.1
to Sundials 3.2.

It was tested that Cantera successfuly build with Sundials-3.2.1
(that not in portage tree yet) and internal tests passed after "ebuild compile"
with Sundials 3.1.2 and "ebuild test" phase after intallation
of the Sundials 3.2.1 into system.

Note that Cantera 2.4.0 isn't compatible with Sundials 4.y branch
so there is a restriction for RDEPEND sci-libs/sundials-4.0.0

Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/cantera/cantera-2.4.0-r1.ebuild
sci-libs/cantera/files/cantera_2.4.0_env.patch [new file with mode: 0644]