1 |
commit: 58a3a6f73d0821a13121a9ec589d7df84e507b35 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 27 20:44:26 2014 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 27 20:44:26 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=58a3a6f7 |
7 |
|
8 |
sci-astronomy/eye: EAPI-5, autotools-utils |
9 |
|
10 |
Package-Manager: portage-2.2.8-prefix |
11 |
|
12 |
--- |
13 |
sci-astronomy/eye/ChangeLog | 8 +++- |
14 |
sci-astronomy/eye/eye-1.4.1.ebuild | 32 ------------- |
15 |
sci-astronomy/eye/eye-9999.ebuild | 16 +++---- |
16 |
sci-astronomy/eye/files/eye-1.4.1-configure.patch | 58 ----------------------- |
17 |
sci-astronomy/eye/metadata.xml | 4 +- |
18 |
5 files changed, 16 insertions(+), 102 deletions(-) |
19 |
|
20 |
diff --git a/sci-astronomy/eye/ChangeLog b/sci-astronomy/eye/ChangeLog |
21 |
index 153dbfc..32e5162 100644 |
22 |
--- a/sci-astronomy/eye/ChangeLog |
23 |
+++ b/sci-astronomy/eye/ChangeLog |
24 |
@@ -1,7 +1,12 @@ |
25 |
# ChangeLog for sci-astronomy/eye |
26 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
27 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
# $Header: $ |
29 |
|
30 |
+ 27 Feb 2014; Sébastien Fabbro <bicatali@g.o> -Manifest, |
31 |
+ -eye-1.4.1.ebuild, -files/eye-1.4.1-configure.patch, eye-9999.ebuild, |
32 |
+ metadata.xml: |
33 |
+ sci-astronomy/eye: EAPI-5, autotools-utils |
34 |
+ |
35 |
03 Mar 2013; Justin Lecher <jlec@g.o> eye-9999.ebuild, metadata.xml: |
36 |
Clean wrong space and blank lines |
37 |
|
38 |
@@ -22,4 +27,3 @@ |
39 |
18 Nov 2010; Sébastien Fabbro <bicatali@g.o> +eye-1.4.1.ebuild, |
40 |
+files/eye-1.4.1-configure.patch, +metadata.xml: |
41 |
Initial import |
42 |
- |
43 |
|
44 |
diff --git a/sci-astronomy/eye/eye-1.4.1.ebuild b/sci-astronomy/eye/eye-1.4.1.ebuild |
45 |
deleted file mode 100644 |
46 |
index 082194e..0000000 |
47 |
--- a/sci-astronomy/eye/eye-1.4.1.ebuild |
48 |
+++ /dev/null |
49 |
@@ -1,32 +0,0 @@ |
50 |
-# Copyright 1999-2014 Gentoo Foundation |
51 |
-# Distributed under the terms of the GNU General Public License v2 |
52 |
-# $Header: $ |
53 |
- |
54 |
-EAPI=4 |
55 |
-inherit autotools eutils |
56 |
- |
57 |
-DESCRIPTION="Enhance astronomical object extraction with neural network filters" |
58 |
-HOMEPAGE="http://www.astromatic.net/software/eye" |
59 |
-SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz" |
60 |
- |
61 |
-LICENSE="GPL-3" |
62 |
-SLOT="0" |
63 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
64 |
-IUSE="doc threads" |
65 |
- |
66 |
-RDEPEND="" |
67 |
-DEPEND="${RDEPEND}" |
68 |
- |
69 |
-src_prepare() { |
70 |
- epatch "${FILESDIR}"/${P}-configure.patch |
71 |
- eautoreconf |
72 |
-} |
73 |
- |
74 |
-src_configure() { |
75 |
- econf $(use_enable threads) |
76 |
-} |
77 |
- |
78 |
-src_install () { |
79 |
- default |
80 |
- use doc && dodoc doc/*.pdf |
81 |
-} |
82 |
|
83 |
diff --git a/sci-astronomy/eye/eye-9999.ebuild b/sci-astronomy/eye/eye-9999.ebuild |
84 |
index cad6953..6128c94 100644 |
85 |
--- a/sci-astronomy/eye/eye-9999.ebuild |
86 |
+++ b/sci-astronomy/eye/eye-9999.ebuild |
87 |
@@ -2,7 +2,7 @@ |
88 |
# Distributed under the terms of the GNU General Public License v2 |
89 |
# $Header: $ |
90 |
|
91 |
-EAPI=4 |
92 |
+EAPI=5 |
93 |
|
94 |
if [[ ${PV} == "9999" ]] ; then |
95 |
_SVN=subversion |
96 |
@@ -14,7 +14,10 @@ else |
97 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
98 |
fi |
99 |
|
100 |
-inherit ${_SVN} autotools |
101 |
+AUTOTOOLS_AUTORECONF=1 |
102 |
+#AUTOTOOLS_IN_SOURCE_BUILD=1 |
103 |
+ |
104 |
+inherit ${_SVN} autotools-utils |
105 |
|
106 |
DESCRIPTION="Enhance astronomical object extraction with neural network filters" |
107 |
HOMEPAGE="http://www.astromatic.net/software/eye" |
108 |
@@ -26,15 +29,12 @@ IUSE="doc threads" |
109 |
RDEPEND="" |
110 |
DEPEND="${RDEPEND}" |
111 |
|
112 |
-src_prepare() { |
113 |
- eautoreconf |
114 |
-} |
115 |
- |
116 |
src_configure() { |
117 |
- econf $(use_enable threads) |
118 |
+ local myeconfargs=( $(use_enable threads) ) |
119 |
+ autotools-utils_src_configure |
120 |
} |
121 |
|
122 |
src_install () { |
123 |
- default |
124 |
+ autotools-utils_src_install |
125 |
use doc && dodoc doc/* |
126 |
} |
127 |
|
128 |
diff --git a/sci-astronomy/eye/files/eye-1.4.1-configure.patch b/sci-astronomy/eye/files/eye-1.4.1-configure.patch |
129 |
deleted file mode 100644 |
130 |
index 3694724..0000000 |
131 |
--- a/sci-astronomy/eye/files/eye-1.4.1-configure.patch |
132 |
+++ /dev/null |
133 |
@@ -1,58 +0,0 @@ |
134 |
-Respect user's flags. |
135 |
-Don't define --enable-icc (that's what the CC env is for) |
136 |
---- configure.ac.orig 2010-11-17 23:15:08.000000000 +0000 |
137 |
-+++ configure.ac 2010-11-17 23:30:56.000000000 +0000 |
138 |
-@@ -21,43 +21,14 @@ |
139 |
- |
140 |
- # Include macros |
141 |
- sinclude(acx_pthread.m4) |
142 |
--sinclude(acx_prog_cc_optim.m4) |
143 |
- |
144 |
- # Display pakage and version number |
145 |
- AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********]) |
146 |
- |
147 |
--# Initialize the list of compilers to consider |
148 |
--cclist="cc gcc" |
149 |
-- |
150 |
--# Backup and reset the input CFLAGS and LDFLAGS |
151 |
--mycflags="$CFLAGS" |
152 |
--CFLAGS="" |
153 |
--myldflags="$LDFLAGS" |
154 |
--LDFLAGS="" |
155 |
-- |
156 |
--# Provide special option for the Linux Intel C compiler |
157 |
--AC_MSG_CHECKING([for Linux Intel C compiler mode]) |
158 |
--AC_ARG_ENABLE(icc, |
159 |
-- [AC_HELP_STRING([--enable-icc], |
160 |
-- [Enable special mode for compilation with the Intel compiler \ |
161 |
--(off by default)])], |
162 |
-- use_icc="yes" |
163 |
-- cclist="icc $cclist" |
164 |
-- AC_MSG_RESULT([yes]), |
165 |
-- use_icc="no" |
166 |
-- AC_MSG_RESULT([no])) |
167 |
-- |
168 |
-- |
169 |
--# Checks for programs. |
170 |
--# GCC is chosen last because it is likely to yield less optimized code |
171 |
--AC_LANG(C) |
172 |
--AC_PROG_CC([$cclist]) |
173 |
-+AC_PROG_CC |
174 |
- # C Compiler: Check that it is ANSI C and POSIX-compliant |
175 |
- AM_PROG_CC_STDC |
176 |
- AC_ISC_POSIX |
177 |
--ACX_PROG_CC_OPTIM |
178 |
--AC_DISABLE_STATIC |
179 |
--#AC_DISABLE_SHARED |
180 |
- AC_PROG_INSTALL |
181 |
- AC_PROG_RANLIB |
182 |
- |
183 |
-@@ -67,7 +38,7 @@ |
184 |
- # Checks for header files. |
185 |
- AC_HEADER_STDC |
186 |
- AC_CHECK_HEADERS(fcntl.h sys/mman.h time.h unistd.h) |
187 |
--if test $use_icc = "yes" -a $CC = "icc"; then |
188 |
-+if test $CC = "icc"; then |
189 |
- AC_CHECK_HEADERS(mathimf.h) |
190 |
- fi |
191 |
- |
192 |
|
193 |
diff --git a/sci-astronomy/eye/metadata.xml b/sci-astronomy/eye/metadata.xml |
194 |
index f5351e4..9c2032f 100644 |
195 |
--- a/sci-astronomy/eye/metadata.xml |
196 |
+++ b/sci-astronomy/eye/metadata.xml |
197 |
@@ -1,8 +1,8 @@ |
198 |
<?xml version="1.0" encoding="UTF-8"?> |
199 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
200 |
<pkgmetadata> |
201 |
- <herd>sci-astronomy</herd> |
202 |
- <longdescription lang="en"> |
203 |
+<herd>sci-astronomy</herd> |
204 |
+<longdescription lang="en"> |
205 |
In EyE (Enhance Your Extraction) an artificial neural network |
206 |
connected to pixels of a moving window (retina) is trained to |
207 |
associate these input stimuli to the corresponding response in one |