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-astronomy/wcstools: ChangeLog wcstools-3.7.0.ebuild
Date: Tue, 11 Sep 2007 11:28:29
Message-Id: E1IV3o5-0004sb-Gr@stork.gentoo.org
1 bicatali 07/09/11 11:21:25
2
3 Modified: ChangeLog
4 Added: wcstools-3.7.0.ebuild
5 Log:
6 Version bump. Adapted patches and fixed leaks. Closing bug #191884
7 (Portage version: 2.1.2.12)
8
9 Revision Changes Path
10 1.5 sci-astronomy/wcstools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 5 Jun 2007 16:35:59 -0000 1.4
23 +++ ChangeLog 11 Sep 2007 11:21:24 -0000 1.5
24 @@ -1,6 +1,15 @@
25 # ChangeLog for sci-astronomy/wcstools
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.4 2007/06/05 16:35:59 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.5 2007/09/11 11:21:24 bicatali Exp $
29 +
30 +*wcstools-3.7.0 (11 Sep 2007)
31 +
32 + 11 Sep 2007; Sébastien Fabbro <bicatali@g.o>
33 + -files/wcstools-3.6.7-codewarn.patch,
34 + +files/wcstools-3.7.0-autotools.patch,
35 + +files/wcstools-3.7.0-fix-leaks.patch,
36 + +files/wcstools-3.7.0-fix-warnings.patch, +wcstools-3.7.0.ebuild:
37 + Version bump. Adapted patches and fixed leaks. Closing bug #191884
38
39 *wcstools-3.6.8 (05 Jun 2007)
40
41
42
43
44 1.1 sci-astronomy/wcstools/wcstools-3.7.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: wcstools-3.7.0.ebuild
50 ===================================================================
51 # Copyright 1999-2007 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.0.ebuild,v 1.1 2007/09/11 11:21:24 bicatali Exp $
54
55 inherit eutils autotools
56
57 DESCRIPTION="Astronomy Library to handle World Coordinate System for FITS images"
58 HOMEPAGE="http://tdc-www.harvard.edu/software/wcstools"
59 SRC_URI="http://tdc-www.harvard.edu/software/${PN}/${P}.tar.gz"
60
61 LICENSE="GPL-2 LGPL-2"
62 SLOT="0"
63 KEYWORDS="~x86 ~amd64"
64 IUSE=""
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69 epatch "${FILESDIR}"/${P}-fix-warnings.patch
70 epatch "${FILESDIR}"/${P}-fix-leaks.patch
71 epatch "${FILESDIR}"/${P}-autotools.patch
72 sed -i -e 's/3.7.x/${PV}/' configure.ac || die "sed failed"
73 eautoreconf
74 }
75
76 src_test() {
77 cd "${S}"
78 einfo "Testing various wcstools programs"
79 ./newfits -a 10 -j 248 41 -p 0.15 test.fits || die "test newfits failed"
80 ./sethead test.fits A=1 B=1 || die "test sethead failed"
81 [[ "$(./gethead test.fits RA)" == "16:32:00.000" ]] \
82 || die "test gethead failed"
83 rm -f test.fits
84 }
85
86 src_install() {
87 emake DESTDIR="${D}" install || die "emake install failed"
88 doman Man/man1/* || die "doman failed"
89 dodoc Readme Programs NEWS || die "dodoc failed"
90 newdoc libwcs/Readme Readme.libwcs || die "newdoc failed"
91 newdoc libwcs/NEWS NEWS.libwcs || die "newdoc failed"
92 }
93
94
95
96 --
97 gentoo-commits@g.o mailing list