1 |
commit: 36a155d361a28d68f280bca891db00aa47c78c4a |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 27 20:38:24 2014 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 27 20:38:24 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=36a155d3 |
7 |
|
8 |
sci-astronomy/scamp: EAPI-5, autotools-utils, fixed plplot flag |
9 |
|
10 |
Package-Manager: portage-2.2.8-prefix |
11 |
|
12 |
--- |
13 |
sci-astronomy/scamp/ChangeLog | 7 +++++-- |
14 |
sci-astronomy/scamp/metadata.xml | 10 +++++----- |
15 |
sci-astronomy/scamp/scamp-1.7.0-r2.ebuild | 24 +++++++++++++++--------- |
16 |
sci-astronomy/scamp/scamp-9999.ebuild | 26 +++++++++++++++++--------- |
17 |
4 files changed, 42 insertions(+), 25 deletions(-) |
18 |
|
19 |
diff --git a/sci-astronomy/scamp/ChangeLog b/sci-astronomy/scamp/ChangeLog |
20 |
index 8803b13..9e79b66 100644 |
21 |
--- a/sci-astronomy/scamp/ChangeLog |
22 |
+++ b/sci-astronomy/scamp/ChangeLog |
23 |
@@ -1,7 +1,11 @@ |
24 |
# ChangeLog for sci-astronomy/scamp |
25 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
26 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
27 |
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/scamp/ChangeLog,v 1.7 2011/08/04 18:32:22 bicatali Exp $ |
28 |
|
29 |
+ 27 Feb 2014; Sébastien Fabbro <bicatali@g.o> metadata.xml, |
30 |
+ scamp-1.7.0-r2.ebuild, scamp-9999.ebuild: |
31 |
+ sci-astronomy/scamp: EAPI-5, autotools-utils, fixed plplot flag |
32 |
+ |
33 |
14 Jun 2013; Justin Lecher <jlec@g.o> scamp-9999.ebuild, metadata.xml: |
34 |
Drop KEYWORDS of live ebuilds |
35 |
|
36 |
@@ -90,4 +94,3 @@ |
37 |
|
38 |
19 Sep 2006; Sebastien Fabbro <seb@×××××××.pt> +scamp-1.2.11.ebuild: |
39 |
Initial import. |
40 |
- |
41 |
|
42 |
diff --git a/sci-astronomy/scamp/metadata.xml b/sci-astronomy/scamp/metadata.xml |
43 |
index a02cbff..edd8754 100644 |
44 |
--- a/sci-astronomy/scamp/metadata.xml |
45 |
+++ b/sci-astronomy/scamp/metadata.xml |
46 |
@@ -1,13 +1,13 @@ |
47 |
<?xml version="1.0" encoding="UTF-8"?> |
48 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
49 |
<pkgmetadata> |
50 |
- <herd>sci-astronomy</herd> |
51 |
- <longdescription lang="en"> |
52 |
+<herd>sci-astronomy</herd> |
53 |
+<longdescription lang="en"> |
54 |
SCAMP computes astrometric and photometric solutions from SExtractor catalogs |
55 |
and stores them in header files. These headers files can be read by SWarp to |
56 |
coadd images. |
57 |
</longdescription> |
58 |
- <use> |
59 |
- <flag name="plplot">Build with <pkg>sci-libs/plplot</pkg> to allow diagnostic plots during processing</flag> |
60 |
- </use> |
61 |
+<use> |
62 |
+ <flag name="plplot">Build with <pkg>sci-libs/plplot</pkg> to allow diagnostic plots during processing</flag> |
63 |
+</use> |
64 |
</pkgmetadata> |
65 |
|
66 |
diff --git a/sci-astronomy/scamp/scamp-1.7.0-r2.ebuild b/sci-astronomy/scamp/scamp-1.7.0-r2.ebuild |
67 |
index 9c0c2e4..a0b3afa 100644 |
68 |
--- a/sci-astronomy/scamp/scamp-1.7.0-r2.ebuild |
69 |
+++ b/sci-astronomy/scamp/scamp-1.7.0-r2.ebuild |
70 |
@@ -2,8 +2,12 @@ |
71 |
# Distributed under the terms of the GNU General Public License v2 |
72 |
# $Header: $ |
73 |
|
74 |
-EAPI=4 |
75 |
-inherit eutils autotools |
76 |
+EAPI=5 |
77 |
+ |
78 |
+AUTOTOOLS_AUTORECONF=1 |
79 |
+AUTOTOOLS_IN_SOURCE_BUILD=1 |
80 |
+ |
81 |
+inherit eutils autotools-utils multilib |
82 |
|
83 |
DESCRIPTION="Astrometric and photometric solutions for astronomical images" |
84 |
HOMEPAGE="http://www.astromatic.net/software/scamp" |
85 |
@@ -15,9 +19,9 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
86 |
IUSE="doc threads plplot" |
87 |
|
88 |
RDEPEND=">=sci-astronomy/cdsclient-3.4 |
89 |
- sci-libs/atlas[lapack] |
90 |
+ sci-libs/atlas[lapack,threads=] |
91 |
sci-libs/fftw:3.0 |
92 |
- plplot? ( sci-libs/plplot )" |
93 |
+ plplot? ( sci-libs/plplot:= )" |
94 |
DEPEND="${RDEPEND}" |
95 |
|
96 |
src_prepare() { |
97 |
@@ -38,17 +42,19 @@ src_prepare() { |
98 |
acx_atlas.m4 || die |
99 |
epatch "${FILESDIR}"/${P}-plplot599.patch |
100 |
sed -i -e 's/doc//' Makefile.am || die |
101 |
- eautoreconf |
102 |
+ autotools-utils_src_prepare |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
- econf \ |
107 |
- --with-atlas-incdir="${EPREFIX}/usr/include/atlas" \ |
108 |
- $(use_with plplot) \ |
109 |
+ local myeconfargs=( |
110 |
+ --with-atlas-incdir="${EPREFIX}/usr/include/atlas" |
111 |
+ $(use_with plplot) |
112 |
$(use_enable threads) |
113 |
+ ) |
114 |
+ autotools-utils_src_configure |
115 |
} |
116 |
|
117 |
src_install () { |
118 |
- default |
119 |
+ autotools-utils_src_install |
120 |
use doc && dodoc doc/* |
121 |
} |
122 |
|
123 |
diff --git a/sci-astronomy/scamp/scamp-9999.ebuild b/sci-astronomy/scamp/scamp-9999.ebuild |
124 |
index 49729d3..8ce3177 100644 |
125 |
--- a/sci-astronomy/scamp/scamp-9999.ebuild |
126 |
+++ b/sci-astronomy/scamp/scamp-9999.ebuild |
127 |
@@ -2,7 +2,7 @@ |
128 |
# Distributed under the terms of the GNU General Public License v2 |
129 |
# $Header: $ |
130 |
|
131 |
-EAPI=4 |
132 |
+EAPI=5 |
133 |
|
134 |
if [[ ${PV} == "9999" ]] ; then |
135 |
_SVN=subversion |
136 |
@@ -14,7 +14,10 @@ else |
137 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
138 |
fi |
139 |
|
140 |
-inherit ${_SVN} autotools |
141 |
+AUTOTOOLS_AUTORECONF=1 |
142 |
+AUTOTOOLS_IN_SOURCE_BUILD=1 |
143 |
+ |
144 |
+inherit ${_SVN} autotools-utils multilib |
145 |
|
146 |
DESCRIPTION="Astrometric and photometric solutions for astronomical images" |
147 |
HOMEPAGE="http://www.astromatic.net/software/scamp" |
148 |
@@ -23,10 +26,11 @@ LICENSE="GPL-3" |
149 |
SLOT="0" |
150 |
IUSE="doc plplot threads" |
151 |
|
152 |
-RDEPEND=">=sci-astronomy/cdsclient-3.4 |
153 |
- sci-libs/atlas[lapack] |
154 |
+RDEPEND=" |
155 |
+ >=sci-astronomy/cdsclient-3.4 |
156 |
+ sci-libs/atlas[lapack,threads=] |
157 |
sci-libs/fftw:3.0 |
158 |
- plplot? ( sci-libs/plplot )" |
159 |
+ plplot? ( sci-libs/plplot:= )" |
160 |
DEPEND="${RDEPEND}" |
161 |
|
162 |
src_prepare() { |
163 |
@@ -41,18 +45,22 @@ src_prepare() { |
164 |
-e "s/-lcblas/-l${mycblas}/g" \ |
165 |
-e "s/AC_CHECK_LIB(cblas/AC_CHECK_LIB(${mycblas}/g" \ |
166 |
-e "s/-llapack/-l${myclapack}/g" \ |
167 |
+ -e "s/\(lapack_lib=\).*/\1${myclapack}/g" \ |
168 |
-e "s/AC_CHECK_LIB(lapack/AC_CHECK_LIB(${myclapack}/g" \ |
169 |
acx_atlas.m4 || die |
170 |
- eautoreconf |
171 |
+ autotools-utils_src_prepare |
172 |
} |
173 |
|
174 |
src_configure() { |
175 |
- econf \ |
176 |
- --with-atlas-incdir="${EPREFIX}/usr/include/atlas" \ |
177 |
+ local myeconfargs=( |
178 |
+ --with-atlas-incdir="${EPREFIX}/usr/include/atlas" |
179 |
+ $(use_enable plplot) |
180 |
$(use_enable threads) |
181 |
+ ) |
182 |
+ autotools-utils_src_configure |
183 |
} |
184 |
|
185 |
src_install () { |
186 |
- default |
187 |
+ autotools-utils_src_install |
188 |
use doc && dodoc doc/* |
189 |
} |