1 |
commit: 91d5f8427ac1958d39eaf88a25e6140c92e2f51f |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 22:00:30 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 22:09:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d5f842 |
7 |
|
8 |
sci-mathematics/snns: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/snns/Manifest | 6 - |
14 |
sci-mathematics/snns/files/4.2-fPIC-python.patch | 12 -- |
15 |
sci-mathematics/snns/snns-4.2-r8.ebuild | 137 ----------------------- |
16 |
sci-mathematics/snns/snns-4.2-r9.ebuild | 123 -------------------- |
17 |
4 files changed, 278 deletions(-) |
18 |
|
19 |
diff --git a/sci-mathematics/snns/Manifest b/sci-mathematics/snns/Manifest |
20 |
index a997dae..daad1d4 100644 |
21 |
--- a/sci-mathematics/snns/Manifest |
22 |
+++ b/sci-mathematics/snns/Manifest |
23 |
@@ -1,8 +1,2 @@ |
24 |
-DIST PySNNS-20040605.tar.gz 20158 SHA256 c2dff5a88faa756546dac1c850d5196d8bba39f793537c5ebcaa61e21f0db317 SHA512 0649b4c9a84b92c7996b00dedf19f4f5c08e7d8b1fcb47b2f2078e19aec95b67740bc69cbabe658e3ac0bd6e40a7b8fa557ceefad4ffddcd4d0c54fba1aeaf30 WHIRLPOOL 2b42397ad4ae0e11d13067294e2d9bbcd83c95e7f0275e2de7b4f89b3d54fe03f9a05484539eaeb8673f114819c92409e2857c07ecfa1c8b7b6f949a9eaee324 |
25 |
-DIST PythonFunctionSupport-20050210.patch.gz 15728 SHA256 c507c70aa158ffb1422aeef693d45f2e8486b1fc7056142736796dd4273f4869 SHA512 1ecccef36a89ba6d172c986af89d6e7c34eb15c7b8a0437a0894531eeeecd26aef3ae853ce75649b407d75013fc6744a9899da965731f40f255c9f23d96ef128 WHIRLPOOL 92118512404e32daf66228593c921fe7821e0bb2cca176e8e5cf58191d547f610e8b71bb5977b33e6bcc26c881f46e6cb081ca6b55c170801d20c84686bdfea4 |
26 |
DIST SNNSv4.2.Manual.pdf 2103861 SHA256 ffed74a4d63f78b8bf8a400a18ce32c3e8d8b3e89682394cc6af122c097aba62 SHA512 204ff6cf31cdf6496042b7f1b6a1a446c4050c3d4d92ff046dc4970c4f8d3872f5d3430d2f41138e5e5b64a77348b95960eba53b2c305954b68dd0e483828016 WHIRLPOOL f21891640fd4428cf20e31766fd2cc304d003aba6e2277d2dc3f724747ab688621a90e4afecfa6a3c7cb799aee0fdc00574fc7c9eb102c55031767dea703a326 |
27 |
-DIST SNNSv4.2.tar.gz 2170375 SHA256 13a36eb7e7838cc7df92a2eaa36c955579a99007c2936d85c20ec0c6a3036c38 SHA512 1e7943204783f742048182cc2ea90fcf31f54c9ce868aef0c48baed68056ded2300f86bb0f2f3219fd9e2a6bab1e65aa3101734c0476a95af97e12cffc379614 WHIRLPOOL eb7c49e5039056e56bed3de10cb88f4d90cc65f89e7fe87747aea2b361f72dff04e78a06f8d8ade79de0da67031af1efb148e18a4a7a5935da4d07760d5bea04 |
28 |
DIST SNNSv4.3.tar.gz 5076669 SHA256 54bf92d23e9198f9030a3c3d2b741472e9b8660b27d3b419ade6393b1ebf6f62 SHA512 a057dc946b581eee01334956c33d6870b8b994d1b835834d58c37ae3a8585dfb1206f3082b17a49ee97b22f4c07c0efb47e4e3ae5aeb37e97f69472da3e21f0b WHIRLPOOL 29e1afc09a6e5ba7de5fc21d2a995f7f093e02e9f6125831ce29dfeaddd125241f440b362b97af5fe0933a21455b4002f606ecdce7b13f24046d20167bd5ad7d |
29 |
-DIST python.patch.gz 52650 SHA256 de4b97a208bf7a9a1ee40256e153fbd142aa612822e1451d50fd36cbd3ecc1d9 SHA512 62e3e052215ae4acbf9ea782fa397a0720ee1bbf9173f605ed2c3dbaded287eaf0bf3517b3c90cbe607bea822462e2fb1980126d1e5817cde268fb5a6eab586a WHIRLPOOL a221e5750b7c29196458734250b4608d710befbc18f51ab3124d2bfd94068b64a1e0e15ac1bc676f5e3fcad04e15a66274b5ed1333c6b40d23c7e0e32563603d |
30 |
-DIST snns-4.2-20040227.patch.gz 55476 SHA256 08a5fa51552b33e5e981d68cbf05792d40d6d0015abad090697b6f88544d3468 SHA512 29378fead9c59c5c3341e03aa08009230b805ce910a95932c34a9c0f6eaf31ef978410add7e79249fe302992890e693567e32d6686589f2d939efae7d0bc32b0 WHIRLPOOL 64f1283979a06e86d25cd2a750ff53978bc47e8fd5df708d416be3886288ebae6534b10d1a2a6eec3931c81b39ab9b5322c2602094b3b62c3397d7d41671eff8 |
31 |
-DIST snns-4.2-patched.tar.gz 2188658 SHA256 d0fc25dcb82979a46bfdfd24a090ec113b039d0f144f8f7c10404775acd129a7 SHA512 dc3744a5875d5670ba0626bb61e760eeb3bdcfd772afd86db8688697cb39b0e07771ed598d05a6bd406b9fe7df9444f44e4cccd51d88a5ec060c4357b8da5013 WHIRLPOOL bfd6e2de4825f96fc567d529b5816b1fd3b9fb1cf68b01f5dbe3ee7c17f9218aa8a5a31790649edce682231ff52d6c528419dee1153a97687b94e1f7285bb6d2 |
32 |
|
33 |
diff --git a/sci-mathematics/snns/files/4.2-fPIC-python.patch b/sci-mathematics/snns/files/4.2-fPIC-python.patch |
34 |
deleted file mode 100644 |
35 |
index c16e9e8..00000000 |
36 |
--- a/sci-mathematics/snns/files/4.2-fPIC-python.patch |
37 |
+++ /dev/null |
38 |
@@ -1,12 +0,0 @@ |
39 |
-diff -urpN configuration.orig/Makefile.din configuration/Makefile.din |
40 |
---- configuration.orig/Makefile.din 2005-01-30 16:40:54.430169528 +0100 |
41 |
-+++ configuration/Makefile.din 2005-01-30 16:41:20.971134688 +0100 |
42 |
-@@ -114,7 +114,7 @@ SUBSTOBJECTS = @LIBOBJS@ @ALLOCA@ |
43 |
- .SUFFIXES: |
44 |
- .SUFFIXES: .c .o |
45 |
- .c.o: |
46 |
-- $(CC) $(CPPFLAGS) $(CFLAGS) -c $< |
47 |
-+ $(CC) -fPIC $(CPPFLAGS) $(CFLAGS) -c $< |
48 |
- |
49 |
- #***************************************************************************** |
50 |
- # End of common Makefile.defs |
51 |
|
52 |
diff --git a/sci-mathematics/snns/snns-4.2-r8.ebuild b/sci-mathematics/snns/snns-4.2-r8.ebuild |
53 |
deleted file mode 100644 |
54 |
index 06b77c1..00000000 |
55 |
--- a/sci-mathematics/snns/snns-4.2-r8.ebuild |
56 |
+++ /dev/null |
57 |
@@ -1,137 +0,0 @@ |
58 |
-# Copyright 1999-2012 Gentoo Foundation |
59 |
-# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Id$ |
61 |
- |
62 |
-EAPI="3" |
63 |
-PYTHON_DEPEND="python? 2" |
64 |
-SUPPORT_PYTHON_ABIS="1" |
65 |
-RESTRICT_PYTHON_ABIS="3.* *-jython" |
66 |
- |
67 |
-inherit distutils eutils |
68 |
- |
69 |
-MY_P="SNNSv${PV}" |
70 |
-MYPATCH="${P}-20040227" |
71 |
-MYPYTHONEXT="PySNNS-20040605" |
72 |
-MYPYTHONPATCH="PythonFunctionSupport-20050210.patch" |
73 |
- |
74 |
-DESCRIPTION="Stuttgart Neural Network Simulator" |
75 |
-HOMEPAGE="http://www-ra.informatik.uni-tuebingen.de/SNNS/" |
76 |
-# mirror://berlios/snns-dev/${MYPATCH}.patch.gz |
77 |
-# python? ( mirror://berlios/snns-dev/${MYPYTHONEXT}.tar.gz |
78 |
-# mirror://berlios/snns-dev/${MYPYTHONPATCH}.gz )" |
79 |
-SRC_URI="http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz |
80 |
- mirror://gentoo/${MYPATCH}.patch.gz |
81 |
- doc? ( http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.Manual.pdf ) |
82 |
- python? ( mirror://gentoo/${MYPYTHONEXT}.tar.gz |
83 |
- mirror://gentoo/${MYPYTHONPATCH}.gz )" |
84 |
- |
85 |
-LICENSE="SNNS-${PV}" |
86 |
-KEYWORDS="amd64 ppc x86" |
87 |
-SLOT="0" |
88 |
-IUSE="X doc python" |
89 |
- |
90 |
-RDEPEND="X? ( x11-libs/libXaw3d )" |
91 |
-DEPEND="${RDEPEND} |
92 |
- X? ( x11-proto/xproto )" |
93 |
- |
94 |
-S="${WORKDIR}/${MY_P}" |
95 |
- |
96 |
-src_unpack() { |
97 |
- unpack ${MY_P}.tar.gz |
98 |
- unpack ${MYPATCH}.patch.gz |
99 |
- |
100 |
- if use python; then |
101 |
- unpack ${MYPYTHONEXT}.tar.gz |
102 |
- unpack ${MYPYTHONPATCH}.gz |
103 |
- fi |
104 |
-} |
105 |
- |
106 |
-src_prepare() { |
107 |
- epatch "${WORKDIR}/${MYPATCH}.patch" \ |
108 |
- "${FILESDIR}/${PV}-ldflags.patch" |
109 |
- |
110 |
- if use python; then |
111 |
- epatch "${FILESDIR}/${PV}-fPIC-python.patch" |
112 |
- epatch "${WORKDIR}/${MYPYTHONPATCH}" |
113 |
- fi |
114 |
- |
115 |
- cd xgui/sources |
116 |
- for file in *.c; do |
117 |
- sed -e "s:X11/Xaw/:X11/Xaw3d/:g" -i "${file}" |
118 |
- done |
119 |
-} |
120 |
- |
121 |
-src_configure() { |
122 |
- local myconf="--enable-global" |
123 |
- |
124 |
- if use X; then |
125 |
- myconf+=" --with-x" |
126 |
- else |
127 |
- myconf+=" --without-x" |
128 |
- fi |
129 |
- |
130 |
- econf ${myconf} |
131 |
-} |
132 |
- |
133 |
-src_compile() { |
134 |
- local compileopts="compile-kernel compile-tools" |
135 |
- if use X; then |
136 |
- compileopts+=" compile-xgui" |
137 |
- fi |
138 |
- |
139 |
- # parallel make sometimes fails (phosphan) |
140 |
- emake -j1 ${compileopts} || die "make failed" |
141 |
- |
142 |
- if use python; then |
143 |
- pushd python > /dev/null |
144 |
- distutils_src_compile |
145 |
- popd > /dev/null |
146 |
- fi |
147 |
-} |
148 |
- |
149 |
-src_install() { |
150 |
- for file in `find tools -type f -perm +100`; do |
151 |
- dobin $file |
152 |
- done |
153 |
- |
154 |
- mv "${D}/usr/bin/netperf" "${D}/usr/bin/snns-netperf" |
155 |
- |
156 |
- if use X; then |
157 |
- newbin xgui/sources/xgui snns |
158 |
- |
159 |
- dodir /etc/env.d |
160 |
- echo XGUILOADPATH=/usr/share/doc/${PF}/ > "${D}"/etc/env.d/99snns |
161 |
- |
162 |
- insinto /usr/share/doc/${PF} |
163 |
- doins default.cfg help.hdoc |
164 |
- fi |
165 |
- |
166 |
- if use python; then |
167 |
- pushd python > /dev/null |
168 |
- distutils_src_install |
169 |
- cp -pPR examples "${D}"/usr/share/doc/${PF}/python-examples |
170 |
- chmod +x "${D}"/usr/share/doc/${PF}/python-examples/*.py |
171 |
- newdoc README README.python |
172 |
- popd > /dev/null |
173 |
- fi |
174 |
- |
175 |
- insinto /usr/share/doc/${PF} |
176 |
- use doc && doins "${DISTDIR}"/${MY_P}.Manual.pdf |
177 |
- |
178 |
- insinto /usr/share/doc/${PF}/examples |
179 |
- doins examples/* |
180 |
- |
181 |
- doman man/man*/* |
182 |
-} |
183 |
- |
184 |
-pkg_postinst() { |
185 |
- if use python; then |
186 |
- distutils_pkg_postinst |
187 |
- fi |
188 |
-} |
189 |
- |
190 |
-pkg_postrm() { |
191 |
- if use python; then |
192 |
- distutils_pkg_postrm |
193 |
- fi |
194 |
-} |
195 |
|
196 |
diff --git a/sci-mathematics/snns/snns-4.2-r9.ebuild b/sci-mathematics/snns/snns-4.2-r9.ebuild |
197 |
deleted file mode 100644 |
198 |
index 9f7a689..00000000 |
199 |
--- a/sci-mathematics/snns/snns-4.2-r9.ebuild |
200 |
+++ /dev/null |
201 |
@@ -1,123 +0,0 @@ |
202 |
-# Copyright 1999-2012 Gentoo Foundation |
203 |
-# Distributed under the terms of the GNU General Public License v2 |
204 |
-# $Id$ |
205 |
- |
206 |
-EAPI="3" |
207 |
-PYTHON_DEPEND="python? 2" |
208 |
-SUPPORT_PYTHON_ABIS="1" |
209 |
-RESTRICT_PYTHON_ABIS="3.* *-jython" |
210 |
- |
211 |
-inherit distutils eutils |
212 |
- |
213 |
-MY_P="SNNSv${PV}" |
214 |
-DESCRIPTION="Stuttgart Neural Network Simulator" |
215 |
-HOMEPAGE="https://sourceforge.net/projects/snns/" |
216 |
-SRC_URI="mirror://sourceforge/snns/${PN}-${PV}-patched.tar.gz |
217 |
- doc? ( http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.Manual.pdf ) |
218 |
- python? ( mirror://sourceforge/snns/python.patch.gz )" |
219 |
- |
220 |
-LICENSE="LGPL-2.1" |
221 |
-KEYWORDS="~amd64 ~ppc ~x86" |
222 |
-SLOT="0" |
223 |
-IUSE="X doc python" |
224 |
- |
225 |
-RDEPEND="X? ( x11-libs/libXaw3d )" |
226 |
-DEPEND="${RDEPEND} |
227 |
- X? ( x11-proto/xproto )" |
228 |
- |
229 |
-S="${WORKDIR}/${PN}" |
230 |
- |
231 |
-src_unpack() { |
232 |
- unpack ${PN}-${PV}-patched.tar.gz |
233 |
- |
234 |
- if use python; then |
235 |
- unpack python.patch.gz |
236 |
- fi |
237 |
-} |
238 |
- |
239 |
-src_prepare() { |
240 |
- |
241 |
- if use python; then |
242 |
- epatch "${WORKDIR}/python.patch" |
243 |
- fi |
244 |
- |
245 |
- cd xgui/sources |
246 |
- for file in *.c; do |
247 |
- sed -e "s:X11/Xaw/:X11/Xaw3d/:g" -i "${file}" |
248 |
- done |
249 |
-} |
250 |
- |
251 |
-src_configure() { |
252 |
- local myconf="--enable-global" |
253 |
- |
254 |
- if use X; then |
255 |
- myconf+=" --with-x" |
256 |
- else |
257 |
- myconf+=" --without-x" |
258 |
- fi |
259 |
- |
260 |
- econf ${myconf} |
261 |
-} |
262 |
- |
263 |
-src_compile() { |
264 |
- local compileopts="compile-kernel compile-tools" |
265 |
- if use X; then |
266 |
- compileopts+=" compile-xgui" |
267 |
- fi |
268 |
- |
269 |
- # parallel make sometimes fails (phosphan) |
270 |
- emake -j1 ${compileopts} || die "make failed" |
271 |
- |
272 |
- if use python; then |
273 |
- pushd python > /dev/null |
274 |
- distutils_src_compile |
275 |
- popd > /dev/null |
276 |
- fi |
277 |
-} |
278 |
- |
279 |
-src_install() { |
280 |
- for file in `find tools -type f -perm +100`; do |
281 |
- dobin $file |
282 |
- done |
283 |
- |
284 |
- mv "${D}/usr/bin/netperf" "${D}/usr/bin/snns-netperf" |
285 |
- |
286 |
- if use X; then |
287 |
- newbin xgui/sources/xgui snns |
288 |
- |
289 |
- dodir /etc/env.d |
290 |
- echo XGUILOADPATH=/usr/share/doc/${PF}/ > "${D}"/etc/env.d/99snns |
291 |
- |
292 |
- insinto /usr/share/doc/${PF} |
293 |
- doins default.cfg help.hdoc |
294 |
- fi |
295 |
- |
296 |
- if use python; then |
297 |
- pushd python > /dev/null |
298 |
- distutils_src_install |
299 |
- cp -pPR examples "${D}"/usr/share/doc/${PF}/python-examples |
300 |
- chmod +x "${D}"/usr/share/doc/${PF}/python-examples/*.py |
301 |
- newdoc README README.python |
302 |
- popd > /dev/null |
303 |
- fi |
304 |
- |
305 |
- insinto /usr/share/doc/${PF} |
306 |
- use doc && doins "${DISTDIR}"/${MY_P}.Manual.pdf |
307 |
- |
308 |
- insinto /usr/share/doc/${PF}/examples |
309 |
- doins examples/* |
310 |
- |
311 |
- doman man/man*/* |
312 |
-} |
313 |
- |
314 |
-pkg_postinst() { |
315 |
- if use python; then |
316 |
- distutils_pkg_postinst |
317 |
- fi |
318 |
-} |
319 |
- |
320 |
-pkg_postrm() { |
321 |
- if use python; then |
322 |
- distutils_pkg_postrm |
323 |
- fi |
324 |
-} |