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-libs/libnova: ChangeLog libnova-0.12.1.ebuild
Date: Sun, 25 Nov 2007 19:52:57
Message-Id: E1IwNX5-0002YE-4M@stork.gentoo.org
1 bicatali 07/11/25 19:52:47
2
3 Modified: ChangeLog
4 Added: libnova-0.12.1.ebuild
5 Log:
6 Version bump, added src_test, doc use flag, and modernized the ebuild. Closing bug #150774.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.4 sci-libs/libnova/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libnova/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libnova/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libnova/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/libnova/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 9 Feb 2007 05:23:10 -0000 1.3
23 +++ ChangeLog 25 Nov 2007 19:52:46 -0000 1.4
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sci-libs/libnova
26 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/ChangeLog,v 1.3 2007/02/09 05:23:10 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/ChangeLog,v 1.4 2007/11/25 19:52:46 bicatali Exp $
29 +
30 +*libnova-0.12.1 (25 Nov 2007)
31 +
32 + 25 Nov 2007; Sébastien Fabbro <bicatali@g.o>
33 + +files/libnova-0.12.1-configure.patch, +libnova-0.12.1.ebuild:
34 + Version bump, added src_test, doc use flag, and modernized the ebuild.
35 + Closing bug #150774.
36
37 09 Feb 2007; Diego Pettenò <flameeyes@g.o> ChangeLog:
38 Regenerate digest in Manifest2 format.
39
40
41
42 1.1 sci-libs/libnova/libnova-0.12.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libnova/libnova-0.12.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/libnova/libnova-0.12.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libnova-0.12.1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libnova/libnova-0.12.1.ebuild,v 1.1 2007/11/25 19:52:46 bicatali Exp $
52
53 inherit eutils autotools flag-o-matic
54
55 DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library"
56 HOMEPAGE="http://libnova.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58 LICENSE="LGPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="doc"
62
63 DEPEND="doc? ( app-doc/doxygen )"
64 RDEPEND=""
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69 # patch to use user's cflags and make doxygen working
70 epatch "${FILESDIR}"/${P}-configure.patch
71 eautoconf
72 }
73
74 src_compile() {
75 # 0.12.1 does not pass test with > -02
76 replace-flags -O? -O1
77
78 econf || die "econf failed"
79 emake || die "emake failed"
80 if use doc; then
81 cd doc
82 emake doc || die "emake in doc failed"
83 fi
84 }
85
86 src_test() {
87 emake check || die "emake check failed"
88 "${S}"/lntest/lntest || die "lntest failed"
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "emake install failed"
93 dodoc AUTHORS ChangeLog NEWS README || die
94 if use doc; then
95 dohtml doc/html/* || die "dohtml failed"
96 make clean
97 rm -f examples/Makefile*
98 insinto /usr/share/doc/${PF}
99 doins -r examples
100 fi
101 }
102
103
104
105 --
106 gentoo-commits@g.o mailing list