public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marius Brehler" <marbre@linux.sungazer.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/dolfin/
Date: Tue, 11 Apr 2017 14:50:09 +0000 (UTC)	[thread overview]
Message-ID: <1491542197.032f7fa6fa69e8b48b2f6257747de4f95e22770f.marbre@gentoo> (raw)

commit:     032f7fa6fa69e8b48b2f6257747de4f95e22770f
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  7 05:16:37 2017 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri Apr  7 05:16:37 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=032f7fa6

sci-mathematics/dolfin: ebuild maintenance

 - add use flag descriptions to metadata
 - fix automagic dependencies
 - fix repoman warnings

Package-Manager: Portage-2.3.3, Repoman-2.3.2

 ...dolfin-2016.2.0.ebuild => dolfin-2016.2.0-r1.ebuild} | 17 ++++++++++-------
 sci-mathematics/dolfin/metadata.xml                     |  4 ++++
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/sci-mathematics/dolfin/dolfin-2016.2.0.ebuild b/sci-mathematics/dolfin/dolfin-2016.2.0-r1.ebuild
similarity index 84%
rename from sci-mathematics/dolfin/dolfin-2016.2.0.ebuild
rename to sci-mathematics/dolfin/dolfin-2016.2.0-r1.ebuild
index 994028a56..9a668a3d5 100644
--- a/sci-mathematics/dolfin/dolfin-2016.2.0.ebuild
+++ b/sci-mathematics/dolfin/dolfin-2016.2.0-r1.ebuild
@@ -14,17 +14,15 @@ SRC_URI="https://bitbucket.org/fenics-project/${PN}/downloads/${P}.tar.gz"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="mpi parmetis petsc scotch trilinos umfpack zlib"
-# scotch and parmetis require mpi; wait for EAPI 4
+IUSE="hdf5 mpi parmetis petsc scotch trilinos umfpack zlib vtk"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
 	trilinos? ( mpi )"
 
-DEPEND="
+RDEPEND="
 	${PYTHON_DEPS}
-	dev-libs/boost
+	dev-libs/boost:=
 	dev-cpp/eigen:3
-	dev-lang/swig
 	dev-libs/libxml2:2
 	~dev-python/ffc-${PV}[${PYTHON_USEDEP}]
 	~dev-python/fiat-${PV}[${PYTHON_USEDEP}]
@@ -33,8 +31,9 @@ DEPEND="
 	~dev-python/ufl-${PV}[${PYTHON_USEDEP}]
 	virtual/blas
 	virtual/lapack
+	hdf5? ( sci-libs/hdf5[mpi=] )
 	mpi? ( virtual/mpi )
-	parmetis? ( sci-libs/parmetis[mpi=] )
+	parmetis? ( sci-libs/parmetis[mpi(+)] )
 	petsc? ( sci-mathematics/petsc[mpi=] )
 	sci-libs/armadillo
 	scotch? ( sci-libs/scotch )
@@ -44,8 +43,10 @@ DEPEND="
 		sci-libs/cholmod
 		sci-libs/umfpack
 	)
+	vtk? ( sci-libs/vtk )
 	zlib? ( sys-libs/zlib )"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+	dev-lang/swig:0"
 
 PATCHES=(
 	"${FILESDIR}"/${P}-trilinos-superlu.patch
@@ -62,6 +63,7 @@ src_configure() {
 
 	mycmakeargs=(
 		-DDOLFIN_ENABLE_CHOLMOD="$(usex umfpack)"
+		-DDOLFIN_ENABLE_HDF5="$(usex hdf5)"
 		-DDOLFIN_ENABLE_MPI="$(usex mpi)"
 		-DDOLFIN_ENABLE_PARMETIS="$(usex parmetis)"
 		-DDOLFIN_ENABLE_PETSC="$(usex petsc)"
@@ -69,6 +71,7 @@ src_configure() {
 		-DDOLFIN_ENABLE_SCOTCH="$(usex scotch)"
 		-DDOLFIN_ENABLE_TRILINOS="$(usex trilinos)"
 		-DDOLFIN_ENABLE_UMFPACK="$(usex umfpack)"
+		-DDOLFIN_ENABLE_VTK="$(usex vtk)"
 		-DDOLFIN_ENABLE_ZLIB="$(usex zlib)"
 	)
 	cmake-utils_src_configure

diff --git a/sci-mathematics/dolfin/metadata.xml b/sci-mathematics/dolfin/metadata.xml
index d36c386ea..70a8a021f 100644
--- a/sci-mathematics/dolfin/metadata.xml
+++ b/sci-mathematics/dolfin/metadata.xml
@@ -11,9 +11,13 @@ DOLFIN is the C++/Python interface of FEniCS, providing a consistent PSE (Proble
   <use>
     <flag name="cgal">Adds support for geometric algorithms with <pkg>sci-mathematics/cgal</pkg></flag>
     <flag name="cholmod">Adds support for sparse Cholesky factorization with <pkg>sci-libs/cholmod</pkg></flag>
+	<flag name="hdf5">Adds support for <pkg>sci-libs/hdf5</pkg></flag>
     <flag name="parmetis">Adds support for parallel graph partitioning with <pkg>sci-libs/parmetis</pkg></flag>
+	<flag name="petsc">Adds support for numerical linear algebra toolkit <pkg>sci-mathematics/petsc</pkg></flag>
     <flag name="scotch">Adds support for graph partitioning with <pkg>sci-libs/scotch</pkg></flag>
+	<flag name="trilinos">Adds support for numerical linear algebra toolkit  <pkg>sci-libs/trilinos</pkg></flag>
     <flag name="umfpack">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
+    <flag name="vtk">Adds support for the visualization toolkit <pkg>sci-libs/vtk</pkg></flag>
   </use>
   <upstream>
     <remote-id type="launchpad">dolfin</remote-id>


             reply	other threads:[~2017-04-11 14:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 14:50 Marius Brehler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-04-13 20:36 [gentoo-commits] proj/sci:master commit in: sci-mathematics/dolfin/ Martin Mokrejs
2017-09-14 19:14 Matthias Maier
2017-09-14 18:41 Matthias Maier
2017-04-11 14:50 Marius Brehler
2017-04-11 14:50 Marius Brehler
2015-09-21 14:04 Justin Lecher
2015-06-08 12:19 Justin Lecher
2013-12-04 16:22 Justin Lecher
2012-05-22 19:43 Justin Lecher
2011-03-07 12:01 Justin Lecher

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=1491542197.032f7fa6fa69e8b48b2f6257747de4f95e22770f.marbre@gentoo \
    --to=marbre@linux.sungazer.de \
    --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