Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
Date: Thu, 27 Feb 2014 23:01:51
Message-Id: 1393531067.29d454bb00cf20c670b64ac4c265ce36dc38bcfa.bicatali@gentoo
1 commit: 29d454bb00cf20c670b64ac4c265ce36dc38bcfa
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 27 19:57:47 2014 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 27 19:57:47 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=29d454bb
7
8 sci-astronomy/sextractor: EAPI-5, autotools-utils, missing threads on atlas
9
10 Package-Manager: portage-2.2.8-prefix
11
12 ---
13 sci-astronomy/sextractor/ChangeLog | 7 +++++--
14 .../sextractor/sextractor-2.8.6-r1.ebuild | 5 +++--
15 sci-astronomy/sextractor/sextractor-9999.ebuild | 22 ++++++++++++++--------
16 3 files changed, 22 insertions(+), 12 deletions(-)
17
18 diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog
19 index fc4b8f9..b5426c1 100644
20 --- a/sci-astronomy/sextractor/ChangeLog
21 +++ b/sci-astronomy/sextractor/ChangeLog
22 @@ -1,7 +1,11 @@
23 # ChangeLog for sci-astronomy/sextractor
24 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
25 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
26 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v 1.3 2011/08/04 18:32:38 bicatali Exp $
27
28 + 27 Feb 2014; Sébastien Fabbro <bicatali@g.o>
29 + sextractor-2.8.6-r1.ebuild, sextractor-9999.ebuild:
30 + sci-astronomy/sextractor: EAPI-5, autotools-utils, missing threads on atlas
31 +
32 *sextractor-9999 (04 Jul 2012)
33
34 04 Jul 2012; Sébastien Fabbro <bicatali@g.o>
35 @@ -51,4 +55,3 @@
36
37 26 Nov 2005; Sebastien Fabbro <seb@×××××××.pt> +sextractor-2.4.4.ebuild:
38 Initial import. Close bug #65684
39 -
40
41 diff --git a/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild b/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
42 index f6e4a0c..e70d3e3 100644
43 --- a/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
44 +++ b/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
45 @@ -2,7 +2,7 @@
46 # Distributed under the terms of the GNU General Public License v2
47 # $Header: $
48
49 -EAPI=4
50 +EAPI=5
51 inherit eutils autotools
52
53 DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
54 @@ -14,7 +14,8 @@ SLOT="0"
55 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
56 IUSE="doc threads"
57
58 -RDEPEND="sci-libs/atlas[lapack]
59 +RDEPEND="
60 + sci-libs/atlas[lapack]
61 sci-libs/fftw:3.0"
62 DEPEND="${RDEPEND}"
63
64
65 diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
66 index d79f690..c09faac 100644
67 --- a/sci-astronomy/sextractor/sextractor-9999.ebuild
68 +++ b/sci-astronomy/sextractor/sextractor-9999.ebuild
69 @@ -2,7 +2,7 @@
70 # Distributed under the terms of the GNU General Public License v2
71 # $Header: $
72
73 -EAPI=4
74 +EAPI=5
75
76 if [[ ${PV} == "9999" ]] ; then
77 _SVN=subversion
78 @@ -14,7 +14,9 @@ else
79 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
80 fi
81
82 -inherit ${_SVN} autotools
83 +AUTOTOOLS_IN_SOURCE_BUILD=1
84 +
85 +inherit ${_SVN} autotools-utils
86
87 DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
88 HOMEPAGE="http://www.astromatic.net/software/sextractor"
89 @@ -24,7 +26,8 @@ SLOT="0"
90 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
91 IUSE="doc modelfit threads"
92
93 -RDEPEND="modelfit? ( sci-libs/atlas[lapack] sci-libs/fftw:3.0 )"
94 +RDEPEND="
95 + modelfit? ( sci-libs/atlas[lapack,threads=] sci-libs/fftw:3.0 )"
96 DEPEND="${RDEPEND}"
97
98 src_prepare() {
99 @@ -42,19 +45,22 @@ src_prepare() {
100 -e "s/-llapack/-l${myclapack}/g" \
101 -e "s/AC_CHECK_LIB(lapack/AC_CHECK_LIB(${myclapack}/g" \
102 acx_atlas.m4 || die
103 - eautoreconf
104 + AUTOTOOLS_AUTORECONF=1
105 fi
106 + autotools-utils_src_prepare
107 }
108
109 src_configure() {
110 - econf \
111 - --with-atlas-incdir="${EPREFIX}/usr/include/atlas" \
112 - $(use_enable modelfit model-fitting) \
113 + local myeconfargs=(
114 + --with-atlas-incdir="${EPREFIX}/usr/include/atlas"
115 + $(use_enable modelfit model-fitting)
116 $(use_enable threads)
117 + )
118 + autotools-utils_src_configure
119 }
120
121 src_install () {
122 - default
123 + autotools-utils_src_install
124 CONFDIR=/usr/share/sextractor
125 insinto ${CONFDIR}
126 doins config/*