1 |
bicatali 11/05/03 22:37:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wcstools-3.8.3.ebuild |
5 |
Removed: wcstools-3.8.2.ebuild wcstools-3.8.1-r1.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
|
9 |
(Portage version: 2.1.9.46/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.20 sci-astronomy/wcstools/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.20&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.20&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcstools/ChangeLog?r1=1.19&r2=1.20 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v |
21 |
retrieving revision 1.19 |
22 |
retrieving revision 1.20 |
23 |
diff -u -r1.19 -r1.20 |
24 |
--- ChangeLog 10 Apr 2011 15:10:40 -0000 1.19 |
25 |
+++ ChangeLog 3 May 2011 22:37:08 -0000 1.20 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for sci-astronomy/wcstools |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.19 2011/04/10 15:10:40 bicatali Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.20 2011/05/03 22:37:08 bicatali Exp $ |
31 |
+ |
32 |
+*wcstools-3.8.3 (03 May 2011) |
33 |
+ |
34 |
+ 03 May 2011; Sébastien Fabbro <bicatali@g.o> |
35 |
+ -wcstools-3.8.1-r1.ebuild, -wcstools-3.8.2.ebuild, |
36 |
+ -files/wcstools-3.8.2-autotools.patch, +wcstools-3.8.3.ebuild, |
37 |
+ +files/wcstools-3.8.3-autotools.patch: |
38 |
+ Version bump |
39 |
|
40 |
*wcstools-3.8.2 (10 Apr 2011) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 sci-astronomy/wcstools/wcstools-3.8.3.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcstools/wcstools-3.8.3.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcstools/wcstools-3.8.3.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: wcstools-3.8.3.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2011 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.8.3.ebuild,v 1.1 2011/05/03 22:37:08 bicatali Exp $ |
55 |
|
56 |
EAPI=4 |
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 ~ppc ~x86" |
66 |
IUSE="" |
67 |
|
68 |
src_prepare() { |
69 |
epatch \ |
70 |
"${FILESDIR}"/${PN}-3.8.3-autotools.patch \ |
71 |
"${FILESDIR}"/${PN}-3.8.1-format.patch \ |
72 |
"${FILESDIR}"/${PN}-3.8.1-invalid_free.patch \ |
73 |
"${FILESDIR}"/${PN}-3.8.1-overflows.patch |
74 |
|
75 |
# avoid colliding with fixdos, getdate and remap from other packages |
76 |
sed -i \ |
77 |
-e 's/getdate/wcsgetdate/' \ |
78 |
-e 's/crlf/wcscrlf/' \ |
79 |
-e 's/remap/wcsremap/' \ |
80 |
-e "s/3.... Programs/${PV} Programs/" \ |
81 |
wcstools || die |
82 |
eautoreconf |
83 |
} |
84 |
|
85 |
src_test() { |
86 |
einfo "Testing various wcstools programs" |
87 |
./newfits -a 10 -j 248 41 -p 0.15 test.fits || die "test newfits failed" |
88 |
./sethead test.fits A=1 B=1 || die "test sethead failed" |
89 |
[[ "$(./gethead test.fits RA)" == "16:32:00.000" ]] \ |
90 |
|| die "test gethead failed" |
91 |
rm -f test.fits |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
emake DESTDIR="${D}" install |
96 |
doman Man/man1/* |
97 |
dodoc Readme Programs NEWS libned/NED_client |
98 |
newdoc libwcs/Readme Readme.libwcs |
99 |
newdoc libwcs/NEWS NEWS.libwcs |
100 |
} |
101 |
|
102 |
pkg_postinst() { |
103 |
elog "The following execs have been renamed to avoid colliding" |
104 |
elog "with other packages:" |
105 |
elog " getdate -> wcsgetdate" |
106 |
elog " crlf -> wcscrlf" |
107 |
elog " remap -> wcsremap" |
108 |
} |