public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/dolfin/
Date: Wed,  4 Dec 2013 16:22:51 +0000 (UTC)	[thread overview]
Message-ID: <1386173592.2b2b0911e462b932d97529ca3b0203d6e6a3b47e.jlec@gentoo> (raw)

commit:     2b2b0911e462b932d97529ca3b0203d6e6a3b47e
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  4 16:13:12 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Dec  4 16:13:12 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2b2b0911

sci-mathematics/dolfin: Bump EAPI to 5; Bump to python-single-r1 eclass

Package-Manager: portage-2.2.7

---
 sci-mathematics/dolfin/ChangeLog           |  6 +++++-
 sci-mathematics/dolfin/dolfin-0.9.9.ebuild | 24 ++++++++++++++----------
 sci-mathematics/dolfin/metadata.xml        | 18 +++++++++---------
 3 files changed, 28 insertions(+), 20 deletions(-)

diff --git a/sci-mathematics/dolfin/ChangeLog b/sci-mathematics/dolfin/ChangeLog
index b1909e5..980a24a 100644
--- a/sci-mathematics/dolfin/ChangeLog
+++ b/sci-mathematics/dolfin/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-mathematics/dolfin
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  04 Dec 2013; Justin Lecher <jlec@gentoo.org> dolfin-0.9.9.ebuild,
+  metadata.xml:
+  Bump EAPI to 5; Bump to python-single-r1 eclass
+
   22 May 2012; Justin Lecher <jlec@gentoo.org> dolfin-0.9.9.ebuild,
   metadata.xml:
   Add missing eutils.eclass, bump to EAPI=4

diff --git a/sci-mathematics/dolfin/dolfin-0.9.9.ebuild b/sci-mathematics/dolfin/dolfin-0.9.9.ebuild
index 249fcbc..0fef0f9 100644
--- a/sci-mathematics/dolfin/dolfin-0.9.9.ebuild
+++ b/sci-mathematics/dolfin/dolfin-0.9.9.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
-PYTHON_DEPEND="python? 2"
+PYTHON_COMPAT=( python{2_6,2_7} )
 
-inherit cmake-utils eutils python
+inherit cmake-utils eutils python-single-r1
 
 DESCRIPTION="C++/Python interface of FEniCS"
 HOMEPAGE="https://launchpad.net/dolfin/"
@@ -18,21 +18,25 @@ KEYWORDS="~amd64"
 IUSE="cgal cholmod gmp mpi parmetis python scotch umfpack zlib"
 # scotch and parmetis require mpi; wait for EAPI 4
 
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
 DEPEND="
 	dev-libs/boost
 	dev-libs/libxml2:2
 	sci-libs/armadillo
 	sci-mathematics/ufc
 	python? (
-		dev-python/ufl
-		dev-python/ffc
-		dev-python/fiat
-		dev-python/instant
-		dev-python/viper )"
+		${PYTHON_DEPS}
+		dev-python/ufl[${PYTHON_USEDEP}]
+		dev-python/ffc[${PYTHON_USEDEP}]
+		dev-python/fiat[${PYTHON_USEDEP}]
+		dev-python/instant[${PYTHON_USEDEP}]
+		dev-python/viper[${PYTHON_USEDEP}]
+		)"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {
-	use python && python_set_active_version 2
+	use python && python-single-r1_pkg_setup
 }
 
 src_prepare() {

diff --git a/sci-mathematics/dolfin/metadata.xml b/sci-mathematics/dolfin/metadata.xml
index 964c3ee..9c1b5e5 100644
--- a/sci-mathematics/dolfin/metadata.xml
+++ b/sci-mathematics/dolfin/metadata.xml
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>sci-mathematics</herd>
-	<longdescription lang="en">
+  <herd>sci-mathematics</herd>
+  <longdescription lang="en">
 DOLFIN is the C++/Python interface of FEniCS, providing a consistent PSE (Problem Solving Environment) for ordinary and partial differential equations.
 </longdescription>
-	<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="parmetis">Adds support for parallel graph partitioning with <pkg>sci-libs/parmetis</pkg></flag>
-		<flag name="scotch">Adds support for graph partitioning with <pkg>sci-libs/scotch</pkg></flag>
-		<flag name="umfpack">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
-	</use>
+  <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="parmetis">Adds support for parallel graph partitioning with <pkg>sci-libs/parmetis</pkg></flag>
+    <flag name="scotch">Adds support for graph partitioning with <pkg>sci-libs/scotch</pkg></flag>
+    <flag name="umfpack">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
+  </use>
 </pkgmetadata>


             reply	other threads:[~2013-12-04 16:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 16:22 Justin Lecher [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
2017-04-11 14:50 Marius Brehler
2015-09-21 14:04 Justin Lecher
2015-06-08 12:19 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=1386173592.2b2b0911e462b932d97529ca3b0203d6e6a3b47e.jlec@gentoo \
    --to=jlec@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