Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/fann: fann-2.1.0_beta.ebuild ChangeLog fann-1.2.0.ebuild fann-1.2.0-r1.ebuild
Date: Wed, 09 Sep 2009 20:35:41
Message-Id: E1MlTtB-0005Hx-Dd@stork.gentoo.org
1 bicatali 09/09/09 20:35:37
2
3 Modified: fann-2.1.0_beta.ebuild ChangeLog
4 Removed: fann-1.2.0.ebuild fann-1.2.0-r1.ebuild
5 Log:
6 Cleaned and fixed for as-needed
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.3 sci-mathematics/fann/fann-2.1.0_beta.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.1.0_beta.ebuild?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.1.0_beta.ebuild?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/fann-2.1.0_beta.ebuild?r1=1.2&r2=1.3
15
16 Index: fann-2.1.0_beta.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.1.0_beta.ebuild,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- fann-2.1.0_beta.ebuild 23 May 2008 19:06:54 -0000 1.2
23 +++ fann-2.1.0_beta.ebuild 9 Sep 2009 20:35:37 -0000 1.3
24 @@ -1,13 +1,14 @@
25 -# Copyright 1999-2008 Gentoo Foundation
26 +# Copyright 1999-2009 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.1.0_beta.ebuild,v 1.2 2008/05/23 19:06:54 mr_bones_ Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/fann-2.1.0_beta.ebuild,v 1.3 2009/09/09 20:35:37 bicatali Exp $
30
31 -inherit eutils python
32 +EAPI=2
33 +inherit eutils python autotools
34
35 MY_P=${P/_/}
36 DESCRIPTION="Fast Artificial Neural Network Library"
37 HOMEPAGE="http://leenissen.dk/fann/"
38 -SRC_URI="mirror://sourceforge/fann/${MY_P}.zip"
39 +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
40
41 LICENSE="LGPL-2.1"
42 SLOT="0"
43 @@ -20,16 +21,16 @@
44 app-arch/unzip"
45
46 S="${WORKDIR}/${P/_beta/}"
47 -src_unpack() {
48 - unpack ${A}
49 - cd "${S}"
50 +
51 +src_prepare() {
52 epatch "${FILESDIR}"/${P}-python.patch
53 epatch "${FILESDIR}"/${P}-benchmark.patch
54 epatch "${FILESDIR}"/${P}-examples.patch
55 + epatch "${FILESDIR}"/${P}-asneeded.patch
56 + eautoreconf
57 }
58
59 src_compile() {
60 - econf || die "econf failed"
61 emake || die "emake failed"
62 if use python; then
63 cd "${S}"/python
64 @@ -52,10 +53,10 @@
65
66 src_install() {
67 emake install DESTDIR="${D}" || die "emake install failed"
68 - dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
69 + dodoc AUTHORS ChangeLog NEWS README TODO
70
71 if use doc; then
72 - dodoc doc/*.txt || die "failed to install docs"
73 + dodoc doc/*.txt
74 insinto /usr/share/doc/${PF}
75 doins doc/fann_en.pdf || die "failed to install reference manual"
76 doins -r examples || die "failed to install examples"
77
78
79
80 1.13 sci-mathematics/fann/ChangeLog
81
82 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?rev=1.13&view=markup
83 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?rev=1.13&content-type=text/plain
84 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/fann/ChangeLog?r1=1.12&r2=1.13
85
86 Index: ChangeLog
87 ===================================================================
88 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v
89 retrieving revision 1.12
90 retrieving revision 1.13
91 diff -u -r1.12 -r1.13
92 --- ChangeLog 23 May 2008 18:17:38 -0000 1.12
93 +++ ChangeLog 9 Sep 2009 20:35:37 -0000 1.13
94 @@ -1,6 +1,11 @@
95 # ChangeLog for sci-mathematics/fann
96 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
97 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v 1.12 2008/05/23 18:17:38 bicatali Exp $
98 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
99 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/fann/ChangeLog,v 1.13 2009/09/09 20:35:37 bicatali Exp $
100 +
101 + 09 Sep 2009; Sébastien Fabbro <bicatali@g.o> -fann-1.2.0.ebuild,
102 + -fann-1.2.0-r1.ebuild, fann-2.1.0_beta.ebuild,
103 + +files/fann-2.1.0_beta-asneeded.patch:
104 + Cleaned and fixed for as-needed
105
106 *fann-2.1.0_beta (23 May 2008)