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/wcslib: ChangeLog wcslib-4.5.4.ebuild wcslib-4.5.3.ebuild wcslib-4.5.ebuild
Date: Sun, 10 Oct 2010 02:03:36
Message-Id: 20101010012725.6FCA02004C@flycatcher.gentoo.org
1 bicatali 10/10/10 01:27:25
2
3 Modified: ChangeLog
4 Added: wcslib-4.5.4.ebuild
5 Removed: wcslib-4.5.3.ebuild wcslib-4.5.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.2_rc91/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.13 sci-astronomy/wcslib/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.13&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.13&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?r1=1.12&r2=1.13
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v
21 retrieving revision 1.12
22 retrieving revision 1.13
23 diff -u -r1.12 -r1.13
24 --- ChangeLog 23 Sep 2010 22:37:20 -0000 1.12
25 +++ ChangeLog 10 Oct 2010 01:27:25 -0000 1.13
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-astronomy/wcslib
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.12 2010/09/23 22:37:20 bicatali Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.13 2010/10/10 01:27:25 bicatali Exp $
31 +
32 +*wcslib-4.5.4 (10 Oct 2010)
33 +
34 + 10 Oct 2010; Sébastien Fabbro <bicatali@g.o> -wcslib-4.5.ebuild,
35 + -wcslib-4.5.3.ebuild, +wcslib-4.5.4.ebuild:
36 + Version bump
37
38 *wcslib-4.5.3 (23 Sep 2010)
39
40
41
42
43 1.1 sci-astronomy/wcslib/wcslib-4.5.4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.5.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.5.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: wcslib-4.5.4.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.5.4.ebuild,v 1.1 2010/10/10 01:27:25 bicatali Exp $
53
54 EAPI=2
55 inherit eutils virtualx flag-o-matic autotools
56
57 DESCRIPTION="Astronomical World Coordinate System transformations library"
58 HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
59 SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2"
60
61 LICENSE="LGPL-3"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="doc fortran fits pgplot test"
65
66 RDEPEND="fits? ( sci-libs/cfitsio )
67 pgplot? ( sci-libs/pgplot )"
68 DEPEND="${RDEPEND}
69 test? ( media-fonts/font-misc-misc
70 media-fonts/font-cursor-misc )"
71
72 src_prepare() {
73 epatch "${FILESDIR}"/${PN}-4.4.4-destdir.patch
74 epatch "${FILESDIR}"/${PN}-4.4.4-ldflags.patch
75 epatch "${FILESDIR}"/${PN}-4.5.3-fortran.patch
76 eautoreconf
77 }
78
79 src_configure() {
80 econf \
81 $(use_enable fortran) \
82 $(use_with fits cfitsio) \
83 $(use_with pgplot)
84 }
85
86 src_compile() {
87 # -j1 forced. build system too crappy to be worth debugging
88 emake -j1 || die "emake failed"
89 }
90
91 src_test() {
92 Xemake check || die "emake test failed"
93 }
94
95 src_install () {
96 emake DESTDIR="${D}" install || die "emake install failed"
97 dodoc README || die
98 if use doc; then
99 insinto /usr/share/doc/${PF}
100 doins -r *.pdf html || die
101 fi
102 }