From e48d47568a6d300dce1d2980a0f221c53b1295a4 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Sat, 13 Feb 2021 15:52:14 +0300 Subject: sci-libs/cantera: 2.5.0 version bump Cantera now use yaml as input format and thus depends on 'dev-cpp/yaml-cpp' and 'dev-python/ruamel-yaml'. The following dependences in DEPEND are actually not required to build and if absence the appropriate 2 tests just will be skipped: test? ( python? ( $(python_gen_cond_dep ' dev-python/h5py[${PYTHON_MULTI_USEDEP}] dev-python/pandas[${PYTHON_MULTI_USEDEP}] ') ) Signed-off-by: Sergey Torokhov Closes: https://github.com/gentoo/gentoo/pull/19448 Signed-off-by: Sam James --- sci-libs/cantera/Manifest | 1 + sci-libs/cantera/cantera-2.5.0.ebuild | 134 +++++++++++++++++++++++++ sci-libs/cantera/files/cantera-2.5.0_env.patch | 49 +++++++++ sci-libs/cantera/metadata.xml | 2 +- 4 files changed, 185 insertions(+), 1 deletion(-) create mode 100644 sci-libs/cantera/cantera-2.5.0.ebuild create mode 100644 sci-libs/cantera/files/cantera-2.5.0_env.patch (limited to 'sci-libs/cantera') diff --git a/sci-libs/cantera/Manifest b/sci-libs/cantera/Manifest index a4660bf3bfdd..679cdd81f64b 100644 --- a/sci-libs/cantera/Manifest +++ b/sci-libs/cantera/Manifest @@ -1 +1,2 @@ DIST cantera-2.4.0.tar.gz 2321316 BLAKE2B 40750e3864afa3d35817e6f5777a6ac235261e9d134ef749966dbd738a2af5efec2882e6dcc719851f88656b41469e2159d3bff3df32f6abdf57db3b0a2afcae SHA512 8bb0fee34fa5bc9ec78e6f21a100eaa77bdd966bd0b7f0fa27d452e4f122c69e61648beef847178490f5c5d56267a96f6081cac9ccd03cea153c32814e0e84e9 +DIST cantera-2.5.0.tar.gz 2479888 BLAKE2B be3dd9ae1b0d9b555b9ddd6ad78a2a6a675844903e4c10ef5e4a09c66d5ca01f81f49f35ee195597d71140dcc4da9750e82f71c6553b5f0ef8a122bf63b86cc1 SHA512 4f1763a74a4a938c6d4512ab574bcbbb84ea6e8c9814c612e6ff6cba0bec1209252ef7c21004e0df98a84279cf66bd137220233dad0ebbcfc89e9a273d753478 diff --git a/sci-libs/cantera/cantera-2.5.0.ebuild b/sci-libs/cantera/cantera-2.5.0.ebuild new file mode 100644 index 000000000000..5f3b8c1280bd --- /dev/null +++ b/sci-libs/cantera/cantera-2.5.0.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +FORTRAN_NEEDED=fortran +FORTRAN_STANDARD="77 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}] + dev-python/ruamel-yaml[${PYTHON_MULTI_USEDEP}] + ') + ) + dev-cpp/yaml-cpp + - Install CTI tools (ck2cti, ctml_writer) for conversion of Chemkin files to Cantera format + Install CTI tools (ck2cti, ck2yaml, ctml_writer) for conversion of Chemkin files to Cantera format cantera -- cgit v1.2.3-65-gdbad