1 |
bicatali 08/11/26 11:07:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wcstools-3.7.6-r1.ebuild |
5 |
Removed: wcstools-3.7.6.ebuild wcstools-3.7.4.ebuild |
6 |
Log: |
7 |
Rename crlf to wcscrlf and getdate to wcsgetdate to avoid colliding with other packages, closing bug #248235 |
8 |
(Portage version: 2.2_rc15/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.11 sci-astronomy/wcstools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.11&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.11&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?r1=1.10&r2=1.11 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v |
20 |
retrieving revision 1.10 |
21 |
retrieving revision 1.11 |
22 |
diff -u -r1.10 -r1.11 |
23 |
--- ChangeLog 5 Nov 2008 22:00:15 -0000 1.10 |
24 |
+++ ChangeLog 26 Nov 2008 11:07:39 -0000 1.11 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for sci-astronomy/wcstools |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.10 2008/11/05 22:00:15 bicatali Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.11 2008/11/26 11:07:39 bicatali Exp $ |
30 |
+ |
31 |
+*wcstools-3.7.6-r1 (26 Nov 2008) |
32 |
+ |
33 |
+ 26 Nov 2008; Sébastien Fabbro <bicatali@g.o> |
34 |
+ -files/wcstools-3.7.1-autotools.patch, |
35 |
+ files/wcstools-3.7.6-autotools.patch, -wcstools-3.7.4.ebuild, |
36 |
+ -wcstools-3.7.6.ebuild, +wcstools-3.7.6-r1.ebuild: |
37 |
+ Rename crlf to wcscrlf and getdate to wcsgetdate to avoid colliding with |
38 |
+ other packages, closing bug #248235 |
39 |
|
40 |
*wcstools-3.7.6 (05 Nov 2008) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 sci-astronomy/wcstools/wcstools-3.7.6-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.6-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.6-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: wcstools-3.7.6-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2008 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.6-r1.ebuild,v 1.1 2008/11/26 11:07:39 bicatali Exp $ |
55 |
|
56 |
EAPI=2 |
57 |
inherit eutils autotools |
58 |
|
59 |
DESCRIPTION="World Coordinate System library for astronomical FITS images" |
60 |
HOMEPAGE="http://tdc-www.harvard.edu/software/wcstools" |
61 |
SRC_URI="http://tdc-www.harvard.edu/software/${PN}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2 LGPL-2.1" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
src_prepare() { |
69 |
epatch "${FILESDIR}"/${PN}-3.7.0-fix-leaks.patch |
70 |
epatch "${FILESDIR}"/${P}-autotools.patch |
71 |
sed -i -e 's/3.7.x/${PV}/' "${S}"/configure.ac || die "sed failed" |
72 |
eautoreconf |
73 |
# avoid colliding with fixdos and getdate (also in autotools patch) |
74 |
sed -i \ |
75 |
-e 's/getdate/wcsgetdate/' \ |
76 |
-e 's/crlf/wcscrlf/' \ |
77 |
wcstools || die |
78 |
} |
79 |
|
80 |
src_test() { |
81 |
einfo "Testing various wcstools programs" |
82 |
./newfits -a 10 -j 248 41 -p 0.15 test.fits || die "test newfits failed" |
83 |
./sethead test.fits A=1 B=1 || die "test sethead failed" |
84 |
[[ "$(./gethead test.fits RA)" == "16:32:00.000" ]] \ |
85 |
|| die "test gethead failed" |
86 |
rm -f test.fits |
87 |
} |
88 |
|
89 |
src_install() { |
90 |
emake DESTDIR="${D}" install || die "emake install failed" |
91 |
doman Man/man1/* || die "doman failed" |
92 |
dodoc Readme Programs NEWS libned/NED_client || die "dodoc failed" |
93 |
newdoc libwcs/Readme Readme.libwcs || die "newdoc failed" |
94 |
newdoc libwcs/NEWS NEWS.libwcs || die "newdoc failed" |
95 |
} |
96 |
|
97 |
pkg_postinst() { |
98 |
elog "The following execs have been renamed to avoid colliding" |
99 |
elog "with other packages:" |
100 |
elog " getdate -> wcsgetdate" |
101 |
elog " crlf -> wcscrlf" |
102 |
} |