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: wcslib-4.20.ebuild ChangeLog wcslib-4.17.ebuild
Date: Tue, 28 Jan 2014 18:23:18
Message-Id: 20140128182315.192682004C@flycatcher.gentoo.org
1 bicatali 14/01/28 18:23:15
2
3 Modified: ChangeLog
4 Added: wcslib-4.20.ebuild
5 Removed: wcslib-4.17.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
10
11 Revision Changes Path
12 1.38 sci-astronomy/wcslib/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.38&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.38&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?r1=1.37&r2=1.38
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v
21 retrieving revision 1.37
22 retrieving revision 1.38
23 diff -u -r1.37 -r1.38
24 --- ChangeLog 22 Nov 2013 19:48:22 -0000 1.37
25 +++ ChangeLog 28 Jan 2014 18:23:14 -0000 1.38
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-astronomy/wcslib
28 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.37 2013/11/22 19:48:22 bicatali Exp $
30 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.38 2014/01/28 18:23:14 bicatali Exp $
32 +
33 +*wcslib-4.20 (28 Jan 2014)
34 +
35 + 28 Jan 2014; Sébastien Fabbro <bicatali@g.o> +wcslib-4.20.ebuild,
36 + -wcslib-4.17.ebuild:
37 + Version bump
38
39 *wcslib-4.19 (22 Nov 2013)
40
41
42
43
44 1.1 sci-astronomy/wcslib/wcslib-4.20.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.20.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.20.ebuild?rev=1.1&content-type=text/plain
48
49 Index: wcslib-4.20.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.20.ebuild,v 1.1 2014/01/28 18:23:14 bicatali Exp $
54
55 EAPI=5
56
57 FORTRAN_NEEDED=fortran
58
59 inherit eutils fortran-2 multilib
60
61 DESCRIPTION="Astronomical World Coordinate System transformations library"
62 HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/"
63 SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2"
64
65 SLOT="0/4"
66 LICENSE="LGPL-3"
67 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
68 IUSE="doc fortran fits pgplot static-libs"
69
70 RDEPEND="
71 fits? ( sci-libs/cfitsio )
72 pgplot? ( sci-libs/pgplot )"
73 DEPEND="${RDEPEND}
74 sys-devel/flex
75 virtual/pkgconfig"
76
77 src_prepare() {
78 sed -i -e 's/COPYING\*//' GNUmakefile || die
79 }
80
81 src_configure() {
82 local myconf=()
83 # hacks because cfitsio and pgplot directories are hard-coded
84 if use fits; then
85 myconf+=(
86 --with-cfitsioinc="${EROOT}/usr/include"
87 --with-cfitsiolib="${EROOT}/usr/$(get_libdir)"
88 )
89 else
90 myconf+=( --without-cfitsio )
91 fi
92 if use pgplot; then
93 myconf+=(
94 --with-pgplotinc="${EROOT}/usr/include"
95 --with-pgplotlib="${EROOT}/usr/$(get_libdir)"
96 )
97 else
98 myconf+=( --without-pgplot )
99 fi
100 econf \
101 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
102 $(use_enable static-libs static) \
103 $(use_enable fortran) \
104 ${myconf[@]}
105 }
106
107 src_compile() {
108 # nasty makefile, debugging means full rewrite
109 emake -j1
110 }
111
112 src_test() {
113 emake -j1 check
114 }
115
116 src_install () {
117 default
118 # static libs are same as shared (compiled with PIC)
119 # so they are not compiled twice
120 use static-libs || rm "${ED}"/usr/$(get_libdir)/lib*.a
121 use doc || rm -r "${ED}"/usr/share/doc/${PF}/html \
122 "${ED}"/usr/share/doc/${PF}/*.pdf
123 }