1 |
commit: b2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 25 05:40:08 2019 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 25 05:43:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b2dbc48b |
7 |
|
8 |
dev-cpp/eigen: merged into ::gentoo and remove. |
9 |
|
10 |
Closes: https://github.com/gentoo/sci/issues/799 |
11 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
12 |
|
13 |
dev-cpp/eigen/eigen-3.2.7-r1.ebuild | 116 ------------------------------------ |
14 |
dev-cpp/eigen/eigen-3.2.8-r2.ebuild | 112 ---------------------------------- |
15 |
dev-cpp/eigen/eigen-9999.ebuild | 108 --------------------------------- |
16 |
dev-cpp/eigen/metadata.xml | 34 ----------- |
17 |
4 files changed, 370 deletions(-) |
18 |
|
19 |
diff --git a/dev-cpp/eigen/eigen-3.2.7-r1.ebuild b/dev-cpp/eigen/eigen-3.2.7-r1.ebuild |
20 |
deleted file mode 100644 |
21 |
index a00566654..000000000 |
22 |
--- a/dev-cpp/eigen/eigen-3.2.7-r1.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,116 +0,0 @@ |
25 |
-# Copyright 1999-2017 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
- |
28 |
-EAPI=6 |
29 |
- |
30 |
-FORTRAN_NEEDED=fortran |
31 |
- |
32 |
-inherit alternatives-2 cmake-utils fortran-2 multilib numeric vcs-snapshot |
33 |
- |
34 |
-DESCRIPTION="C++ template library for linear algebra" |
35 |
-HOMEPAGE="http://eigen.tuxfamily.org/" |
36 |
-SRC_URI=" |
37 |
- https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2 |
38 |
- https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch |
39 |
-" |
40 |
- |
41 |
-SLOT="3" |
42 |
-LICENSE="MPL-2.0" |
43 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
44 |
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test" |
45 |
- |
46 |
-CDEPEND=" |
47 |
- adolc? ( sci-libs/adolc[sparse?] ) |
48 |
- fftw? ( sci-libs/fftw:3.0 ) |
49 |
- gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 ) |
50 |
- metis? ( sci-libs/metis ) |
51 |
- mkl? ( sci-libs/mkl ) |
52 |
- pastix? ( sci-libs/pastix ) |
53 |
- sparse? ( |
54 |
- dev-cpp/sparsehash |
55 |
- sci-libs/cholmod[metis?] |
56 |
- sci-libs/spqr |
57 |
- sci-libs/superlu |
58 |
- sci-libs/umfpack |
59 |
- )" |
60 |
-DEPEND=" |
61 |
- doc? ( app-doc/doxygen[dot,latex] ) |
62 |
- test? ( ${CDEPEND} )" |
63 |
- |
64 |
-RDEPEND=" |
65 |
- !dev-cpp/eigen:0 |
66 |
- ${CDEPEND}" |
67 |
- |
68 |
-PATCHES=( "${DISTDIR}"/${P}-cmake.patch ) |
69 |
- |
70 |
-src_prepare() { |
71 |
- sed -i \ |
72 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
73 |
- -e "s:/bin/bash:${EPREFIX}/bin/bash:g" \ |
74 |
- cmake/*.cmake || die |
75 |
- sed -i \ |
76 |
- -e "/DESTINATION/s:lib:$(get_libdir):g" \ |
77 |
- {blas,lapack}/CMakeLists.txt || die |
78 |
- |
79 |
- # TOFIX: static-libs for blas are always built with PIC |
80 |
- if ! use static-libs; then |
81 |
- sed \ |
82 |
- -e "/add_dependencies/s/eigen_[a-z]*_static//g" \ |
83 |
- -e "/TARGETS/s/eigen_[a-z]*_static//g" \ |
84 |
- -e "/add_library(eigen_[a-z]*_static/d" \ |
85 |
- -e "/target_link_libraries(eigen_[a-z]*_static/d" \ |
86 |
- -i {blas,lapack}/CMakeLists.txt || die |
87 |
- fi |
88 |
- |
89 |
- sed -i -e "/Unknown build type/d" CMakeLists.txt || die |
90 |
- |
91 |
- sed \ |
92 |
- -e '/Cflags/s|:.*|: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}|g' \ |
93 |
- -i eigen3.pc.in || die |
94 |
- |
95 |
- cmake-utils_src_prepare |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- # TOFIX: is it worth fixing all the automagic given no library is built? |
100 |
- # cmake has buggy disable_testing feature, so leave it for now |
101 |
- local mycmakeargs=( |
102 |
- -DDART_TESTING_TIMEOUT=300 |
103 |
- -DEIGEN_BUILD_BTL=OFF |
104 |
- ) |
105 |
- export VARTEXFONTS="${T}/fonts" |
106 |
- export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/ |
107 |
- |
108 |
- cmake-utils_src_configure |
109 |
- # use fortran && FORTRAN_LIBS="blas lapack" not ready |
110 |
- use fortran && FORTRAN_LIBS="blas" |
111 |
-} |
112 |
- |
113 |
-src_compile() { |
114 |
- local targets="${FORTRAN_LIBS}" |
115 |
- use doc && targets+=" doc" |
116 |
- use test && targets+=" check" |
117 |
- cmake-utils_src_compile ${targets} |
118 |
-} |
119 |
- |
120 |
-src_install() { |
121 |
- cmake-utils_src_install |
122 |
- use doc && dohtml -r "${BUILD_DIR}"/doc/html/* |
123 |
- local x |
124 |
- for x in ${FORTRAN_LIBS}; do |
125 |
- local libname="eigen_${x}" |
126 |
- emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname} |
127 |
- create_pkgconfig \ |
128 |
- --description "${DESCRIPTION} ${x^^} implementation" \ |
129 |
- --libs "-L\${libdir} -l${libname}" \ |
130 |
- --libs-private "-lm" \ |
131 |
- $([[ ${x} == lapack ]] && echo "--requires 'blas'") \ |
132 |
- ${libname} |
133 |
- alternatives_for ${x} eigen 0 \ |
134 |
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc |
135 |
- done |
136 |
- |
137 |
- # Debian installs it and some projects started using it. |
138 |
- insinto /usr/share/cmake/Modules/ |
139 |
- doins "${S}/cmake/FindEigen3.cmake" |
140 |
-} |
141 |
|
142 |
diff --git a/dev-cpp/eigen/eigen-3.2.8-r2.ebuild b/dev-cpp/eigen/eigen-3.2.8-r2.ebuild |
143 |
deleted file mode 100644 |
144 |
index e93a800aa..000000000 |
145 |
--- a/dev-cpp/eigen/eigen-3.2.8-r2.ebuild |
146 |
+++ /dev/null |
147 |
@@ -1,112 +0,0 @@ |
148 |
-# Copyright 1999-2017 Gentoo Foundation |
149 |
-# Distributed under the terms of the GNU General Public License v2 |
150 |
- |
151 |
-EAPI=6 |
152 |
- |
153 |
-FORTRAN_NEEDED=fortran |
154 |
- |
155 |
-inherit alternatives-2 cmake-utils fortran-2 multilib numeric vcs-snapshot |
156 |
- |
157 |
-DESCRIPTION="C++ template library for linear algebra" |
158 |
-HOMEPAGE="http://eigen.tuxfamily.org/" |
159 |
-SRC_URI=" |
160 |
- https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2 |
161 |
- https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch |
162 |
-" |
163 |
- |
164 |
-SLOT="3" |
165 |
-LICENSE="MPL-2.0" |
166 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
167 |
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test" |
168 |
- |
169 |
-CDEPEND=" |
170 |
- adolc? ( sci-libs/adolc[sparse?] ) |
171 |
- fftw? ( sci-libs/fftw:3.0 ) |
172 |
- gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 ) |
173 |
- metis? ( sci-libs/metis ) |
174 |
- mkl? ( sci-libs/mkl ) |
175 |
- pastix? ( sci-libs/pastix ) |
176 |
- sparse? ( |
177 |
- dev-cpp/sparsehash |
178 |
- sci-libs/cholmod[metis?] |
179 |
- sci-libs/spqr |
180 |
- sci-libs/superlu |
181 |
- sci-libs/umfpack |
182 |
- )" |
183 |
-DEPEND=" |
184 |
- doc? ( app-doc/doxygen[dot,latex] ) |
185 |
- test? ( ${CDEPEND} )" |
186 |
- |
187 |
-RDEPEND=" |
188 |
- !dev-cpp/eigen:0 |
189 |
- ${CDEPEND}" |
190 |
- |
191 |
-PATCHES=( "${DISTDIR}"/${P}-cmake.patch ) |
192 |
- |
193 |
-src_prepare() { |
194 |
- sed -i \ |
195 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
196 |
- -e "s:/bin/bash:${EPREFIX}/bin/bash:g" \ |
197 |
- cmake/*.cmake || die |
198 |
- sed -i \ |
199 |
- -e "/DESTINATION/s:lib:$(get_libdir):g" \ |
200 |
- {blas,lapack}/CMakeLists.txt || die |
201 |
- |
202 |
- # TOFIX: static-libs for blas are always built with PIC |
203 |
- if ! use static-libs; then |
204 |
- sed \ |
205 |
- -e "/add_dependencies/s/eigen_[a-z]*_static//g" \ |
206 |
- -e "/TARGETS/s/eigen_[a-z]*_static//g" \ |
207 |
- -e "/add_library(eigen_[a-z]*_static/d" \ |
208 |
- -e "/target_link_libraries(eigen_[a-z]*_static/d" \ |
209 |
- -i {blas,lapack}/CMakeLists.txt || die |
210 |
- fi |
211 |
- |
212 |
- sed -i -e "/Unknown build type/d" CMakeLists.txt || die |
213 |
- |
214 |
- cmake-utils_src_prepare |
215 |
-} |
216 |
- |
217 |
-src_configure() { |
218 |
- # TOFIX: is it worth fixing all the automagic given no library is built? |
219 |
- # cmake has buggy disable_testing feature, so leave it for now |
220 |
- local mycmakeargs=( |
221 |
- -DDART_TESTING_TIMEOUT=300 |
222 |
- -DEIGEN_BUILD_BTL=OFF |
223 |
- ) |
224 |
- export VARTEXFONTS="${T}/fonts" |
225 |
- export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/ |
226 |
- |
227 |
- cmake-utils_src_configure |
228 |
- # use fortran && FORTRAN_LIBS="blas lapack" not ready |
229 |
- use fortran && FORTRAN_LIBS="blas" |
230 |
-} |
231 |
- |
232 |
-src_compile() { |
233 |
- local targets="${FORTRAN_LIBS}" |
234 |
- use doc && targets+=" doc" |
235 |
- use test && targets+=" check" |
236 |
- cmake-utils_src_compile ${targets} |
237 |
-} |
238 |
- |
239 |
-src_install() { |
240 |
- cmake-utils_src_install |
241 |
- use doc && dohtml -r "${BUILD_DIR}"/doc/html/* |
242 |
- local x |
243 |
- for x in ${FORTRAN_LIBS}; do |
244 |
- local libname="eigen_${x}" |
245 |
- emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname} |
246 |
- create_pkgconfig \ |
247 |
- --description "${DESCRIPTION} ${x^^} implementation" \ |
248 |
- --libs "-L\${libdir} -l${libname}" \ |
249 |
- --libs-private "-lm" \ |
250 |
- $([[ ${x} == lapack ]] && echo "--requires 'blas'") \ |
251 |
- ${libname} |
252 |
- alternatives_for ${x} eigen 0 \ |
253 |
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc |
254 |
- done |
255 |
- |
256 |
- # Debian installs it and some projects started using it. |
257 |
- insinto /usr/share/cmake/Modules/ |
258 |
- doins "${S}/cmake/FindEigen3.cmake" |
259 |
-} |
260 |
|
261 |
diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild |
262 |
deleted file mode 100644 |
263 |
index 266a9ed2b..000000000 |
264 |
--- a/dev-cpp/eigen/eigen-9999.ebuild |
265 |
+++ /dev/null |
266 |
@@ -1,108 +0,0 @@ |
267 |
-# Copyright 1999-2017 Gentoo Foundation |
268 |
-# Distributed under the terms of the GNU General Public License v2 |
269 |
- |
270 |
-EAPI=6 |
271 |
- |
272 |
-FORTRAN_NEEDED=fortran |
273 |
- |
274 |
-inherit alternatives-2 cmake-utils fortran-2 mercurial multilib |
275 |
- |
276 |
-DESCRIPTION="C++ template library for linear algebra" |
277 |
-HOMEPAGE="http://eigen.tuxfamily.org/" |
278 |
-SRC_URI="" |
279 |
-EHG_REPO_URI="https://bitbucket.org/eigen/eigen" |
280 |
- |
281 |
-SLOT="3" |
282 |
-LICENSE="MPL-2.0" |
283 |
-KEYWORDS="" |
284 |
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test" |
285 |
- |
286 |
-CDEPEND=" |
287 |
- adolc? ( sci-libs/adolc[sparse?] ) |
288 |
- fftw? ( sci-libs/fftw:3.0 ) |
289 |
- gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 ) |
290 |
- metis? ( sci-libs/metis ) |
291 |
- mkl? ( sci-libs/mkl ) |
292 |
- pastix? ( sci-libs/pastix ) |
293 |
- sparse? ( |
294 |
- dev-cpp/sparsehash |
295 |
- sci-libs/cholmod[metis?] |
296 |
- sci-libs/spqr |
297 |
- sci-libs/superlu |
298 |
- sci-libs/umfpack |
299 |
- )" |
300 |
-DEPEND=" |
301 |
- doc? ( app-doc/doxygen[dot,latex] ) |
302 |
- test? ( ${CDEPEND} )" |
303 |
- |
304 |
-RDEPEND=" |
305 |
- !dev-cpp/eigen:0 |
306 |
- ${CDEPEND}" |
307 |
- |
308 |
-src_prepare() { |
309 |
- sed -i \ |
310 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
311 |
- -e "s:/bin/bash:${EPREFIX}/bin/bash:g" \ |
312 |
- cmake/*.cmake || die |
313 |
- sed -i \ |
314 |
- -e "/DESTINATION/s:lib:$(get_libdir):g" \ |
315 |
- {blas,lapack}/CMakeLists.txt || die |
316 |
- |
317 |
- # TOFIX: static-libs for blas are always built with PIC |
318 |
- if ! use static-libs; then |
319 |
- sed \ |
320 |
- -e "/add_dependencies/s/eigen_[a-z]*_static//g" \ |
321 |
- -e "/TARGETS/s/eigen_[a-z]*_static//g" \ |
322 |
- -e "/add_library(eigen_[a-z]*_static/d" \ |
323 |
- -e "/target_link_libraries(eigen_[a-z]*_static/d" \ |
324 |
- -i {blas,lapack}/CMakeLists.txt || die |
325 |
- fi |
326 |
- |
327 |
- sed -i -e "/Unknown build type/d" CMakeLists.txt || die |
328 |
- |
329 |
- cmake-utils_src_prepare |
330 |
-} |
331 |
- |
332 |
-src_configure() { |
333 |
- # TOFIX: is it worth fixing all the automagic given no library is built? |
334 |
- # cmake has buggy disable_testing feature, so leave it for now |
335 |
- local mycmakeargs=( |
336 |
- -DDART_TESTING_TIMEOUT=300 |
337 |
- -DEIGEN_BUILD_BTL=OFF |
338 |
- ) |
339 |
- export VARTEXFONTS="${T}/fonts" |
340 |
- export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/ |
341 |
- |
342 |
- cmake-utils_src_configure |
343 |
- # use fortran && FORTRAN_LIBS="blas lapack" not ready |
344 |
- use fortran && FORTRAN_LIBS="blas" |
345 |
-} |
346 |
- |
347 |
-src_compile() { |
348 |
- local targets="${FORTRAN_LIBS}" |
349 |
- use doc && targets+=" doc" |
350 |
- use test && targets+=" check" |
351 |
- cmake-utils_src_compile ${targets} |
352 |
-} |
353 |
- |
354 |
-src_install() { |
355 |
- cmake-utils_src_install |
356 |
- use doc && dohtml -r "${BUILD_DIR}"/doc/html/* |
357 |
- local x |
358 |
- for x in ${FORTRAN_LIBS}; do |
359 |
- local libname="eigen_${x}" |
360 |
- emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname} |
361 |
- create_pkgconfig \ |
362 |
- --description "${DESCRIPTION} ${x^^} implementation" \ |
363 |
- --libs "-L\${libdir} -l${libname}" \ |
364 |
- --libs-private "-lm" \ |
365 |
- $([[ ${x} == lapack ]] && echo "--requires 'blas'") \ |
366 |
- ${libname} |
367 |
- alternatives_for ${x} eigen 0 \ |
368 |
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc |
369 |
- done |
370 |
- |
371 |
- # Debian installs it and some projects started using it. |
372 |
- insinto /usr/share/cmake/Modules/ |
373 |
- doins "${S}/cmake/FindEigen3.cmake" |
374 |
-} |
375 |
|
376 |
diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml |
377 |
deleted file mode 100644 |
378 |
index ed850b49c..000000000 |
379 |
--- a/dev-cpp/eigen/metadata.xml |
380 |
+++ /dev/null |
381 |
@@ -1,34 +0,0 @@ |
382 |
-<?xml version="1.0" encoding="UTF-8"?> |
383 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
384 |
-<pkgmetadata> |
385 |
- <maintainer type="project"> |
386 |
- <email>sci@g.o</email> |
387 |
- <name>Gentoo Science Project</name> |
388 |
- </maintainer> |
389 |
- <longdescription lang="en"> |
390 |
-Eigen is a lightweight C++ template library for vector and matrix math, |
391 |
-a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen |
392 |
-focuses on the simple mathematical needs of applications: games and other |
393 |
-OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to |
394 |
-providing optimal speed with GCC. |
395 |
-</longdescription> |
396 |
- <use> |
397 |
- <flag name="adolc"> |
398 |
-Enable automatic differentiation using <pkg>sci-libs/adolc</pkg> |
399 |
-</flag> |
400 |
- <flag name="metis"> |
401 |
-Enable matrix partitioning using <pkg>sci-libs/metis</pkg></flag> |
402 |
- <flag name="mkl"> |
403 |
-Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg> |
404 |
-</flag> |
405 |
- <flag name="pastix"> |
406 |
-Enable large scale direct solver with using <pkg>sci-libs/pastix</pkg> |
407 |
-</flag> |
408 |
- <flag name="sparse"> |
409 |
-Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg> |
410 |
-</flag> |
411 |
- </use> |
412 |
- <upstream> |
413 |
- <remote-id type="bitbucket">eigen/eigen</remote-id> |
414 |
- </upstream> |
415 |
-</pkgmetadata> |