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.8.1.ebuild |
Date: | Fri, 29 Jan 2010 06:51:49 |
Message-Id: | E1Nakhf-0005NQ-8s@stork.gentoo.org |
1 | bicatali 10/01/29 06:51:39 |
2 | |
3 | Modified: ChangeLog |
4 | Added: wcstools-3.8.1.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.17 sci-astronomy/wcstools/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.17&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.17&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?r1=1.16&r2=1.17 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v |
19 | retrieving revision 1.16 |
20 | retrieving revision 1.17 |
21 | diff -u -r1.16 -r1.17 |
22 | --- ChangeLog 9 Sep 2009 16:06:30 -0000 1.16 |
23 | +++ ChangeLog 29 Jan 2010 06:51:38 -0000 1.17 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sci-astronomy/wcstools |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.16 2009/09/09 16:06:30 bicatali Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.17 2010/01/29 06:51:38 bicatali Exp $ |
30 | + |
31 | +*wcstools-3.8.1 (29 Jan 2010) |
32 | + |
33 | + 29 Jan 2010; Sébastien Fabbro <bicatali@g.o> |
34 | + +wcstools-3.8.1.ebuild: |
35 | + Version bump |
36 | |
37 | 09 Sep 2009; Sébastien Fabbro <bicatali@g.o> |
38 | wcstools-3.7.7.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 sci-astronomy/wcstools/wcstools-3.8.1.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/wcstools-3.8.1.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/wcstools-3.8.1.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: wcstools-3.8.1.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/wcstools-3.8.1.ebuild,v 1.1 2010/01/29 06:51:38 bicatali Exp $ |
52 | |
53 | EAPI=2 |
54 | inherit eutils autotools |
55 | |
56 | DESCRIPTION="World Coordinate System library for astronomical FITS images" |
57 | HOMEPAGE="http://tdc-www.harvard.edu/software/wcstools" |
58 | SRC_URI="http://tdc-www.harvard.edu/software/${PN}/${P}.tar.gz" |
59 | |
60 | LICENSE="GPL-2 LGPL-2.1" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ppc ~x86" |
63 | IUSE="" |
64 | |
65 | src_prepare() { |
66 | epatch "${FILESDIR}"/${PN}-3.7-autotools.patch |
67 | # avoid colliding with fixdos, getdate and remap from other packages |
68 | sed -i \ |
69 | -e 's/getdate/wcsgetdate/' \ |
70 | -e 's/crlf/wcscrlf/' \ |
71 | -e 's/remap/wcsremap/' \ |
72 | wcstools Makefile.am || die |
73 | sed -i -e "s/3.7.x/${PV}/" "${S}"/configure.ac || die "sed failed" |
74 | eautoreconf |
75 | } |
76 | |
77 | src_test() { |
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 libned/NED_client || die "dodoc failed" |
90 | newdoc libwcs/Readme Readme.libwcs || die "newdoc failed" |
91 | newdoc libwcs/NEWS NEWS.libwcs || die "newdoc failed" |
92 | } |
93 | |
94 | pkg_postinst() { |
95 | elog "The following execs have been renamed to avoid colliding" |
96 | elog "with other packages:" |
97 | elog " getdate -> wcsgetdate" |
98 | elog " crlf -> wcscrlf" |
99 | elog " remap -> wcsremap" |
100 | } |