From 59999e26785058fcbe8dc9b49455c14b7abda758 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Sat, 29 Feb 2020 01:49:41 +0300 Subject: 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 Closes: https://github.com/gentoo/gentoo/pull/14801 Signed-off-by: Joonas Niilola --- sci-libs/cantera/cantera-2.4.0-r3.ebuild | 131 --------------------- sci-libs/cantera/cantera-2.4.0-r4.ebuild | 131 +++++++++++++++++++++ .../cantera/files/cantera_2.4.0_sundials4.patch | 2 +- 3 files changed, 132 insertions(+), 132 deletions(-) delete mode 100644 sci-libs/cantera/cantera-2.4.0-r3.ebuild create mode 100644 sci-libs/cantera/cantera-2.4.0-r4.ebuild diff --git a/sci-libs/cantera/cantera-2.4.0-r3.ebuild b/sci-libs/cantera/cantera-2.4.0-r3.ebuild deleted file mode 100644 index 29345e36058c..000000000000 --- a/sci-libs/cantera/cantera-2.4.0-r3.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) - -FORTRAN_NEEDED=fortran -FORTRAN_STANDARD=90 - -inherit desktop fortran-2 python-single-r1 scons-utils toolchain-funcs - -DESCRIPTION="Object-oriented tool suite for chemical kinetics, thermodynamics, and transport" -HOMEPAGE="https://www.cantera.org" -SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="+cti fortran pch +python test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - python? ( cti ) - ${PYTHON_REQUIRED_USE} - " - -RDEPEND=" - ${PYTHON_DEPS} - python? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_MULTI_USEDEP}] - ') - ) - 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) -- cgit v1.2.3-65-gdbad