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/skymaker/files/, sci-astronomy/skymaker/
Date: Thu, 27 Feb 2014 23:01:50
Message-Id: 1393534104.47a1f8ce3c760bdb84b68eda515a46147dc6d368.bicatali@gentoo
1 commit: 47a1f8ce3c760bdb84b68eda515a46147dc6d368
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 27 20:48:24 2014 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 27 20:48:24 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=47a1f8ce
7
8 sci-astronomy/skymaker: EAPI-5, autotools-utils
9
10 Package-Manager: portage-2.2.8-prefix
11
12 ---
13 sci-astronomy/skymaker/ChangeLog | 7 ++--
14 .../skymaker/files/skymaker-configure.patch | 40 ----------------------
15 sci-astronomy/skymaker/skymaker-3.3.3.ebuild | 27 ---------------
16 sci-astronomy/skymaker/skymaker-9999.ebuild | 14 ++++----
17 4 files changed, 12 insertions(+), 76 deletions(-)
18
19 diff --git a/sci-astronomy/skymaker/ChangeLog b/sci-astronomy/skymaker/ChangeLog
20 index 54eb51c..a1747aa 100644
21 --- a/sci-astronomy/skymaker/ChangeLog
22 +++ b/sci-astronomy/skymaker/ChangeLog
23 @@ -1,7 +1,11 @@
24 # ChangeLog for sci-astronomy/skymaker
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/skymaker-configure.patch, -skymaker-3.3.3.ebuild, skymaker-9999.ebuild:
31 + sci-astronomy/skymaker: EAPI-5, autotools-utils
32 +
33 *skymaker-9999 (04 Jul 2012)
34
35 04 Jul 2012; Sébastien Fabbro <bicatali@g.o> skymaker-3.3.3.ebuild,
36 @@ -23,4 +27,3 @@
37
38 20 Apr 2007; Sébastien Fabbro <bicatali@g.o> ChangeLog:
39 Initial import
40 -
41
42 diff --git a/sci-astronomy/skymaker/files/skymaker-configure.patch b/sci-astronomy/skymaker/files/skymaker-configure.patch
43 deleted file mode 100644
44 index 7f7bdb1..0000000
45 --- a/sci-astronomy/skymaker/files/skymaker-configure.patch
46 +++ /dev/null
47 @@ -1,40 +0,0 @@
48 ---- configure.ac.orig 2009-03-25 18:16:52.000000000 +0000
49 -+++ configure.ac 2009-03-25 18:17:35.000000000 +0000
50 -@@ -22,37 +22,18 @@
51 -
52 - # Include macros
53 - sinclude(acx_fftw.m4)
54 --sinclude(acx_prog_cc_optim.m4)
55 - sinclude(acx_pthread.m4)
56 -
57 - # Display pakage and version number
58 - AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********])
59 -
60 --# Initialize the list of compilers to consider
61 --cclist="cc gcc"
62 --# Backup and reset the input CFLAGS
63 --mycflags="$CFLAGS"
64 --CFLAGS=""
65 --
66 --# Provide special option for the Linux Intel C compiler
67 --AC_MSG_CHECKING([for Linux Intel C compiler mode])
68 --AC_ARG_ENABLE(icc,
69 -- [AS_HELP_STRING(--enable-icc,Enable special mode for compilation with the Intel compiler \
70 --(off by default))],
71 -- use_icc="yes"
72 -- cclist="icc $cclist"
73 -- AC_MSG_RESULT([yes]),
74 -- use_icc="no"
75 -- AC_MSG_RESULT([no]))
76 -
77 - # Checks for programs.
78 - # GCC is chosen last because it is likely to yield less optimized code
79 - AC_LANG(C)
80 --AC_PROG_CC([$cclist])
81 - # C Compiler: Check that it is ANSI C and POSIX-compliant
82 - AM_PROG_CC_STDC
83 - AC_ISC_POSIX
84 --ACX_PROG_CC_OPTIM
85 - AC_DISABLE_STATIC
86 - #AC_DISABLE_SHARED
87 - AC_PROG_LIBTOOL
88
89 diff --git a/sci-astronomy/skymaker/skymaker-3.3.3.ebuild b/sci-astronomy/skymaker/skymaker-3.3.3.ebuild
90 deleted file mode 100644
91 index 4986732..0000000
92 --- a/sci-astronomy/skymaker/skymaker-3.3.3.ebuild
93 +++ /dev/null
94 @@ -1,27 +0,0 @@
95 -# Copyright 1999-2014 Gentoo Foundation
96 -# Distributed under the terms of the GNU General Public License v2
97 -# $Header: $
98 -
99 -EAPI=4
100 -inherit autotools eutils
101 -
102 -DESCRIPTION="Program that simulates astronomical images"
103 -HOMEPAGE="http://www.astromatic.net/software/skymaker"
104 -SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
105 -
106 -LICENSE="GPL-3"
107 -SLOT="0"
108 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
109 -IUSE="threads"
110 -
111 -DEPEND=">=sci-libs/fftw-3"
112 -RDEPEND="${DEPEND}"
113 -
114 -src_prepare() {
115 - epatch "${FILESDIR}"/${PN}-configure.patch
116 - eautoreconf
117 -}
118 -
119 -src_configure() {
120 - econf $(use_enable threads)
121 -}
122
123 diff --git a/sci-astronomy/skymaker/skymaker-9999.ebuild b/sci-astronomy/skymaker/skymaker-9999.ebuild
124 index d882391..e50a248 100644
125 --- a/sci-astronomy/skymaker/skymaker-9999.ebuild
126 +++ b/sci-astronomy/skymaker/skymaker-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
145
146 DESCRIPTION="Program that simulates astronomical images"
147 HOMEPAGE="http://www.astromatic.net/software/skymaker"
148 @@ -27,10 +30,7 @@ IUSE="threads"
149 RDEPEND="sci-libs/fftw:3.0"
150 DEPEND="${RDEPEND}"
151
152 -src_prepare() {
153 - eautoreconf
154 -}
155 -
156 src_configure() {
157 - econf $(use_enable threads)
158 + local myeconfargs=( $(use_enable threads) )
159 + autotools-utils_src_configure
160 }