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/ffnetui/, dev-python/ffnet/
Date: Tue, 29 Mar 2016 17:15:50
Message-Id: 1458596550.6f5ee6f8ca095ce0c649cd3b55da9899874b9c22.jlec@gentoo
1 commit: 6f5ee6f8ca095ce0c649cd3b55da9899874b9c22
2 Author: Marek Wojciechowski <mrkwjc <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 1 10:48:04 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 21 21:42:30 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=6f5ee6f8
7
8 dev-python/ffnet: Add new ffnet and ffnetui ebuilds
9
10 * Add new ffnet-0.8.3.ebuild.
11 * Add dev-python/ffnetui - GUI for ffnet
12 * Update ffnet, ffnetui ebuilds formatting
13 * Update ffnetui header
14 * dev-python/ffnet: Switch to EAPI=6 and other repoman suggestions
15 * dev-python/ffnetui: Switch to EAPI=6 and other repoman suggestions
16 * dev-python/ffnet: Update inherit line and examples instalation
17 * dev-python/ffnet: Update metadata
18 * dev-python/ffnetui: Update metadata
19 * dev-python/ffnetui: Drop flag-o-matic and toolchain-funcs
20
21 dev-python/ffnet/ffnet-0.7.1.ebuild | 11 ++++------
22 .../{ffnet-0.7.1.ebuild => ffnet-0.8.3.ebuild} | 22 ++++++++------------
23 dev-python/ffnet/metadata.xml | 4 ++--
24 dev-python/ffnetui/ffnetui-0.8.3.2.ebuild | 24 ++++++++++++++++++++++
25 dev-python/{ffnet => ffnetui}/metadata.xml | 8 ++------
26 5 files changed, 41 insertions(+), 28 deletions(-)
27
28 diff --git a/dev-python/ffnet/ffnet-0.7.1.ebuild b/dev-python/ffnet/ffnet-0.7.1.ebuild
29 index 6e11d3d..0eb1e12 100644
30 --- a/dev-python/ffnet/ffnet-0.7.1.ebuild
31 +++ b/dev-python/ffnet/ffnet-0.7.1.ebuild
32 @@ -1,12 +1,12 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 +# Copyright 1999-2016 Gentoo Foundation
35 # Distributed under the terms of the GNU General Public License v2
36 # $Id$
37
38 -EAPI=5
39 +EAPI=6
40
41 PYTHON_COMPAT=( python2_7 )
42
43 -inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
44 +inherit distutils-r1 fortran-2 flag-o-matic
45
46 DESCRIPTION="Feed-forward neural network for python"
47 HOMEPAGE="http://ffnet.sourceforge.net/"
48 @@ -38,8 +38,5 @@ src_compile() {
49
50 python_install_all() {
51 distutils-r1_python_install_all
52 - if use examples; then
53 - insinto /usr/share/doc/${PF}
54 - doins -r examples
55 - fi
56 + use examples && dodoc -r examples
57 }
58
59 diff --git a/dev-python/ffnet/ffnet-0.7.1.ebuild b/dev-python/ffnet/ffnet-0.8.3.ebuild
60 similarity index 59%
61 copy from dev-python/ffnet/ffnet-0.7.1.ebuild
62 copy to dev-python/ffnet/ffnet-0.8.3.ebuild
63 index 6e11d3d..50d1a39 100644
64 --- a/dev-python/ffnet/ffnet-0.7.1.ebuild
65 +++ b/dev-python/ffnet/ffnet-0.8.3.ebuild
66 @@ -1,28 +1,27 @@
67 -# Copyright 1999-2014 Gentoo Foundation
68 +# Copyright 1999-2016 Gentoo Foundation
69 # Distributed under the terms of the GNU General Public License v2
70 # $Id$
71
72 -EAPI=5
73 +EAPI=6
74
75 -PYTHON_COMPAT=( python2_7 )
76 +PYTHON_COMPAT=( python2_{6,7} python3_{3,4} )
77
78 -inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
79 +inherit distutils-r1 fortran-2 flag-o-matic
80
81 DESCRIPTION="Feed-forward neural network for python"
82 HOMEPAGE="http://ffnet.sourceforge.net/"
83 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
84 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
85
86 SLOT="0"
87 -LICENSE="GPL-2"
88 +LICENSE="LGPL-3"
89 KEYWORDS="~x86 ~amd64"
90 -IUSE="examples graphviz matplotlib"
91 +IUSE="examples matplotlib"
92
93 DEPEND="${PYTHON_DEPS}
94 dev-python/networkx[${PYTHON_USEDEP}]
95 dev-python/numpy[${PYTHON_USEDEP}]
96 sci-libs/scipy[${PYTHON_USEDEP}]
97 - matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
98 - graphviz? ( dev-python/pygraphviz[${PYTHON_USEDEP}] )"
99 + matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
100 RDEPEND="${DEPEND}"
101
102 python_prepare_all() {
103 @@ -38,8 +37,5 @@ src_compile() {
104
105 python_install_all() {
106 distutils-r1_python_install_all
107 - if use examples; then
108 - insinto /usr/share/doc/${PF}
109 - doins -r examples
110 - fi
111 + use examples && dodoc -r examples
112 }
113
114 diff --git a/dev-python/ffnet/metadata.xml b/dev-python/ffnet/metadata.xml
115 index 0de1819..e40054c 100644
116 --- a/dev-python/ffnet/metadata.xml
117 +++ b/dev-python/ffnet/metadata.xml
118 @@ -7,12 +7,12 @@
119 </maintainer>
120 <longdescription lang="en">
121 ffnet is a fast and easy-to-use feed-forward neural
122 - network training solution for python.
123 + network training library for python.
124 </longdescription>
125 <use>
126 <flag name="matplotlib">Use matplotlib for drawing</flag>
127 </use>
128 <upstream>
129 - <remote-id type="sourceforge">ffnet</remote-id>
130 + <remote-id type="github">mrkwjc/ffnet</remote-id>
131 </upstream>
132 </pkgmetadata>
133
134 diff --git a/dev-python/ffnetui/ffnetui-0.8.3.2.ebuild b/dev-python/ffnetui/ffnetui-0.8.3.2.ebuild
135 new file mode 100644
136 index 0000000..9549ca4
137 --- /dev/null
138 +++ b/dev-python/ffnetui/ffnetui-0.8.3.2.ebuild
139 @@ -0,0 +1,24 @@
140 +# Copyright 1999-2016 Gentoo Foundation
141 +# Distributed under the terms of the GNU General Public License v2
142 +# $Id$
143 +
144 +EAPI=6
145 +
146 +PYTHON_COMPAT=( python2_7 )
147 +
148 +inherit distutils-r1
149 +
150 +DESCRIPTION="GUI for ffnet - feed forward neural network for python"
151 +HOMEPAGE="http://ffnet.sourceforge.net"
152 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
153 +
154 +SLOT="0"
155 +LICENSE="GPL-3"
156 +KEYWORDS="~x86 ~amd64"
157 +IUSE=""
158 +
159 +DEPEND="${PYTHON_DEPS}
160 + >=dev-python/ffnet-0.8.3[${PYTHON_USEDEP}]
161 + >=dev-python/matplotlib-1.4[${PYTHON_USEDEP}]
162 + dev-python/traitsui[${PYTHON_USEDEP}]"
163 +RDEPEND="${DEPEND}"
164
165 diff --git a/dev-python/ffnet/metadata.xml b/dev-python/ffnetui/metadata.xml
166 similarity index 59%
167 copy from dev-python/ffnet/metadata.xml
168 copy to dev-python/ffnetui/metadata.xml
169 index 0de1819..6e1e5f9 100644
170 --- a/dev-python/ffnet/metadata.xml
171 +++ b/dev-python/ffnetui/metadata.xml
172 @@ -6,13 +6,9 @@
173 <name>Gentoo Science Project</name>
174 </maintainer>
175 <longdescription lang="en">
176 - ffnet is a fast and easy-to-use feed-forward neural
177 - network training solution for python.
178 + GUI for ffnet - feed forward neural network for python
179 </longdescription>
180 - <use>
181 - <flag name="matplotlib">Use matplotlib for drawing</flag>
182 - </use>
183 <upstream>
184 - <remote-id type="sourceforge">ffnet</remote-id>
185 + <remote-id type="github">mrkwjc/ffnetui</remote-id>
186 </upstream>
187 </pkgmetadata>