From 9d648a8dc23bf7801c596ada300f56f0894d73b6 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Tue, 21 Apr 2020 04:10:09 +0300 Subject: [PATCH] sci-libs/cantera: Revision bump. Pass FFLAGS for FORTRANFLAGS FFLAGS env variable is passed now for FORTRANFLAGS compile option. FFLAGS is presented by default in profile (see https://bugs.gentoo.org/575446). Signed-off-by: Sergey Torokhov Signed-off-by: Matthias Maier --- sci-libs/cantera/cantera-2.4.0-r5.ebuild | 131 +++++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 sci-libs/cantera/cantera-2.4.0-r5.ebuild diff --git a/sci-libs/cantera/cantera-2.4.0-r5.ebuild b/sci-libs/cantera/cantera-2.4.0-r5.ebuild new file mode 100644 index 000000000000..78f23ee905bb --- /dev/null +++ b/sci-libs/cantera/cantera-2.4.0-r5.ebuild @@ -0,0 +1,131 @@ +# 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}] + ') + ) +