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/mdp/
Date: Wed, 04 Dec 2013 15:00:44
Message-Id: 1386168568.bb71e6df208df90cff5540e115b5bd2c0f21999d.jlec@gentoo
1 commit: bb71e6df208df90cff5540e115b5bd2c0f21999d
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 4 14:49:28 2013 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 4 14:49:28 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bb71e6df
7
8 sci-mathematics/mdp: Version BUmp; Bump to distutils-r1 eclass
9
10 Package-Manager: portage-2.2.7
11
12 ---
13 sci-mathematics/mdp/ChangeLog | 4 ++++
14 .../mdp/{mdp-3.2.ebuild => mdp-3.3.ebuild} | 25 +++++++++++-----------
15 sci-mathematics/mdp/mdp-9999.ebuild | 25 +++++++++++++---------
16 3 files changed, 32 insertions(+), 22 deletions(-)
17
18 diff --git a/sci-mathematics/mdp/ChangeLog b/sci-mathematics/mdp/ChangeLog
19 index d86c6ba..005f815 100644
20 --- a/sci-mathematics/mdp/ChangeLog
21 +++ b/sci-mathematics/mdp/ChangeLog
22 @@ -2,6 +2,10 @@
23 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: $
25
26 + 04 Dec 2013; Justin Lecher <jlec@g.o> -mdp-3.2.ebuild,
27 + +mdp-3.3.ebuild, mdp-9999.ebuild:
28 + Version BUmp; Bump to distutils-r1 eclass
29 +
30 03 Mar 2013; Justin Lecher <jlec@g.o> mdp-9999.ebuild, metadata.xml:
31 Clean wrong space and blank lines
32
33
34 diff --git a/sci-mathematics/mdp/mdp-3.2.ebuild b/sci-mathematics/mdp/mdp-3.3.ebuild
35 similarity index 51%
36 rename from sci-mathematics/mdp/mdp-3.2.ebuild
37 rename to sci-mathematics/mdp/mdp-3.3.ebuild
38 index 704be41..2a63003 100644
39 --- a/sci-mathematics/mdp/mdp-3.2.ebuild
40 +++ b/sci-mathematics/mdp/mdp-3.3.ebuild
41 @@ -1,14 +1,13 @@
42 -# Copyright 1999-2011 Gentoo Foundation
43 +# Copyright 1999-2013 Gentoo Foundation
44 # Distributed under the terms of the GNU General Public License v2
45 # $Header: $
46
47 -EAPI="3"
48 +EAPI=5
49
50 -PYTHON_DEPEND="2:2.5:2.7 3:3.1:3.2"
51 -SUPPORT_PYTHON_ABIS="1"
52 -RESTRICT_PYTHON_ABIS="2.4"
53 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
54 +PYTHON_COMPAT=( python3_3 )
55
56 -inherit distutils
57 +inherit distutils-r1
58
59 MY_P="${P/mdp/MDP}"
60 MY_P="${MY_P/_rc/RC}"
61 @@ -23,13 +22,15 @@ KEYWORDS="~amd64 ~x86"
62 IUSE=""
63
64 DEPEND=""
65 -RDEPEND="|| ( >=dev-python/numpy-1.1 >=sci-libs/scipy-0.5.2 )"
66 +RDEPEND="|| (
67 + >=dev-python/numpy-1.1[${PYTHON_USEDEP}]
68 + >=sci-libs/scipy-0.5.2[${PYTHON_USEDEP}]
69 + )"
70
71 S="${WORKDIR}/${MY_P}"
72
73 -src_test() {
74 - testing() {
75 - PYTHONPATH="build-${PYTHON_ABI}/src" "$(PYTHON)" -c "import mdp;mdp.test()"
76 - }
77 - python_execute_function testing
78 +python_test() {
79 + distutils_install_for_testing
80 + cd "${BUILD_DIR}" || die
81 + "${PYTHON}" -c "import mdp;mdp.test()" || die
82 }
83
84 diff --git a/sci-mathematics/mdp/mdp-9999.ebuild b/sci-mathematics/mdp/mdp-9999.ebuild
85 index 73620f0..b344746 100644
86 --- a/sci-mathematics/mdp/mdp-9999.ebuild
87 +++ b/sci-mathematics/mdp/mdp-9999.ebuild
88 @@ -2,28 +2,33 @@
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: $
91
92 -EAPI="3"
93 +EAPI=5
94
95 -inherit distutils git-2
96 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
97 +
98 +inherit distutils-r1 git-r3
99
100 MY_P="${P/mdp/MDP}"
101 MY_P="${MY_P/_rc/RC}"
102
103 DESCRIPTION="Modular data processing framework for python"
104 HOMEPAGE="http://mdp-toolkit.sourceforge.net/index.html"
105 +SRC_URI=""
106 EGIT_REPO_URI="git://github.com/mdp-toolkit/mdp-toolkit.git"
107 +
108 LICENSE="GPL-2"
109 SLOT="0"
110 KEYWORDS="~amd64 ~x86"
111 +IUSE=""
112
113 DEPEND=""
114 -RDEPEND="|| ( >=dev-python/numpy-1.1 >=sci-libs/scipy-0.5.2 )"
115 -
116 -S="${WORKDIR}/${MY_P}"
117 +RDEPEND="|| (
118 + >=dev-python/numpy-1.1[${PYTHON_USEDEP}]
119 + >=sci-libs/scipy-0.5.2[${PYTHON_USEDEP}]
120 + )"
121
122 -src_test() {
123 - testing() {
124 - PYTHONPATH="build-${PYTHON_ABI}/src" "$(PYTHON)" -c "import mdp;mdp.test()"
125 - }
126 - python_execute_function testing
127 +python_test() {
128 + distutils_install_for_testing
129 + cd "${BUILD_DIR}" || die
130 + "${PYTHON}" -c "import mdp;mdp.test()" || die
131 }