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/sextractor: ChangeLog sextractor-2.8.6.ebuild
Date: Tue, 28 Jul 2009 17:39:05
Message-Id: E1MVqdj-00083G-1t@stork.gentoo.org
1 bicatali 09/07/28 17:39:03
2
3 Modified: ChangeLog
4 Added: sextractor-2.8.6.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sci-astronomy/sextractor/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/sextractor/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/sextractor/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/sextractor/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 17 Feb 2009 20:44:23 -0000 1.1
23 +++ ChangeLog 28 Jul 2009 17:39:02 -0000 1.2
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-astronomy/sextractor
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v 1.1 2009/02/17 20:44:23 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v 1.2 2009/07/28 17:39:02 bicatali Exp $
29 +
30 +*sextractor-2.8.6 (28 Jul 2009)
31 +
32 + 28 Jul 2009; Sébastien Fabbro <bicatali@g.o>
33 + +sextractor-2.8.6.ebuild, +files/sextractor-configure.patch:
34 + Version bump
35
36 *sextractor-2.5.0 (17 Feb 2009)
37
38
39
40
41 1.1 sci-astronomy/sextractor/sextractor-2.8.6.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sextractor-2.8.6.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild,v 1.1 2009/07/28 17:39:02 bicatali Exp $
51
52 EAPI=2
53 inherit eutils autotools
54
55 DESCRIPTION="Extract catalogs of sources from astronomical FITS images."
56 HOMEPAGE="http://astromatic.iap.fr/software/sextractor"
57 SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz"
58
59 LICENSE="CeCILL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="doc threads"
63
64 RDEPEND="virtual/cblas
65 >=sci-libs/lapack-atlas-3.8.0
66 sci-libs/fftw:3.0"
67 DEPEND="${RDEPEND}"
68
69 src_prepare() {
70 epatch "${FILESDIR}"/${PN}-configure.patch
71 # gentoo uses cblas instead of ptcblas (linked to threaded with eselect)
72 sed -i \
73 -e 's/ptcblas/cblas/g' \
74 acx_atlas.m4 || die "sed acx_atlas.m4 failed"
75 eautoreconf
76 }
77
78 src_configure() {
79 econf \
80 --with-atlas="/usr/$(get_libdir)/lapack/atlas" \
81 $(use_enable threads)
82 }
83
84 src_install () {
85 emake DESTDIR="${D}" install || die "emake install failed"
86 dodoc AUTHORS BUGS ChangeLog HISTORY README THANKS
87 CONFDIR=/usr/share/sextractor
88 insinto ${CONFDIR}
89 doins config/* || die
90 if use doc; then
91 insinto /usr/share/doc/${PF}
92 doins doc/* || die
93 fi
94 }
95
96 pkg_postinst() {
97 elog "SExtractor examples configuration files are located"
98 elog "in ${CONFDIR} and are not loaded anymore by default."
99 }