public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cantera/
Date: Fri, 27 Oct 2023 02:34:45 +0000 (UTC)	[thread overview]
Message-ID: <1698373838.68ad0f32859b28e51808b3430d140f5b6867704c.sam@gentoo> (raw)

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>


             reply	other threads:[~2023-10-27  2:34 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-27  2:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-10  8:37 [gentoo-commits] repo/gentoo:master commit in: sci-libs/cantera/ Petr Vaněk
2024-12-10  8:37 Petr Vaněk
2024-11-15  6:06 Eli Schwartz
2024-11-13  1:50 Sam James
2024-08-20 18:14 Eli Schwartz
2024-08-20 18:14 Eli Schwartz
2024-02-28 14:00 Sam James
2024-02-08  9:18 Joonas Niilola
2023-08-28 22:57 Sam James
2023-05-14 10:29 Andreas Sturmlechner
2023-03-07 11:42 Sam James
2022-12-26 19:19 Andreas Sturmlechner
2022-11-06 19:06 Sam James
2022-06-07  7:46 Sam James
2022-05-09  9:58 Jakov Smolić
2022-02-27  0:58 Sam James
2022-02-27  0:54 Sam James
2022-01-15  9:31 Joonas Niilola
2021-07-17 18:18 David Seifert
2021-05-24 13:05 Agostino Sarubbo
2021-04-09 12:21 Joonas Niilola
2021-03-01  8:26 Joonas Niilola
2021-02-19 16:04 Sam James
2021-02-19 16:04 Sam James
2021-02-19 16:04 Sam James
2020-10-09 15:23 Agostino Sarubbo
2020-07-21 10:03 Andreas Sturmlechner
2020-05-05 16:54 Matthias Maier
2020-02-09 16:36 Michał Górny
2020-01-14 14:56 Agostino Sarubbo
2019-08-09 14:41 Joonas Niilola
2019-07-19 16:45 Michał Górny
2019-07-19 16:45 Michał Górny
2019-07-19 16:45 Michał Górny
2019-07-19 16:45 Michał Górny
2019-07-19 16:45 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1698373838.68ad0f32859b28e51808b3430d140f5b6867704c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox