Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/dolfin/
Date: Wed, 04 Dec 2013 16:23:01
Message-Id: 1386173592.2b2b0911e462b932d97529ca3b0203d6e6a3b47e.jlec@gentoo
1 commit: 2b2b0911e462b932d97529ca3b0203d6e6a3b47e
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 4 16:13:12 2013 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 4 16:13:12 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2b2b0911
7
8 sci-mathematics/dolfin: Bump EAPI to 5; Bump to python-single-r1 eclass
9
10 Package-Manager: portage-2.2.7
11
12 ---
13 sci-mathematics/dolfin/ChangeLog | 6 +++++-
14 sci-mathematics/dolfin/dolfin-0.9.9.ebuild | 24 ++++++++++++++----------
15 sci-mathematics/dolfin/metadata.xml | 18 +++++++++---------
16 3 files changed, 28 insertions(+), 20 deletions(-)
17
18 diff --git a/sci-mathematics/dolfin/ChangeLog b/sci-mathematics/dolfin/ChangeLog
19 index b1909e5..980a24a 100644
20 --- a/sci-mathematics/dolfin/ChangeLog
21 +++ b/sci-mathematics/dolfin/ChangeLog
22 @@ -1,7 +1,11 @@
23 # ChangeLog for sci-mathematics/dolfin
24 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
25 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
26 # $Header: $
27
28 + 04 Dec 2013; Justin Lecher <jlec@g.o> dolfin-0.9.9.ebuild,
29 + metadata.xml:
30 + Bump EAPI to 5; Bump to python-single-r1 eclass
31 +
32 22 May 2012; Justin Lecher <jlec@g.o> dolfin-0.9.9.ebuild,
33 metadata.xml:
34 Add missing eutils.eclass, bump to EAPI=4
35
36 diff --git a/sci-mathematics/dolfin/dolfin-0.9.9.ebuild b/sci-mathematics/dolfin/dolfin-0.9.9.ebuild
37 index 249fcbc..0fef0f9 100644
38 --- a/sci-mathematics/dolfin/dolfin-0.9.9.ebuild
39 +++ b/sci-mathematics/dolfin/dolfin-0.9.9.ebuild
40 @@ -1,12 +1,12 @@
41 -# Copyright 1999-2012 Gentoo Foundation
42 +# Copyright 1999-2013 Gentoo Foundation
43 # Distributed under the terms of the GNU General Public License v2
44 # $Header: $
45
46 -EAPI=4
47 +EAPI=5
48
49 -PYTHON_DEPEND="python? 2"
50 +PYTHON_COMPAT=( python{2_6,2_7} )
51
52 -inherit cmake-utils eutils python
53 +inherit cmake-utils eutils python-single-r1
54
55 DESCRIPTION="C++/Python interface of FEniCS"
56 HOMEPAGE="https://launchpad.net/dolfin/"
57 @@ -18,21 +18,25 @@ KEYWORDS="~amd64"
58 IUSE="cgal cholmod gmp mpi parmetis python scotch umfpack zlib"
59 # scotch and parmetis require mpi; wait for EAPI 4
60
61 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
62 +
63 DEPEND="
64 dev-libs/boost
65 dev-libs/libxml2:2
66 sci-libs/armadillo
67 sci-mathematics/ufc
68 python? (
69 - dev-python/ufl
70 - dev-python/ffc
71 - dev-python/fiat
72 - dev-python/instant
73 - dev-python/viper )"
74 + ${PYTHON_DEPS}
75 + dev-python/ufl[${PYTHON_USEDEP}]
76 + dev-python/ffc[${PYTHON_USEDEP}]
77 + dev-python/fiat[${PYTHON_USEDEP}]
78 + dev-python/instant[${PYTHON_USEDEP}]
79 + dev-python/viper[${PYTHON_USEDEP}]
80 + )"
81 RDEPEND="${DEPEND}"
82
83 pkg_setup() {
84 - use python && python_set_active_version 2
85 + use python && python-single-r1_pkg_setup
86 }
87
88 src_prepare() {
89
90 diff --git a/sci-mathematics/dolfin/metadata.xml b/sci-mathematics/dolfin/metadata.xml
91 index 964c3ee..9c1b5e5 100644
92 --- a/sci-mathematics/dolfin/metadata.xml
93 +++ b/sci-mathematics/dolfin/metadata.xml
94 @@ -1,15 +1,15 @@
95 <?xml version="1.0" encoding="UTF-8"?>
96 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
97 <pkgmetadata>
98 - <herd>sci-mathematics</herd>
99 - <longdescription lang="en">
100 + <herd>sci-mathematics</herd>
101 + <longdescription lang="en">
102 DOLFIN is the C++/Python interface of FEniCS, providing a consistent PSE (Problem Solving Environment) for ordinary and partial differential equations.
103 </longdescription>
104 - <use>
105 - <flag name="cgal">Adds support for geometric algorithms with <pkg>sci-mathematics/cgal</pkg></flag>
106 - <flag name="cholmod">Adds support for sparse Cholesky factorization with <pkg>sci-libs/cholmod</pkg></flag>
107 - <flag name="parmetis">Adds support for parallel graph partitioning with <pkg>sci-libs/parmetis</pkg></flag>
108 - <flag name="scotch">Adds support for graph partitioning with <pkg>sci-libs/scotch</pkg></flag>
109 - <flag name="umfpack">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
110 - </use>
111 + <use>
112 + <flag name="cgal">Adds support for geometric algorithms with <pkg>sci-mathematics/cgal</pkg></flag>
113 + <flag name="cholmod">Adds support for sparse Cholesky factorization with <pkg>sci-libs/cholmod</pkg></flag>
114 + <flag name="parmetis">Adds support for parallel graph partitioning with <pkg>sci-libs/parmetis</pkg></flag>
115 + <flag name="scotch">Adds support for graph partitioning with <pkg>sci-libs/scotch</pkg></flag>
116 + <flag name="umfpack">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag>
117 + </use>
118 </pkgmetadata>