1 |
commit: a1656e9390e5b1a51d3bd1459a48d599bba4a4f7 |
2 |
Author: Horea Christian <horea.christ <AT> yandex <DOT> com> |
3 |
AuthorDate: Fri Sep 23 13:15:39 2016 +0000 |
4 |
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
5 |
CommitDate: Fri Sep 23 13:15:39 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a1656e93 |
7 |
|
8 |
Pybrain (#677) |
9 |
|
10 |
* sci-biology/pybrain: versined ebuild |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
|
14 |
* sci-biology/pybrain: |
15 |
|
16 |
Package-Manager: portage-2.3.0 |
17 |
|
18 |
* sci-biology/pybrain: |
19 |
|
20 |
Package-Manager: portage-2.3.0 |
21 |
|
22 |
* sci-biology/pybrain: updated eapi, tests, and python compat |
23 |
|
24 |
Package-Manager: portage-2.3.0 |
25 |
|
26 |
.../{pybrain-9999.ebuild => pybrain-0.3.3.ebuild} | 21 +++++++++------------ |
27 |
sci-biology/pybrain/pybrain-9999.ebuild | 14 ++++++-------- |
28 |
2 files changed, 15 insertions(+), 20 deletions(-) |
29 |
|
30 |
diff --git a/sci-biology/pybrain/pybrain-9999.ebuild b/sci-biology/pybrain/pybrain-0.3.3.ebuild |
31 |
similarity index 52% |
32 |
copy from sci-biology/pybrain/pybrain-9999.ebuild |
33 |
copy to sci-biology/pybrain/pybrain-0.3.3.ebuild |
34 |
index 69624da..6001471 100644 |
35 |
--- a/sci-biology/pybrain/pybrain-9999.ebuild |
36 |
+++ b/sci-biology/pybrain/pybrain-0.3.3.ebuild |
37 |
@@ -1,31 +1,28 @@ |
38 |
-# Copyright 1999-2014 Gentoo Foundation |
39 |
+# Copyright 1999-2016 Gentoo Foundation |
40 |
# Distributed under the terms of the GNU General Public License v2 |
41 |
# $Id$ |
42 |
|
43 |
-EAPI=5 |
44 |
+EAPI=6 |
45 |
|
46 |
-PYTHON_COMPAT=( python2_7 ) |
47 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
48 |
|
49 |
-inherit distutils-r1 git-r3 |
50 |
+inherit distutils-r1 |
51 |
|
52 |
DESCRIPTION="The Python Machine Learning Library" |
53 |
HOMEPAGE="http://pybrain.org/" |
54 |
-SRC_URI="" |
55 |
-EGIT_REPO_URI="git://github.com/pybrain/pybrain.git" |
56 |
+SRC_URI="https://github.com/pybrain/pybrain/archive/${PV}.tar.gz -> ${P}.tar.gz" |
57 |
|
58 |
LICENSE="BSD" |
59 |
SLOT="0" |
60 |
-KEYWORDS="" |
61 |
+KEYWORDS="~amd64 ~x86" |
62 |
IUSE="test" |
63 |
|
64 |
RDEPEND="sci-libs/scipy[${PYTHON_USEDEP}]" |
65 |
DEPEND=" |
66 |
dev-python/setuptools[${PYTHON_USEDEP}] |
67 |
- test? ( |
68 |
- ${RDEPEND} |
69 |
- dev-python/pytest[${PYTHON_USEDEP}] |
70 |
- )" |
71 |
+ test? ( ${RDEPEND} ) |
72 |
+ " |
73 |
|
74 |
python_test() { |
75 |
- py.test --verbose || die |
76 |
+ python pybrain/tests/runtests.py || die |
77 |
} |
78 |
|
79 |
diff --git a/sci-biology/pybrain/pybrain-9999.ebuild b/sci-biology/pybrain/pybrain-9999.ebuild |
80 |
index 69624da..8da84b7 100644 |
81 |
--- a/sci-biology/pybrain/pybrain-9999.ebuild |
82 |
+++ b/sci-biology/pybrain/pybrain-9999.ebuild |
83 |
@@ -1,10 +1,10 @@ |
84 |
-# Copyright 1999-2014 Gentoo Foundation |
85 |
+# Copyright 1999-2016 Gentoo Foundation |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
# $Id$ |
88 |
|
89 |
-EAPI=5 |
90 |
+EAPI=6 |
91 |
|
92 |
-PYTHON_COMPAT=( python2_7 ) |
93 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
94 |
|
95 |
inherit distutils-r1 git-r3 |
96 |
|
97 |
@@ -21,11 +21,9 @@ IUSE="test" |
98 |
RDEPEND="sci-libs/scipy[${PYTHON_USEDEP}]" |
99 |
DEPEND=" |
100 |
dev-python/setuptools[${PYTHON_USEDEP}] |
101 |
- test? ( |
102 |
- ${RDEPEND} |
103 |
- dev-python/pytest[${PYTHON_USEDEP}] |
104 |
- )" |
105 |
+ test? ( ${RDEPEND} ) |
106 |
+ " |
107 |
|
108 |
python_test() { |
109 |
- py.test --verbose || die |
110 |
+ python pybrain/tests/runtests.py || die |
111 |
} |