Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/itpp/, sci-libs/itpp/files/
Date: Fri, 30 Oct 2015 12:25:35
Message-Id: 1446207870.ffbf53305a3ef8f92f033205425641a376c9d059.jlec@gentoo
1 commit: ffbf53305a3ef8f92f033205425641a376c9d059
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 30 12:24:30 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 30 12:24:30 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffbf5330
7
8 sci-libs/itpp: Drop old
9
10 obsoletes
11
12 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=561740
13
14 Package-Manager: portage-2.2.23
15 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
16
17 sci-libs/itpp/Manifest | 2 -
18 sci-libs/itpp/files/itpp-4.0.6-gcc44.patch | 60 --------------
19 .../itpp-4.0.7-fastica-fix-endless-loop.patch | 93 ----------------------
20 sci-libs/itpp/files/itpp-4.2-automake-1.12.patch | 16 ----
21 .../itpp/files/itpp-4.2-fastica-correct-dim.patch | 26 ------
22 sci-libs/itpp/files/itpp-4.2-pkg-config.patch | 27 -------
23 sci-libs/itpp/files/itpp-4.2-test-fftw.patch | 14 ----
24 sci-libs/itpp/itpp-4.2-r1.ebuild | 66 ---------------
25 sci-libs/itpp/itpp-4.2-r2.ebuild | 69 ----------------
26 sci-libs/itpp/itpp-4.3.0.ebuild | 45 -----------
27 sci-libs/itpp/itpp-4.3.1.ebuild | 45 -----------
28 11 files changed, 463 deletions(-)
29
30 diff --git a/sci-libs/itpp/Manifest b/sci-libs/itpp/Manifest
31 index 9cead3b..880b00c 100644
32 --- a/sci-libs/itpp/Manifest
33 +++ b/sci-libs/itpp/Manifest
34 @@ -1,3 +1 @@
35 -DIST itpp-4.2.tar.bz2 1050157 SHA256 732c7de212dddfd8669ef3e4d164d5d9a2f81302f3921ddd0176cfa8c49c556c SHA512 319296c5d929201fcdfb32ad59b3304d3620d921c1d08feb1d138fecb37305f71f825b4fc45d563ba817eb6ac92fb9223c32d4260013ef1d30a2e1e8edf52a2f WHIRLPOOL 4af9e5326b9a94013c173d650ac5c92105e21731ef6398e707808219831158bd995060a860d31d6874a56b96123bb5e646600f45ee6f4fb185d3e9c1b349ddc7
36 -DIST itpp-4.3.0.tar.bz2 1196432 SHA256 009b38929eef60be12abd6f516da535d9ea01872cd4b8ec537cfe40311ad5f64 SHA512 e2ad944cdb1325676465920d692577f86885252f9e9eb068084b0edaca17dffd33793e5c502572c21f77b47f8d8f45522ea6a945eb5548553305ab23904a04fa WHIRLPOOL 87a823313363806e894297f23b20bb0cdc11e72cf3388d25cf57c27820793f7c5c41e4a593a954dc431d2f473052defc5bedbdc9e547830d5ceb54f31cb0e6b0
37 DIST itpp-4.3.1.tar.bz2 1289687 SHA256 50717621c5dfb5ed22f8492f8af32b17776e6e06641dfe3a3a8f82c8d353b877 SHA512 b46d048fa7f33e80d2291a5e38e205c159791ea200f92c70d69e8ad8447ac2f0c847fece566a99af739853a1643cb16e226b4200c8bf115417f324e6d38c66bd WHIRLPOOL e4791babcdb9e874a29b8f628af000e93fc316a7da0199713e7b840317d1b1109e4350c7582a3f88db3fe8be03ff8ee93b40712b77f61faa155acc668f39c0e0
38
39 diff --git a/sci-libs/itpp/files/itpp-4.0.6-gcc44.patch b/sci-libs/itpp/files/itpp-4.0.6-gcc44.patch
40 deleted file mode 100644
41 index 6514363..0000000
42 --- a/sci-libs/itpp/files/itpp-4.0.6-gcc44.patch
43 +++ /dev/null
44 @@ -1,60 +0,0 @@
45 -diff -ur itpp-4.0.6.orig/itpp/base/timing.cpp itpp-4.0.6/itpp/base/timing.cpp
46 ---- itpp-4.0.6.orig/itpp/base/timing.cpp 2008-10-08 14:52:24.000000000 +0300
47 -+++ itpp-4.0.6/itpp/base/timing.cpp 2009-07-30 10:32:45.000000000 +0300
48 -@@ -27,6 +27,8 @@
49 - * -------------------------------------------------------------------------
50 - */
51 -
52 -+#include <cstdio>
53 -+
54 - #ifndef _MSC_VER
55 - # include <itpp/config.h>
56 - #else
57 -diff -ur itpp-4.0.6.orig/itpp/base/vec.cpp itpp-4.0.6/itpp/base/vec.cpp
58 ---- itpp-4.0.6.orig/itpp/base/vec.cpp 2008-10-08 14:52:24.000000000 +0300
59 -+++ itpp-4.0.6/itpp/base/vec.cpp 2009-07-30 10:35:45.000000000 +0300
60 -@@ -27,6 +27,8 @@
61 - * -------------------------------------------------------------------------
62 - */
63 -
64 -+#include <cstdio>
65 -+
66 - #include <itpp/base/vec.h>
67 - #include <itpp/base/converters.h>
68 - #include <limits>
69 -diff -ur itpp-4.0.6.orig/itpp/fixed/cfix.cpp itpp-4.0.6/itpp/fixed/cfix.cpp
70 ---- itpp-4.0.6.orig/itpp/fixed/cfix.cpp 2008-10-08 14:52:24.000000000 +0300
71 -+++ itpp-4.0.6/itpp/fixed/cfix.cpp 2009-07-30 10:37:21.000000000 +0300
72 -@@ -27,6 +27,8 @@
73 - * -------------------------------------------------------------------------
74 - */
75 -
76 -+#include <cstdio>
77 -+
78 - #include <itpp/fixed/cfix.h>
79 - #include <itpp/base/itassert.h>
80 - #include <iostream>
81 -diff -ur itpp-4.0.6.orig/itpp/fixed/fix.cpp itpp-4.0.6/itpp/fixed/fix.cpp
82 ---- itpp-4.0.6.orig/itpp/fixed/fix.cpp 2008-10-08 14:52:24.000000000 +0300
83 -+++ itpp-4.0.6/itpp/fixed/fix.cpp 2009-07-30 10:37:39.000000000 +0300
84 -@@ -27,6 +27,8 @@
85 - * -------------------------------------------------------------------------
86 - */
87 -
88 -+#include <cstdio>
89 -+
90 - #include <itpp/fixed/fix.h>
91 - #include <itpp/base/itassert.h>
92 - #include <iostream>
93 -diff -ur itpp-4.0.6.orig/itpp/fixed/fixed.cpp itpp-4.0.6/itpp/fixed/fixed.cpp
94 ---- itpp-4.0.6.orig/itpp/fixed/fixed.cpp 2008-10-08 14:52:24.000000000 +0300
95 -+++ itpp-4.0.6/itpp/fixed/fixed.cpp 2009-07-30 10:37:03.000000000 +0300
96 -@@ -27,6 +27,8 @@
97 - * -------------------------------------------------------------------------
98 - */
99 -
100 -+#include <cstdio>
101 -+
102 - #include <itpp/fixed/fixed.h>
103 -
104 -
105
106 diff --git a/sci-libs/itpp/files/itpp-4.0.7-fastica-fix-endless-loop.patch b/sci-libs/itpp/files/itpp-4.0.7-fastica-fix-endless-loop.patch
107 deleted file mode 100644
108 index 8d232a4..0000000
109 --- a/sci-libs/itpp/files/itpp-4.0.7-fastica-fix-endless-loop.patch
110 +++ /dev/null
111 @@ -1,93 +0,0 @@
112 -diff -ru libitpp-4.0.7/itpp/signal/fastica.cpp libitpp-4.0.7.patched/itpp/signal/fastica.cpp
113 ---- libitpp-4.0.7/itpp/signal/fastica.cpp 2009-12-27 01:38:47.000000000 +0100
114 -+++ libitpp-4.0.7.patched/itpp/signal/fastica.cpp 2010-07-08 16:32:04.000000000 +0200
115 -@@ -90,7 +90,7 @@
116 - static mat mpower(const mat A, const double y);
117 - static ivec getSamples(const int max, const double percentage);
118 - static vec sumcol(const mat A);
119 --static void fpica(const mat X, const mat whiteningMatrix, const mat dewhiteningMatrix, const int approach, const int numOfIC, const int g, const int finetune, const double a1, const double a2, double myy, const int stabilization, const double epsilon, const int maxNumIterations, const int maxFinetune, const int initState, mat guess, double sampleSize, mat & A, mat & W);
120 -+static bool fpica(const mat X, const mat whiteningMatrix, const mat dewhiteningMatrix, const int approach, const int numOfIC, const int g, const int finetune, const double a1, const double a2, double myy, const int stabilization, const double epsilon, const int maxNumIterations, const int maxFinetune, const int initState, mat guess, double sampleSize, mat & A, mat & W);
121 - /*! @} */
122 -
123 - namespace itpp
124 -@@ -124,7 +124,7 @@
125 - }
126 -
127 - // Call main function
128 --void Fast_ICA::separate(void)
129 -+bool Fast_ICA::separate(void)
130 - {
131 -
132 - int Dim = numOfIC;
133 -@@ -159,13 +159,14 @@
134 -
135 - }
136 -
137 -+ bool result = true;
138 - if (PCAonly == false) {
139 -
140 - Dim = whitesig.rows();
141 -
142 - if (numOfIC > Dim) numOfIC = Dim;
143 -
144 -- fpica(whitesig, whiteningMatrix, dewhiteningMatrix, approach, numOfIC, g, finetune, a1, a2, mu, stabilization, epsilon, maxNumIterations, maxFineTune, initState, guess, sampleSize, A, W);
145 -+ result = fpica(whitesig, whiteningMatrix, dewhiteningMatrix, approach, numOfIC, g, finetune, a1, a2, mu, stabilization, epsilon, maxNumIterations, maxFineTune, initState, guess, sampleSize, A, W);
146 -
147 - icasig = W * mixedSig;
148 -
149 -@@ -174,6 +175,7 @@
150 - else { // PCA only : returns E as IcaSig
151 - icasig = VecPr;
152 - }
153 -+ return result;
154 - }
155 -
156 - void Fast_ICA::set_approach(int in_approach) { approach = in_approach; if (approach == FICA_APPROACH_DEFL) finetune = true; }
157 -@@ -437,7 +439,7 @@
158 -
159 - }
160 -
161 --static void fpica(const mat X, const mat whiteningMatrix, const mat dewhiteningMatrix, const int approach, const int numOfIC, const int g, const int finetune, const double a1, const double a2, double myy, const int stabilization, const double epsilon, const int maxNumIterations, const int maxFinetune, const int initState, mat guess, double sampleSize, mat & A, mat & W)
162 -+static bool fpica(const mat X, const mat whiteningMatrix, const mat dewhiteningMatrix, const int approach, const int numOfIC, const int g, const int finetune, const double a1, const double a2, double myy, const int stabilization, const double epsilon, const int maxNumIterations, const int maxFinetune, const int initState, mat guess, double sampleSize, mat & A, mat & W)
163 - {
164 -
165 - int vectorSize = X.rows();
166 -@@ -511,7 +513,7 @@
167 - A = dewhiteningMatrix * B;
168 - W = transpose(B) * whiteningMatrix;
169 -
170 -- return;
171 -+ return false;
172 - }
173 -
174 - B = B * mpower(transpose(B) * B , -0.5);
175 -@@ -769,7 +771,7 @@
176 -
177 - } // IF round
178 -
179 -- break;
180 -+ return false;
181 -
182 - } // IF numFailures > failureLimit
183 -
184 -@@ -990,5 +992,5 @@
185 - } // While round <= numOfIC
186 -
187 - } // ELSE Deflation
188 --
189 -+ return true;
190 - } // FPICA
191 -diff -ru libitpp-4.0.7/itpp/signal/fastica.h libitpp-4.0.7.patched/itpp/signal/fastica.h
192 ---- libitpp-4.0.7/itpp/signal/fastica.h 2009-12-27 01:38:47.000000000 +0100
193 -+++ libitpp-4.0.7.patched/itpp/signal/fastica.h 2010-07-08 16:24:37.000000000 +0200
194 -@@ -134,8 +134,9 @@
195 - \brief Explicit launch of main FastICA function
196 -
197 - Explicit launch of the Fast_ICA algorithm.
198 -+ \returns true if algorithm converged and false otherwise
199 - */
200 -- void separate(void);
201 -+ bool separate(void);
202 -
203 - /*!
204 - \brief Set approach : FICA_APPROACH_DEFL or FICA_APPROACH_SYMM (default)
205
206 diff --git a/sci-libs/itpp/files/itpp-4.2-automake-1.12.patch b/sci-libs/itpp/files/itpp-4.2-automake-1.12.patch
207 deleted file mode 100644
208 index f383d6f..0000000
209 --- a/sci-libs/itpp/files/itpp-4.2-automake-1.12.patch
210 +++ /dev/null
211 @@ -1,16 +0,0 @@
212 - configure.ac | 2 ++
213 - 1 files changed, 2 insertions(+), 0 deletions(-)
214 -
215 -diff --git a/configure.ac b/configure.ac
216 -index 4f06171..a1e8448 100644
217 ---- a/configure.ac
218 -+++ b/configure.ac
219 -@@ -27,6 +27,8 @@ AC_CONFIG_MACRO_DIR([m4])
220 - AC_CONFIG_AUX_DIR([build-aux])
221 - AM_INIT_AUTOMAKE([-Wall -Werror])
222 -
223 -+AM_PROG_AR
224 -+
225 - # Shared library versioning
226 - GENERIC_LIBRARY_VERSION="7:0:0"
227 - # | | |
228
229 diff --git a/sci-libs/itpp/files/itpp-4.2-fastica-correct-dim.patch b/sci-libs/itpp/files/itpp-4.2-fastica-correct-dim.patch
230 deleted file mode 100644
231 index a852abc..0000000
232 --- a/sci-libs/itpp/files/itpp-4.2-fastica-correct-dim.patch
233 +++ /dev/null
234 @@ -1,26 +0,0 @@
235 -diff -ru itpp-4.2/itpp/signal/fastica.cpp itpp-4.2.new//itpp/signal/fastica.cpp
236 ---- itpp-4.2/itpp/signal/fastica.cpp 2011-06-07 17:47:32.261000884 +0200
237 -+++ itpp-4.2.new//itpp/signal/fastica.cpp 2011-06-07 17:31:25.757000915 +0200
238 -@@ -147,6 +147,9 @@
239 -
240 - whitenv(mixedSigC, E, diag(D), whitesig, whiteningMatrix, dewhiteningMatrix);
241 -
242 -+ Dim = whitesig.rows();
243 -+
244 -+ if (numOfIC > Dim) numOfIC = Dim;
245 -
246 - ivec NcFirst = to_ivec(zeros(numOfIC));
247 - vec NcVp = D;
248 -@@ -161,10 +164,6 @@
249 - bool result = true;
250 - if (PCAonly == false) {
251 -
252 -- Dim = whitesig.rows();
253 --
254 -- if (numOfIC > Dim) numOfIC = Dim;
255 --
256 - result = fpica(whitesig, whiteningMatrix, dewhiteningMatrix, approach, numOfIC, g, finetune, a1, a2, mu, stabilization, epsilon, maxNumIterations, maxFineTune, initState, guess, sampleSize, A, W);
257 -
258 - icasig = W * mixedSig;
259 -Nur in itpp-4.2/itpp/signal: fastica.cpp.orig.
260 -Nur in itpp-4.2/itpp/signal: fastica.h.orig.
261
262 diff --git a/sci-libs/itpp/files/itpp-4.2-pkg-config.patch b/sci-libs/itpp/files/itpp-4.2-pkg-config.patch
263 deleted file mode 100644
264 index 5a18952..0000000
265 --- a/sci-libs/itpp/files/itpp-4.2-pkg-config.patch
266 +++ /dev/null
267 @@ -1,27 +0,0 @@
268 - configure.ac | 2 +-
269 - itpp.pc.in | 2 +-
270 - 2 files changed, 2 insertions(+), 2 deletions(-)
271 -
272 -diff --git a/configure.ac b/configure.ac
273 -index 4f06171..d3d7b76 100644
274 ---- a/configure.ac
275 -+++ b/configure.ac
276 -@@ -322,7 +322,7 @@ test "x$FFT_LIBS" != x && LIBS="$FFT_LIBS $LIBS"
277 - CPPFLAGS="`echo \"$CPPFLAGS\" | sed -e 's/ */ /g' -e 's/^ //' -e 's/ $//'`"
278 - LDFLAGS="`echo \"$LDFLAGS\" | sed -e 's/ */ /g' -e 's/^ //' -e 's/ $//'`"
279 - LIBS="`echo \"$LIBS\" | sed -e 's/ */ /g' -e 's/^ //' -e 's/ $//'`"
280 --LDLIBS="`echo \"$LDFLAGS $LIBS\" | sed -e 's/^ //' -e 's/ $//'`"
281 -+LDLIBS="`echo \"$LIBS\" | sed -e 's/^ //' -e 's/ $//'`"
282 -
283 - if test $enable_explicit_deps = yes; then
284 - EXPLICIT_LIBS=" $LDLIBS" # the leading space is important here...
285 -diff --git a/itpp.pc.in b/itpp.pc.in
286 -index 4018865..48a9543 100644
287 ---- a/itpp.pc.in
288 -+++ b/itpp.pc.in
289 -@@ -9,4 +9,4 @@ Version: @PACKAGE_VERSION@
290 - URL: http://itpp.sourceforge.net/
291 - Libs: -L${libdir} -l@PACKAGE@@EXPLICIT_LIBS@
292 - Libs.private:@PRIVATE_LIBS@
293 --Cflags: -I${includedir} @CXXFLAGS_OPT@
294 -+Cflags: -I${includedir}
295
296 diff --git a/sci-libs/itpp/files/itpp-4.2-test-fftw.patch b/sci-libs/itpp/files/itpp-4.2-test-fftw.patch
297 deleted file mode 100644
298 index b7bb11d..0000000
299 --- a/sci-libs/itpp/files/itpp-4.2-test-fftw.patch
300 +++ /dev/null
301 @@ -1,14 +0,0 @@
302 ---- itpp/branches/itpp-4-2/tests/Makefile.am 2010/09/21 18:23:47 1807
303 -+++ itpp/branches/itpp-4-2/tests/Makefile.am 2010/12/30 23:47:09 1837
304 -@@ -20,9 +20,9 @@
305 -
306 - OPTIM_TESTS = newton_search_test
307 -
308 --SIGNAL_TESTS = filter_test source_test window_test
309 -+SIGNAL_TESTS = filter_test source_test
310 - SIGNAL_LAP_TESTS = fastica_test poly_test
311 --SIGNAL_FFT_TESTS = freq_filt_test sigfun_test transforms_test
312 -+SIGNAL_FFT_TESTS = freq_filt_test sigfun_test transforms_test window_test
313 - SIGNAL_LAP_FFT_TESTS = filter_design_test
314 -
315 - STAT_TESTS = histogram_test
316
317 diff --git a/sci-libs/itpp/itpp-4.2-r1.ebuild b/sci-libs/itpp/itpp-4.2-r1.ebuild
318 deleted file mode 100644
319 index a438f03..0000000
320 --- a/sci-libs/itpp/itpp-4.2-r1.ebuild
321 +++ /dev/null
322 @@ -1,66 +0,0 @@
323 -# Copyright 1999-2013 Gentoo Foundation
324 -# Distributed under the terms of the GNU General Public License v2
325 -# $Id$
326 -
327 -EAPI=4
328 -
329 -AUTOTOOLS_AUTORECONF=yes
330 -
331 -inherit autotools-utils flag-o-matic toolchain-funcs
332 -
333 -DESCRIPTION="C++ library of mathematical, signal processing and communication"
334 -HOMEPAGE="http://itpp.sourceforge.net/"
335 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
336 -
337 -SLOT="0"
338 -LICENSE="GPL-3"
339 -KEYWORDS="amd64 ppc ppc64 x86"
340 -IUSE="blas debug doc fftw lapack minimal static-libs"
341 -
342 -RDEPEND="
343 - blas? ( virtual/blas lapack? ( virtual/lapack ) )
344 - !minimal? ( fftw? ( >=sci-libs/fftw-3 ) )"
345 -DEPEND="${RDEPEND}
346 - blas? ( virtual/pkgconfig )
347 - doc? ( app-doc/doxygen virtual/latex-base )
348 - lapack? ( virtual/pkgconfig )"
349 -
350 -PATCHES=(
351 - "${FILESDIR}"/${PN}-4.0.7-fastica-fix-endless-loop.patch
352 - "${FILESDIR}"/${P}-fastica-correct-dim.patch
353 - "${FILESDIR}"/${P}-test-fftw.patch
354 - )
355 -
356 -src_prepare() {
357 - # turn off performance critical debug code
358 - use debug || append-cppflags -DNDEBUG
359 - sed \
360 - -e 's:-pipe::g' \
361 - -e 's:-Werror::g' \
362 - -i configure* || die
363 - autotools-utils_src_prepare
364 -}
365 -
366 -src_configure() {
367 - local blasconf="no"
368 - use blas && blasconf="$($(tc-getPKG_CONFIG) --libs blas)"
369 - local lapackconf="no"
370 - use lapack && lapackconf="$($(tc-getPKG_CONFIG) --libs blas lapack)"
371 -
372 - local myeconfargs=(
373 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
374 - --enable-shared
375 - $(use_enable doc html-doc)
376 - $(use_enable debug)
377 - $(use_enable !minimal comm)
378 - $(use_enable !minimal fixed)
379 - $(use_enable !minimal optim)
380 - $(use_enable !minimal protocol)
381 - $(use_enable !minimal signal)
382 - $(use_enable !minimal srccode)
383 - $(use_with fftw fft)
384 - --with-blas="${blasconf}"
385 - --with-lapack="${lapackconf}"
386 - )
387 - autotools-utils_src_configure
388 -}
389
390 diff --git a/sci-libs/itpp/itpp-4.2-r2.ebuild b/sci-libs/itpp/itpp-4.2-r2.ebuild
391 deleted file mode 100644
392 index ee3ea76..0000000
393 --- a/sci-libs/itpp/itpp-4.2-r2.ebuild
394 +++ /dev/null
395 @@ -1,69 +0,0 @@
396 -# Copyright 1999-2013 Gentoo Foundation
397 -# Distributed under the terms of the GNU General Public License v2
398 -# $Id$
399 -
400 -EAPI=4
401 -
402 -AUTOTOOLS_AUTORECONF=yes
403 -
404 -inherit autotools-utils flag-o-matic toolchain-funcs
405 -
406 -DESCRIPTION="C++ library of mathematical, signal processing and communication"
407 -HOMEPAGE="http://itpp.sourceforge.net/"
408 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
409 -
410 -SLOT="0"
411 -LICENSE="GPL-3"
412 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
413 -IUSE="blas debug doc fftw lapack minimal static-libs"
414 -
415 -RDEPEND="
416 - blas? ( virtual/blas lapack? ( virtual/lapack ) )
417 - !minimal? ( fftw? ( >=sci-libs/fftw-3 ) )"
418 -DEPEND="${RDEPEND}
419 - >=sys-devel/automake-1.11.1
420 - blas? ( virtual/pkgconfig )
421 - doc? ( app-doc/doxygen virtual/latex-base )
422 - lapack? ( virtual/pkgconfig )"
423 -
424 -PATCHES=(
425 - "${FILESDIR}"/${PN}-4.0.7-fastica-fix-endless-loop.patch
426 - "${FILESDIR}"/${P}-fastica-correct-dim.patch
427 - "${FILESDIR}"/${P}-test-fftw.patch
428 - "${FILESDIR}"/${P}-automake-1.12.patch
429 - "${FILESDIR}"/${P}-pkg-config.patch
430 - )
431 -
432 -src_prepare() {
433 - # turn off performance critical debug code
434 - use debug || append-cppflags -DNDEBUG
435 - sed \
436 - -e 's:-pipe::g' \
437 - -e 's:-Werror::g' \
438 - -i configure* || die
439 - autotools-utils_src_prepare
440 -}
441 -
442 -src_configure() {
443 - local blasconf="no"
444 - use blas && blasconf="$($(tc-getPKG_CONFIG) --libs blas)"
445 - local lapackconf="no"
446 - use lapack && lapackconf="$($(tc-getPKG_CONFIG) --libs blas lapack)"
447 -
448 - local myeconfargs=(
449 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
450 - --enable-shared
451 - $(use_enable doc html-doc)
452 - $(use_enable debug)
453 - $(use_enable !minimal comm)
454 - $(use_enable !minimal fixed)
455 - $(use_enable !minimal optim)
456 - $(use_enable !minimal protocol)
457 - $(use_enable !minimal signal)
458 - $(use_enable !minimal srccode)
459 - $(use_with fftw fft)
460 - --with-blas="${blasconf}"
461 - --with-lapack="${lapackconf}"
462 - )
463 - autotools-utils_src_configure
464 -}
465
466 diff --git a/sci-libs/itpp/itpp-4.3.0.ebuild b/sci-libs/itpp/itpp-4.3.0.ebuild
467 deleted file mode 100644
468 index db31a1c..0000000
469 --- a/sci-libs/itpp/itpp-4.3.0.ebuild
470 +++ /dev/null
471 @@ -1,45 +0,0 @@
472 -# Copyright 1999-2013 Gentoo Foundation
473 -# Distributed under the terms of the GNU General Public License v2
474 -# $Id$
475 -
476 -EAPI=5
477 -
478 -inherit cmake-utils
479 -
480 -DESCRIPTION="C++ library of mathematical, signal processing and communication"
481 -HOMEPAGE="http://itpp.sourceforge.net/"
482 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
483 -
484 -SLOT="0"
485 -LICENSE="GPL-3"
486 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
487 -IUSE="doc"
488 -
489 -RDEPEND="
490 - virtual/blas
491 - virtual/lapack
492 - >=sci-libs/fftw-3"
493 -DEPEND="${RDEPEND}
494 - virtual/pkgconfig
495 - doc? ( app-doc/doxygen virtual/latex-base )"
496 -
497 -DOCS=(ChangeLog NEWS AUTHORS README)
498 -
499 -src_prepare() {
500 - # gentoo redefines the CMAKE_BUILD_TYPE
501 - sed -i \
502 - -e 's/CMAKE_BUILD_TYPE STREQUAL Release/NOT CMAKE_BUILD_TYPE STREQUAL Debug/' \
503 - CMakeLists.txt || die
504 - # respect gentoo doc dir
505 - sed -i \
506 - -e "s:share/doc/itpp:share/doc/${PF}:" \
507 - itpp/CMakeLists.txt || die
508 -}
509 -
510 -src_configure() {
511 - local mycmakeargs=(
512 - -DBLA_VENDOR=Generic
513 - $(cmake-utils_use doc HTML_DOCS)
514 - )
515 - cmake-utils_src_configure
516 -}
517
518 diff --git a/sci-libs/itpp/itpp-4.3.1.ebuild b/sci-libs/itpp/itpp-4.3.1.ebuild
519 deleted file mode 100644
520 index 38ce5e1..0000000
521 --- a/sci-libs/itpp/itpp-4.3.1.ebuild
522 +++ /dev/null
523 @@ -1,45 +0,0 @@
524 -# Copyright 1999-2014 Gentoo Foundation
525 -# Distributed under the terms of the GNU General Public License v2
526 -# $Id$
527 -
528 -EAPI=5
529 -
530 -inherit cmake-utils
531 -
532 -DESCRIPTION="C++ library of mathematical, signal processing and communication"
533 -HOMEPAGE="http://itpp.sourceforge.net/"
534 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
535 -
536 -SLOT="0"
537 -LICENSE="GPL-3"
538 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
539 -IUSE="doc"
540 -
541 -RDEPEND="
542 - virtual/blas
543 - virtual/lapack
544 - >=sci-libs/fftw-3"
545 -DEPEND="${RDEPEND}
546 - virtual/pkgconfig
547 - doc? ( app-doc/doxygen virtual/latex-base )"
548 -
549 -DOCS=(ChangeLog NEWS AUTHORS README)
550 -
551 -src_prepare() {
552 - # gentoo redefines the CMAKE_BUILD_TYPE
553 - sed -i \
554 - -e 's/CMAKE_BUILD_TYPE STREQUAL Release/NOT CMAKE_BUILD_TYPE STREQUAL Debug/' \
555 - CMakeLists.txt || die
556 - # respect gentoo doc dir
557 - sed -i \
558 - -e "s:share/doc/itpp:share/doc/${PF}:" \
559 - itpp/CMakeLists.txt || die
560 -}
561 -
562 -src_configure() {
563 - local mycmakeargs=(
564 - -DBLA_VENDOR=Generic
565 - $(cmake-utils_use doc HTML_DOCS)
566 - )
567 - cmake-utils_src_configure
568 -}