From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1565878-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E35DF158089
	for <garchives@archives.gentoo.org>; Fri, 27 Oct 2023 02:34:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0CEE12BC018;
	Fri, 27 Oct 2023 02:34:48 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E06892BC018
	for <gentoo-commits@lists.gentoo.org>; Fri, 27 Oct 2023 02:34:47 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id CB962335C52
	for <gentoo-commits@lists.gentoo.org>; Fri, 27 Oct 2023 02:34:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 390BF12CB
	for <gentoo-commits@lists.gentoo.org>; Fri, 27 Oct 2023 02:34:45 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1698373838.68ad0f32859b28e51808b3430d140f5b6867704c.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cantera/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-libs/cantera/cantera-3.0.0.ebuild sci-libs/cantera/metadata.xml
X-VCS-Directories: sci-libs/cantera/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 68ad0f32859b28e51808b3430d140f5b6867704c
X-VCS-Branch: master
Date: Fri, 27 Oct 2023 02:34:45 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 82a5016e-916f-42c3-bb56-2203f25300b6
X-Archives-Hash: 59bb0bfeb4e03e9ce617bf29ac49bfd3

commit:     68ad0f32859b28e51808b3430d140f5b6867704c
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sun Sep  3 21:08:39 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 02:30:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ad0f32

sci-libs/cantera: v3.0.0 add USE="hdf5" for HDF5 container file support

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/cantera/cantera-3.0.0.ebuild | 6 ++++--
 sci-libs/cantera/metadata.xml         | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sci-libs/cantera/cantera-3.0.0.ebuild b/sci-libs/cantera/cantera-3.0.0.ebuild
index da1bd0e4e645..efc3e6149962 100644
--- a/sci-libs/cantera/cantera-3.0.0.ebuild
+++ b/sci-libs/cantera/cantera-3.0.0.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/Cantera/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="fortran lapack +python test"
+IUSE="fortran hdf5 lapack +python test"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="
@@ -34,6 +34,7 @@ RDEPEND="
 		')
 	)
 	dev-cpp/yaml-cpp
+	hdf5? ( sci-libs/HighFive )
 	!lapack? ( sci-libs/sundials:0= )
 	lapack? ( >=sci-libs/sundials-6.5.0:0=[lapack?] )
 "
@@ -93,11 +94,12 @@ src_configure() {
 		system_sundials="y"
 		system_eigen="y"
 		system_yamlcpp="y"
-		hdf_support="n"
+		hdf_support=$(usex hdf5 y n)
 		system_blas_lapack=$(usex lapack y n)
 		env_vars="all"
 		extra_inc_dirs="/usr/include/eigen3"
 	)
+	use hdf5 && scons_vars+=( system_highfive="y" )
 	use lapack && scons_vars+=( blas_lapack_libs="lapack,blas" )
 	use test || scons_vars+=( googletest="none" )
 

diff --git a/sci-libs/cantera/metadata.xml b/sci-libs/cantera/metadata.xml
index 81f17579d02a..fbc827be0db4 100644
--- a/sci-libs/cantera/metadata.xml
+++ b/sci-libs/cantera/metadata.xml
@@ -16,6 +16,7 @@
   <use>
     <flag name="cti">Install conversion tools (ck2cti, ck2yaml, ctml_writer) from Chemkin to Cantera format</flag>
     <flag name="python">Install Python bindings and conversion tools from Chemkin to Cantera format</flag>
+    <flag name="hdf5">Add HDF5 container files support</flag>
   </use>
   <upstream>
     <remote-id type="github">cantera/cantera</remote-id>