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/missfits/files/, sci-astronomy/missfits/
Date: Thu, 27 Feb 2014 23:01:57
Message-Id: 1393540217.e130e62c5f118131b595864959049b05b20cf48a.bicatali@gentoo
1 commit: e130e62c5f118131b595864959049b05b20cf48a
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 27 22:30:17 2014 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 27 22:30:17 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e130e62c
7
8 sci-astronomy/missfits: EAPI-5, autotools-utils
9
10 Package-Manager: portage-2.2.8-prefix
11
12 ---
13 sci-astronomy/missfits/ChangeLog | 8 +-
14 .../missfits/files/missfits-2.4.0-configure.patch | 108 ---------------------
15 sci-astronomy/missfits/missfits-2.4.0.ebuild | 29 ------
16 sci-astronomy/missfits/missfits-9999.ebuild | 11 +--
17 4 files changed, 10 insertions(+), 146 deletions(-)
18
19 diff --git a/sci-astronomy/missfits/ChangeLog b/sci-astronomy/missfits/ChangeLog
20 index b1cba2a..6ff1dea 100644
21 --- a/sci-astronomy/missfits/ChangeLog
22 +++ b/sci-astronomy/missfits/ChangeLog
23 @@ -1,7 +1,12 @@
24 # ChangeLog for sci-astronomy/missfits
25 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
26 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
27 # $Header: $
28
29 + 27 Feb 2014; Sébastien Fabbro <bicatali@g.o> -Manifest,
30 + -files/missfits-2.4.0-configure.patch, -missfits-2.4.0.ebuild,
31 + missfits-9999.ebuild:
32 + sci-astronomy/missfits: EAPI-5, autotools-utils
33 +
34 *missfits-9999 (09 Jul 2012)
35
36 09 Jul 2012; Sébastien Fabbro <bicatali@g.o> missfits-2.4.0.ebuild,
37 @@ -21,4 +26,3 @@
38 18 Nov 2010; Sébastien Fabbro <bicatali@g.o> +missfits-2.4.0.ebuild,
39 +files/missfits-2.4.0-configure.patch, +metadata.xml:
40 Initial import
41 -
42
43 diff --git a/sci-astronomy/missfits/files/missfits-2.4.0-configure.patch b/sci-astronomy/missfits/files/missfits-2.4.0-configure.patch
44 deleted file mode 100644
45 index 1e8eb49..0000000
46 --- a/sci-astronomy/missfits/files/missfits-2.4.0-configure.patch
47 +++ /dev/null
48 @@ -1,108 +0,0 @@
49 ---- configure.ac.orig 2010-11-17 23:51:53.000000000 +0000
50 -+++ configure.ac 2010-11-17 23:54:58.000000000 +0000
51 -@@ -20,51 +20,18 @@
52 - AC_SUBST(DATE3, "$date3")
53 -
54 - # Include macros
55 --sinclude(acx_prog_cc_optim.m4)
56 - sinclude(acx_urbi_resolve_dir.m4)
57 -
58 - # Display pakage and version number
59 - AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********])
60 -
61 --# Initialize the list of compilers to consider
62 --cclist="cc gcc"
63 --
64 --# Provide special option for choosing automatically the compilation flags.
65 --AC_MSG_CHECKING([if compilation flags are set automatically])
66 --AC_ARG_ENABLE(auto-flags,
67 -- [AC_HELP_STRING([--enable-auto-flags],
68 -- [Let the configure script choose the compilation flags \
69 --(off by default)])],
70 -- use_autoflag="yes"
71 -- AC_MSG_RESULT([yes]),
72 -- use_autoflag="no"
73 -- AC_MSG_RESULT([no]))
74 --
75 --# Provide special option for the Linux Intel C compiler
76 --AC_MSG_CHECKING([for Linux Intel C compiler mode])
77 --AC_ARG_ENABLE(icc,
78 -- [AC_HELP_STRING([--enable-icc],
79 -- [Enable special mode for compilation with the Intel compiler \
80 --(off by default)])],
81 -- use_icc="yes"
82 -- cclist="icc $cclist"
83 -- AC_MSG_RESULT([yes]),
84 -- use_icc="no"
85 -- AC_MSG_RESULT([no]))
86 --
87 - # Checks for programs.
88 - # GCC is chosen last because it is likely to yield less optimized code
89 --AC_PROG_CC([$cclist])
90 -+AC_PROG_CC
91 - # C Compiler: Check that it is ANSI C
92 - AM_PROG_CC_STDC
93 - # C Compiler: Check that it is POSIX-compliant
94 - AC_ISC_POSIX
95 --# Override automatic CFLAGS and LDFLAGS with those of user
96 --if test "$use_autoflag" = "yes"; then
97 -- CFLAGS=""
98 -- LDFLAGS =""
99 -- ACX_PROG_CC_OPTIM
100 --fi
101 - AC_PROG_RANLIB
102 - AC_PROG_INSTALL
103 -
104 -@@ -75,7 +42,7 @@
105 - # Checks for header files.
106 - AC_HEADER_STDC
107 - AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h sys/mman.h])
108 --if test $use_icc = "yes" -a $CC = "icc"; then
109 -+if test $CC = "icc"; then
110 - AC_CHECK_HEADERS(mathimf.h)
111 - fi
112 -
113 -@@ -115,43 +82,6 @@
114 -
115 - AC_DEFINE_UNQUOTED([XSL_URL], "$xsl_url",[Default URL of the XSLT filter])
116 -
117 --# Provide special option for gprof profiling
118 --AC_MSG_CHECKING([for gprof profiler mode])
119 --AC_ARG_ENABLE(gprof,
120 -- [AC_HELP_STRING([--enable-gprof],
121 -- [Enable special mode for compilation with the gprof profiler \
122 --(off by default)])],
123 -- use_gprof="yes"
124 -- AC_MSG_RESULT([yes]),
125 -- use_gprof="no"
126 -- AC_MSG_RESULT([no]))
127 --
128 --# Enable linking options for making the executable as portable as possible.
129 --AC_MSG_CHECKING([best linking option])
130 --AC_ARG_ENABLE(best-link,
131 -- [AC_HELP_STRING([--enable-best-link],
132 -- [Choose the right combination of static and dynamic linking to make \
133 --the executable as portable as possible (off by default)])],
134 -- use_best="yes"
135 -- AC_MSG_RESULT([yes]),
136 -- use_best="no"
137 -- AC_MSG_RESULT([no]))
138 --
139 --# Link with gprof option
140 --if test "$use_gprof" = "yes"; then
141 -- if test "$use_icc" = "yes"; then
142 -- AM_CFLAGS="$AM_CFLAGS -pq"
143 -- else
144 -- AM_CFLAGS="$AM_CFLAGS -pg"
145 -- fi
146 -- use_best="no"
147 --fi
148 --
149 --# "Best" linking option
150 --if test "$use_best" = "yes"; then
151 -- AM_LDFLAGS="-shared-libgcc -static-libtool-libs $AM_LDFLAGS"
152 --fi
153 --
154 - # Display compiler and linker flags
155 - AC_MSG_RESULT([***************************************************************])
156 - AC_MSG_RESULT([Compile cmdline: $CC $AM_CPPFLAGS $CPPFLAGS $AM_CFLAGS $CFLAGS])
157
158 diff --git a/sci-astronomy/missfits/missfits-2.4.0.ebuild b/sci-astronomy/missfits/missfits-2.4.0.ebuild
159 deleted file mode 100644
160 index 75a9197..0000000
161 --- a/sci-astronomy/missfits/missfits-2.4.0.ebuild
162 +++ /dev/null
163 @@ -1,29 +0,0 @@
164 -# Copyright 1999-2014 Gentoo Foundation
165 -# Distributed under the terms of the GNU General Public License v2
166 -# $Header: $
167 -
168 -EAPI=4
169 -
170 -inherit autotools eutils
171 -
172 -DESCRIPTION="Performs basic maintenance and packaging tasks on FITS files"
173 -HOMEPAGE="http://www.astromatic.net/software/missfits/"
174 -SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
175 -
176 -LICENSE="GPL-3"
177 -SLOT="0"
178 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
179 -IUSE="doc"
180 -
181 -RDEPEND=""
182 -DEPEND="${RDEPEND}"
183 -
184 -src_prepare() {
185 - epatch "${FILESDIR}"/${P}-configure.patch
186 - eautoreconf
187 -}
188 -
189 -src_install () {
190 - default
191 - use doc && dodoc doc/*.pdf
192 -}
193
194 diff --git a/sci-astronomy/missfits/missfits-9999.ebuild b/sci-astronomy/missfits/missfits-9999.ebuild
195 index b9434e0..2ac2a85 100644
196 --- a/sci-astronomy/missfits/missfits-9999.ebuild
197 +++ b/sci-astronomy/missfits/missfits-9999.ebuild
198 @@ -2,7 +2,7 @@
199 # Distributed under the terms of the GNU General Public License v2
200 # $Header: $
201
202 -EAPI=4
203 +EAPI=5
204
205 if [[ ${PV} == "9999" ]] ; then
206 _SVN=subversion
207 @@ -14,7 +14,8 @@ else
208 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
209 fi
210
211 -inherit ${_SVN} autotools
212 +AUTOTOOLS_AUTORECONF=1
213 +inherit ${_SVN} autotools-utils
214
215 DESCRIPTION="Performs basic maintenance and packaging tasks on FITS files"
216 HOMEPAGE="http://www.astromatic.net/software/missfits/"
217 @@ -26,11 +27,7 @@ IUSE="doc"
218 RDEPEND=""
219 DEPEND="${RDEPEND}"
220
221 -src_prepare() {
222 - eautoreconf
223 -}
224 -
225 src_install () {
226 - default
227 + autotools-utils_src_install
228 use doc && dodoc doc/*
229 }