From 9e77a48bc44332f6c5a340fc86eb7072b2dd3ebe Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Tue, 23 Mar 2021 00:08:22 +0300 Subject: sci-libs/cantera: 2.5.1 rev bump, pass AR env variable Pass AR env variable to be able to use llvm-ar instead of ar. Closes: https://bugs.gentoo.org/773541 Signed-off-by: Sergey Torokhov Signed-off-by: Joonas Niilola --- sci-libs/cantera/cantera-2.5.1-r1.ebuild | 138 +++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) create mode 100644 sci-libs/cantera/cantera-2.5.1-r1.ebuild (limited to 'sci-libs/cantera/cantera-2.5.1-r1.ebuild') diff --git a/sci-libs/cantera/cantera-2.5.1-r1.ebuild b/sci-libs/cantera/cantera-2.5.1-r1.ebuild new file mode 100644 index 000000000000..4cf4cc6c3c3a --- /dev/null +++ b/sci-libs/cantera/cantera-2.5.1-r1.ebuild @@ -0,0 +1,138 @@ +# 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 +