1 |
commit: c2139d59add271ee7863531606f2c78f22a298a9 |
2 |
Author: TheChymera <h.chr <AT> mail <DOT> ru> |
3 |
AuthorDate: Mon Nov 12 18:33:32 2012 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 12 18:33:32 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c2139d59 |
7 |
|
8 |
Added live ebuild for MDP |
9 |
|
10 |
previous release had this bug https://bugs.launchpad.net/ubuntu/+source/mdp/+bug/980602 |
11 |
|
12 |
--- |
13 |
sci-mathematics/mdp/mdp-9999.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
1 files changed, 31 insertions(+), 0 deletions(-) |
15 |
|
16 |
diff --git a/sci-mathematics/mdp/mdp-9999.ebuild b/sci-mathematics/mdp/mdp-9999.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..777e9ef |
19 |
--- /dev/null |
20 |
+++ b/sci-mathematics/mdp/mdp-9999.ebuild |
21 |
@@ -0,0 +1,31 @@ |
22 |
+# Copyright 1999-2012 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Header: $ |
25 |
+ |
26 |
+EAPI="3" |
27 |
+ |
28 |
+inherit distutils git-2 |
29 |
+ |
30 |
+MY_P="${P/mdp/MDP}" |
31 |
+MY_P="${MY_P/_rc/RC}" |
32 |
+ |
33 |
+DESCRIPTION="Modular data processing framework for python" |
34 |
+HOMEPAGE="http://mdp-toolkit.sourceforge.net/index.html" |
35 |
+EGIT_REPO_URI="git://github.com/mdp-toolkit/mdp-toolkit.git" |
36 |
+LICENSE="GPL-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+ |
40 |
+DEPEND="" |
41 |
+RDEPEND="|| ( >=dev-python/numpy-1.1 >=sci-libs/scipy-0.5.2 )" |
42 |
+ |
43 |
+S="${WORKDIR}/${MY_P}" |
44 |
+ |
45 |
+src_test() { |
46 |
+ testing() { |
47 |
+ PYTHONPATH="build-${PYTHON_ABI}/src" "$(PYTHON)" -c "import mdp;mdp.test()" |
48 |
+ } |
49 |
+ python_execute_function testing |
50 |
+} |
51 |
+ |
52 |
+ |