Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/inference/
Date: Mon, 29 Oct 2012 11:00:47
Message-Id: 1351181946.fcbf5a92ea1ce81ce0fbf53d15163fe35ec86713.jlec@gentoo
1 commit: fcbf5a92ea1ce81ce0fbf53d15163fe35ec86713
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 25 16:19:06 2012 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 25 16:19:06 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fcbf5a92
7
8 dev-python/inference: Move to EAPI=5; correct usage of fortran-2.eclass
9
10 Package-Manager: portage-2.2.0_alpha141
11
12 ---
13 dev-python/inference/ChangeLog | 6 +++++-
14 dev-python/inference/inference-0.4.ebuild | 12 +++++++-----
15 dev-python/inference/metadata.xml | 4 ++--
16 3 files changed, 14 insertions(+), 8 deletions(-)
17
18 diff --git a/dev-python/inference/ChangeLog b/dev-python/inference/ChangeLog
19 index a1dad06..e8bfcaf 100644
20 --- a/dev-python/inference/ChangeLog
21 +++ b/dev-python/inference/ChangeLog
22 @@ -1,7 +1,11 @@
23 # ChangeLog for dev-python/inference
24 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
25 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
26 # $Header: $
27
28 + 25 Oct 2012; Justin Lecher <jlec@g.o> inference-0.4.ebuild,
29 + metadata.xml:
30 + Move to EAPI=5; correct usage of fortran-2.eclass
31 +
32 23 Jun 2011; Justin Lecher <jlec@g.o> inference-0.4.ebuild:
33 Streamlined fortran-2 eclass usage
34
35
36 diff --git a/dev-python/inference/inference-0.4.ebuild b/dev-python/inference/inference-0.4.ebuild
37 index 1c4917f..bb508aa 100644
38 --- a/dev-python/inference/inference-0.4.ebuild
39 +++ b/dev-python/inference/inference-0.4.ebuild
40 @@ -1,8 +1,8 @@
41 -# Copyright 1999-2011 Gentoo Foundation
42 +# Copyright 1999-2012 Gentoo Foundation
43 # Distributed under the terms of the GNU General Public License v2
44 # $Header: $
45
46 -EAPI=3
47 +EAPI=5
48
49 PYTHON_DEPEND="2"
50 SUPPORT_PYTHON_ABIS="1"
51 @@ -20,9 +20,7 @@ LICENSE="as-is"
52 KEYWORDS="~amd64 ~x86"
53 IUSE=""
54
55 -DEPEND="
56 - sci-libs/scipy
57 - virtual/fortran"
58 +DEPEND="sci-libs/scipy"
59 RDEPEND="${DEPEND}
60 dev-python/matplotlib"
61
62 @@ -31,10 +29,14 @@ RESTRICT="test"
63
64 pkg_setup() {
65 fortran-2_pkg_setup
66 +}
67 +
68 +src_prepare() {
69 # The usual numpy.distutils hacks when fortran is used
70 append-ldflags -shared
71 append-fflags -fPIC
72 export NUMPY_FCONFIG="config_fc --noopt --noarch"
73 + distutils_src_prepare
74 }
75
76 src_compile() {
77
78 diff --git a/dev-python/inference/metadata.xml b/dev-python/inference/metadata.xml
79 index cd773ad..b6797a7 100644
80 --- a/dev-python/inference/metadata.xml
81 +++ b/dev-python/inference/metadata.xml
82 @@ -1,8 +1,8 @@
83 <?xml version="1.0" encoding="UTF-8"?>
84 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
85 <pkgmetadata>
86 -<herd>sci</herd>
87 -<longdescription lang="en">
88 + <herd>sci</herd>
89 + <longdescription lang="en">
90 The inference package is a collection of Python modules implementing
91 a variety of methods targeting the statistical inference
92 problems—and the statistical modeling style—of the physical