public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/dolfin/
Date: Thu, 14 Sep 2017 18:41:37 +0000 (UTC)	[thread overview]
Message-ID: <1505413747.005b0063b97065dc4d9cb60febae1f34c359336b.tamiko@gentoo> (raw)

commit:     005b0063b97065dc4d9cb60febae1f34c359336b
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 14 18:29:07 2017 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 18:29:07 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=005b0063

sci-mathematics/dolfin: version bump to 2017.1.0

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 sci-mathematics/dolfin/dolfin-2017.1.0.ebuild | 80 +++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)

diff --git a/sci-mathematics/dolfin/dolfin-2017.1.0.ebuild b/sci-mathematics/dolfin/dolfin-2017.1.0.ebuild
new file mode 100644
index 000000000..4d5d8f716
--- /dev/null
+++ b/sci-mathematics/dolfin/dolfin-2017.1.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils eutils python-single-r1
+
+DESCRIPTION="C++/Python interface of FEniCS"
+HOMEPAGE="https://bitbucket.org/fenics-project/dolfin"
+SRC_URI="https://bitbucket.org/fenics-project/${PN}/downloads/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="hdf5 mpi parmetis petsc scotch trilinos umfpack zlib vtk"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+	trilinos? ( mpi )"
+
+# Yes, swig is an RDEPEND
+DEPEND="
+	${PYTHON_DEPS}
+	dev-cpp/eigen:3
+	dev-lang/swig:0=
+	dev-libs/boost:=
+	dev-libs/libxml2:2
+	~dev-python/dijitso-${PV}[${PYTHON_USEDEP}]
+	~dev-python/ffc-${PV}[${PYTHON_USEDEP}]
+	~dev-python/fiat-${PV}[${PYTHON_USEDEP}]
+	~dev-python/instant-${PV}[${PYTHON_USEDEP}]
+	dev-python/sympy
+	~dev-python/ufl-${PV}[${PYTHON_USEDEP}]
+	virtual/blas
+	virtual/lapack
+	hdf5? ( sci-libs/hdf5[mpi=] )
+	mpi? ( virtual/mpi )
+	parmetis? ( sci-libs/parmetis[mpi(+)] )
+	petsc? ( sci-mathematics/petsc[mpi=] )
+	sci-libs/armadillo
+	scotch? ( sci-libs/scotch )
+	trilinos? ( sci-libs/trilinos )
+	umfpack? (
+		sci-libs/amd
+		sci-libs/cholmod
+		sci-libs/umfpack
+	)
+	vtk? ( sci-libs/vtk )
+	zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-trilinos-superlu.patch
+)
+
+pkg_setup() {
+	python-single-r1_pkg_setup
+}
+
+src_configure() {
+	# *sigh*
+	addpredict /proc/mtrr
+	addpredict /sys/devices/system/cpu/
+
+	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)"
+		-DDOLFIN_ENABLE_PYTHON="yes"
+		-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
+}


             reply	other threads:[~2017-09-14 18:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-14 18:41 Matthias Maier [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-04-11 14:50 Marius Brehler
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=1505413747.005b0063b97065dc4d9cb60febae1f34c359336b.tamiko@gentoo \
    --to=tamiko@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