Gentoo Archives: gentoo-commits

From: Christoph Junghans <kleiner_otti@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nfft/, sci-libs/nfft/files/
Date: Sat, 07 Jul 2012 23:13:02
Message-Id: 1341702757.22e724f160ca334a25b35e07c77da93660b57792.kleiner_otti@gentoo
1 commit: 22e724f160ca334a25b35e07c77da93660b57792
2 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 7 23:09:51 2012 +0000
4 Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
5 CommitDate: Sat Jul 7 23:12:37 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=22e724f1
7
8 version bump
9
10 (Portage version: 2.2.0_alpha116/git/Linux i686, unsigned Manifest commit)
11
12 ---
13 sci-libs/nfft/ChangeLog | 10 ++-
14 sci-libs/nfft/files/nfft-3.1.3-install.patch | 14 ----
15 .../files/nfft-3.1.3-remove-maintainer-mode.patch | 69 --------------------
16 sci-libs/nfft/nfft-3.1.3.ebuild | 41 ------------
17 sci-libs/nfft/nfft-3.2.0.ebuild | 32 +++++++++
18 5 files changed, 40 insertions(+), 126 deletions(-)
19
20 diff --git a/sci-libs/nfft/ChangeLog b/sci-libs/nfft/ChangeLog
21 index 6d1482e..a0d25f7 100644
22 --- a/sci-libs/nfft/ChangeLog
23 +++ b/sci-libs/nfft/ChangeLog
24 @@ -1,11 +1,17 @@
25 # ChangeLog for sci-libs/nfft
26 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 # $Header: $
29
30 +*nfft-3.2.0 (07 Jul 2012)
31 +
32 + 07 Jul 2012; Christoph Junghans <ottxor@g.o> +nfft-3.2.0.ebuild,
33 + -files/nfft-3.1.3-install.patch,
34 + -files/nfft-3.1.3-remove-maintainer-mode.patch, -nfft-3.1.3.ebuild:
35 + version bump
36 +
37 *nfft-3.1.3 (12 Sep 2010)
38
39 12 Sep 2010; Christoph Junghans <kleiner_otti@×××.de> +nfft-3.1.3.ebuild,
40 +files/nfft-3.1.3-install.patch,
41 +files/nfft-3.1.3-remove-maintainer-mode.patch, +metadata.xml:
42 Initial commit
43 -
44
45 diff --git a/sci-libs/nfft/files/nfft-3.1.3-install.patch b/sci-libs/nfft/files/nfft-3.1.3-install.patch
46 deleted file mode 100644
47 index 7da3628..0000000
48 --- a/sci-libs/nfft/files/nfft-3.1.3-install.patch
49 +++ /dev/null
50 @@ -1,14 +0,0 @@
51 -diff -Naur nfft-3.1.3.orig/Makefile.am nfft-3.1.3/Makefile.am
52 ---- nfft-3.1.3.orig/Makefile.am 2009-12-23 11:57:40.000000000 +0100
53 -+++ nfft-3.1.3/Makefile.am 2010-09-12 20:46:27.000000000 +0200
54 -@@ -31,8 +27,8 @@
55 - EXTRA_DIST = bootstrap.sh VERSION doxygen.c
56 -
57 - install-data-hook:
58 -- mkdir -p $(pkgdatadir)
59 -- cp -R doc $(pkgdatadir)
60 -+ mkdir -p $(DESTDIR)$(pkgdatadir)
61 -+ cp -R doc $(DESTDIR)$(pkgdatadir)
62 -
63 - maintainer-clean-local:
64 - rm -f doc/api/html/*.html
65
66 diff --git a/sci-libs/nfft/files/nfft-3.1.3-remove-maintainer-mode.patch b/sci-libs/nfft/files/nfft-3.1.3-remove-maintainer-mode.patch
67 deleted file mode 100644
68 index c1e89eb..0000000
69 --- a/sci-libs/nfft/files/nfft-3.1.3-remove-maintainer-mode.patch
70 +++ /dev/null
71 @@ -1,69 +0,0 @@
72 -diff -Naur nfft-3.1.3.orig/Makefile.am nfft-3.1.3/Makefile.am
73 ---- nfft-3.1.3.orig/Makefile.am 2009-12-23 11:57:40.000000000 +0100
74 -+++ nfft-3.1.3/Makefile.am 2010-09-12 20:27:01.000000000 +0200
75 -@@ -8,11 +8,7 @@
76 - # Subdirectories
77 - DIST_SUBDIRS= 3rdparty include util kernel . examples applications matlab
78 -
79 --if MAINTAINER_MODE
80 -- EXTRA_DIRS= tests
81 --else
82 -- EXTRA_DIRS=
83 --endif
84 -+EXTRA_DIRS=
85 -
86 - if HAVE_MATLAB
87 - MATLAB_DIRS= matlab
88 -diff -Naur nfft-3.1.3.orig/applications/Makefile.am nfft-3.1.3/applications/Makefile.am
89 ---- nfft-3.1.3.orig/applications/Makefile.am 2009-10-13 07:54:19.000000000 +0200
90 -+++ nfft-3.1.3/applications/Makefile.am 2010-09-12 20:27:37.000000000 +0200
91 -@@ -17,12 +17,7 @@
92 - DIST_SUBDIRS = fastgauss fastsum $(DIR_FASTSUMS2) $(DIR_MRI) polarFFT \
93 - $(DIR_QUADRATURES2) radon
94 -
95 --if MAINTAINER_MODE
96 -- EXTRA_DIRS= $(DIR_ITERS2)
97 --# EXTRA_DIRS= texture iterS2
98 --else
99 -- EXTRA_DIRS=
100 --endif
101 -+EXTRA_DIRS=
102 -
103 - SUBDIRS= $(DIST_SUBDIRS) $(EXTRA_DIRS)
104 -
105 -diff -Naur nfft-3.1.3.orig/configure.ac nfft-3.1.3/configure.ac
106 ---- nfft-3.1.3.orig/configure.ac 2009-12-15 16:39:45.000000000 +0100
107 -+++ nfft-3.1.3/configure.ac 2010-09-12 20:32:27.000000000 +0200
108 -@@ -439,32 +439,3 @@
109 - matlab/nfsft/@f_hat/Makefile
110 - )
111 -
112 --if test "x$USE_MAINTAINER_MODE" = "xyes"; then
113 --AC_OUTPUT(tests/Makefile \
114 -- VERSION
115 -- doxygen/doxygen.Doxyfile
116 -- tests/kernel/Makefile \
117 -- tests/kernel/fpt/Makefile \
118 -- tests/lowlevel/Makefile \
119 -- tests/lowlevel/nfsft/Makefile \
120 -- applications/iterS2/Makefile \
121 -- applications/texture/Makefile \
122 -- applications/texture/examplesTexture/Makefile \
123 -- applications/texture/examplesTexture/correctness/Makefile \
124 -- applications/texture/examplesTexture/data/Makefile \
125 -- applications/texture/examplesTexture/data/data_publication/Makefile \
126 -- applications/texture/examplesTexture/data/util/Makefile \
127 -- applications/texture/examplesTexture/data_creator/Makefile \
128 -- applications/texture/examplesTexture/interpolation/Makefile \
129 -- applications/texture/examplesTexture/matrix/Makefile \
130 -- applications/texture/examplesTexture/paper1/Makefile \
131 -- applications/texture/examplesTexture/paper1/data/Makefile \
132 -- applications/texture/examplesTexture/paper1/reconstruction/Makefile \
133 -- applications/texture/examplesTexture/paper1/texture/Makefile \
134 -- applications/texture/examplesTexture/performance/Makefile \
135 -- applications/texture/examplesTexture/regularity/Makefile \
136 -- applications/texture/examplesTexture/regularity2/Makefile \
137 -- applications/texture/examplesTexture/regularity3/Makefile \
138 -- applications/texture/examplesTexture/texture_util/Makefile
139 --)
140 --fi
141
142 diff --git a/sci-libs/nfft/nfft-3.1.3.ebuild b/sci-libs/nfft/nfft-3.1.3.ebuild
143 deleted file mode 100644
144 index eb5f5a4..0000000
145 --- a/sci-libs/nfft/nfft-3.1.3.ebuild
146 +++ /dev/null
147 @@ -1,41 +0,0 @@
148 -# Copyright 1999-2010 Gentoo Foundation
149 -# Distributed under the terms of the GNU General Public License v2
150 -# $Header: $
151 -
152 -EAPI="3"
153 -
154 -inherit autotools eutils
155 -
156 -DESCRIPTION="library for nonequispaced discrete Fourier transform"
157 -HOMEPAGE="http://www-user.tu-chemnitz.de/~potts/nfft"
158 -SRC_URI="http://www-user.tu-chemnitz.de/~potts/nfft/download/${P}.tar.gz"
159 -
160 -LICENSE="GPL-2"
161 -SLOT="0"
162 -KEYWORDS="~x86 ~amd64"
163 -IUSE="static-libs"
164 -
165 -RDEPEND="sci-libs/fftw:3.0"
166 -DEPEND="${RDEPEND}"
167 -
168 -src_prepare() {
169 - #file for maintainer mode are not in the tarball
170 - epatch "${FILESDIR}"/"${P}"-remove-maintainer-mode.patch
171 - epatch "${FILESDIR}"/"${P}"-install.patch
172 - eautoreconf || die "eautoreconf failed"
173 -}
174 -
175 -src_configure() {
176 - local myconf
177 - myconf="--enable-shared $(use_enable static-libs static)"
178 -
179 - econf ${myconf} || die "econf failed"
180 -}
181 -
182 -src_compile() {
183 - emake || die "emake failed"
184 -}
185 -
186 -src_install() {
187 - emake install DESTDIR="${D}" || die "emake install failed"
188 -}
189
190 diff --git a/sci-libs/nfft/nfft-3.2.0.ebuild b/sci-libs/nfft/nfft-3.2.0.ebuild
191 new file mode 100644
192 index 0000000..1c739f7
193 --- /dev/null
194 +++ b/sci-libs/nfft/nfft-3.2.0.ebuild
195 @@ -0,0 +1,32 @@
196 +# Copyright 1999-2012 Gentoo Foundation
197 +# Distributed under the terms of the GNU General Public License v2
198 +# $Header: $
199 +
200 +EAPI="4"
201 +
202 +inherit autotools-utils eutils toolchain-funcs
203 +
204 +DESCRIPTION="library for nonequispaced discrete Fourier transform"
205 +HOMEPAGE="http://www-user.tu-chemnitz.de/~potts/nfft"
206 +SRC_URI="http://www-user.tu-chemnitz.de/~potts/nfft/download/${P}.tar.gz"
207 +
208 +LICENSE="GPL-2"
209 +SLOT="0"
210 +KEYWORDS="~x86 ~amd64"
211 +IUSE="openmp static-libs"
212 +
213 +RDEPEND="sci-libs/fftw:3.0"
214 +DEPEND="${RDEPEND}"
215 +
216 +pkg_pretend() {
217 + use openmp && ! tc-has-openmp && \
218 + die "Please switch to an openmp compatible compiler"
219 +}
220 +
221 +src_configure() {
222 + local myeconfargs=(
223 + --enable-all
224 + $(use_enable openmp)
225 + )
226 + autotools-utils_src_configure
227 +}