1 |
commit: d51c2ced7b3d8950894746f66da1c07712a00feb |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Tue Sep 29 06:39:20 2020 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Sep 29 06:39:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d51c2ced |
7 |
|
8 |
sci-mathematics/dolfin: removed package with missing dep |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
sci-mathematics/dolfin/dolfin-0.9.9.ebuild | 56 --------------- |
14 |
sci-mathematics/dolfin/dolfin-2016.2.0-r2.ebuild | 80 ---------------------- |
15 |
sci-mathematics/dolfin/dolfin-2017.1.0.ebuild | 80 ---------------------- |
16 |
.../dolfin/files/dolfin-0.9.9-find-armadillo.patch | 25 ------- |
17 |
.../files/dolfin-2016.2.0-trilinos-superlu.patch | 21 ------ |
18 |
sci-mathematics/dolfin/metadata.xml | 26 ------- |
19 |
6 files changed, 288 deletions(-) |
20 |
|
21 |
diff --git a/sci-mathematics/dolfin/dolfin-0.9.9.ebuild b/sci-mathematics/dolfin/dolfin-0.9.9.ebuild |
22 |
deleted file mode 100644 |
23 |
index 4677e51b2..000000000 |
24 |
--- a/sci-mathematics/dolfin/dolfin-0.9.9.ebuild |
25 |
+++ /dev/null |
26 |
@@ -1,56 +0,0 @@ |
27 |
-# Copyright 1999-2015 Gentoo Foundation |
28 |
-# Distributed under the terms of the GNU General Public License v2 |
29 |
- |
30 |
-EAPI=5 |
31 |
- |
32 |
-PYTHON_COMPAT=( python2_7 ) |
33 |
- |
34 |
-inherit cmake-utils eutils python-single-r1 |
35 |
- |
36 |
-DESCRIPTION="C++/Python interface of FEniCS" |
37 |
-HOMEPAGE="https://launchpad.net/dolfin/" |
38 |
-SRC_URI="https://launchpad.net/${PN}/0.x/${PV}/+download/${P}.tar.gz" |
39 |
- |
40 |
-LICENSE="LGPL-2.1" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="~amd64" |
43 |
-IUSE="cgal cholmod gmp mpi parmetis python scotch umfpack zlib" |
44 |
-# scotch and parmetis require mpi; wait for EAPI 4 |
45 |
- |
46 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
47 |
- |
48 |
-DEPEND=" |
49 |
- dev-libs/boost |
50 |
- dev-libs/libxml2:2 |
51 |
- sci-libs/armadillo |
52 |
- sci-mathematics/ufc |
53 |
- python? ( |
54 |
- ${PYTHON_DEPS} |
55 |
- dev-python/ufl[${PYTHON_USEDEP}] |
56 |
- dev-python/ffc[${PYTHON_USEDEP}] |
57 |
- dev-python/fiat[${PYTHON_USEDEP}] |
58 |
- dev-python/instant[${PYTHON_USEDEP}] |
59 |
- dev-python/viper[${PYTHON_USEDEP}] |
60 |
- )" |
61 |
-RDEPEND="${DEPEND}" |
62 |
- |
63 |
-pkg_setup() { |
64 |
- use python && python-single-r1_pkg_setup |
65 |
-} |
66 |
- |
67 |
-src_prepare() { |
68 |
- epatch "${FILESDIR}"/"${P}"-find-armadillo.patch |
69 |
-} |
70 |
- |
71 |
-pkg_setup() { |
72 |
- mycmakeargs="${mycmakeargs} |
73 |
- $(cmake-utils_use cgal DOLFIN_ENABLE_CGAL) |
74 |
- $(cmake-utils_use cholmod DOLFIN_ENABLE_CHOLMOD) |
75 |
- $(cmake-utils_use gmp DOLFIN_ENABLE_GMP) |
76 |
- $(cmake-utils_use mpi DOLFIN_ENABLE_MPI) |
77 |
- $(cmake-utils_use parmetis DOLFIN_ENABLE_PARMETIS) |
78 |
- $(cmake-utils_use python DOLFIN_ENABLE_PYTHON) |
79 |
- $(cmake-utils_use scotch DOLFIN_ENABLE_SCOTCH) |
80 |
- $(cmake-utils_use umfpack DOLFIN_ENABLE_UMFPACK) |
81 |
- $(cmake-utils_use zlib DOLFIN_ENABLE_ZLIB)" |
82 |
-} |
83 |
|
84 |
diff --git a/sci-mathematics/dolfin/dolfin-2016.2.0-r2.ebuild b/sci-mathematics/dolfin/dolfin-2016.2.0-r2.ebuild |
85 |
deleted file mode 100644 |
86 |
index 169611161..000000000 |
87 |
--- a/sci-mathematics/dolfin/dolfin-2016.2.0-r2.ebuild |
88 |
+++ /dev/null |
89 |
@@ -1,80 +0,0 @@ |
90 |
-# Copyright 1999-2019 Gentoo Authors |
91 |
-# Distributed under the terms of the GNU General Public License v2 |
92 |
- |
93 |
-EAPI=6 |
94 |
- |
95 |
-PYTHON_COMPAT=( python2_7 ) |
96 |
- |
97 |
-inherit cmake-utils eutils python-single-r1 |
98 |
- |
99 |
-DESCRIPTION="C++/Python interface of FEniCS" |
100 |
-HOMEPAGE="https://bitbucket.org/fenics-project/dolfin" |
101 |
-SRC_URI="https://bitbucket.org/fenics-project/${PN}/downloads/${P}.tar.gz" |
102 |
- |
103 |
-LICENSE="LGPL-2.1" |
104 |
-SLOT="0" |
105 |
-KEYWORDS="~amd64" |
106 |
-IUSE="hdf5 mpi parmetis petsc scotch trilinos umfpack zlib vtk" |
107 |
- |
108 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
109 |
- trilinos? ( mpi )" |
110 |
- |
111 |
-# Yes, swig is an RDEPEND |
112 |
-DEPEND=" |
113 |
- ${PYTHON_DEPS} |
114 |
- dev-cpp/eigen:3 |
115 |
- dev-lang/swig |
116 |
- dev-libs/boost:= |
117 |
- dev-libs/libxml2:2 |
118 |
- ~dev-python/dijitso-${PV}[${PYTHON_USEDEP}] |
119 |
- ~dev-python/ffc-${PV}[${PYTHON_USEDEP}] |
120 |
- ~dev-python/fiat-${PV}[${PYTHON_USEDEP}] |
121 |
- ~dev-python/instant-${PV}[${PYTHON_USEDEP}] |
122 |
- dev-python/sympy |
123 |
- ~dev-python/ufl-${PV}[${PYTHON_USEDEP}] |
124 |
- virtual/blas |
125 |
- virtual/lapack |
126 |
- hdf5? ( sci-libs/hdf5[mpi=] ) |
127 |
- mpi? ( virtual/mpi ) |
128 |
- parmetis? ( sci-libs/parmetis[mpi(+)] ) |
129 |
- petsc? ( sci-mathematics/petsc[mpi=] ) |
130 |
- sci-libs/armadillo |
131 |
- scotch? ( sci-libs/scotch ) |
132 |
- trilinos? ( sci-libs/trilinos ) |
133 |
- umfpack? ( |
134 |
- sci-libs/amd |
135 |
- sci-libs/cholmod |
136 |
- sci-libs/umfpack |
137 |
- ) |
138 |
- vtk? ( sci-libs/vtk ) |
139 |
- zlib? ( sys-libs/zlib )" |
140 |
-RDEPEND="${DEPEND}" |
141 |
- |
142 |
-PATCHES=( |
143 |
- "${FILESDIR}"/${P}-trilinos-superlu.patch |
144 |
-) |
145 |
- |
146 |
-pkg_setup() { |
147 |
- python-single-r1_pkg_setup |
148 |
-} |
149 |
- |
150 |
-src_configure() { |
151 |
- # *sigh* |
152 |
- addpredict /proc/mtrr |
153 |
- addpredict /sys/devices/system/cpu/ |
154 |
- |
155 |
- mycmakeargs=( |
156 |
- -DDOLFIN_ENABLE_CHOLMOD="$(usex umfpack)" |
157 |
- -DDOLFIN_ENABLE_HDF5="$(usex hdf5)" |
158 |
- -DDOLFIN_ENABLE_MPI="$(usex mpi)" |
159 |
- -DDOLFIN_ENABLE_PARMETIS="$(usex parmetis)" |
160 |
- -DDOLFIN_ENABLE_PETSC="$(usex petsc)" |
161 |
- -DDOLFIN_ENABLE_PYTHON="yes" |
162 |
- -DDOLFIN_ENABLE_SCOTCH="$(usex scotch)" |
163 |
- -DDOLFIN_ENABLE_TRILINOS="$(usex trilinos)" |
164 |
- -DDOLFIN_ENABLE_UMFPACK="$(usex umfpack)" |
165 |
- -DDOLFIN_ENABLE_VTK="$(usex vtk)" |
166 |
- -DDOLFIN_ENABLE_ZLIB="$(usex zlib)" |
167 |
- ) |
168 |
- cmake-utils_src_configure |
169 |
-} |
170 |
|
171 |
diff --git a/sci-mathematics/dolfin/dolfin-2017.1.0.ebuild b/sci-mathematics/dolfin/dolfin-2017.1.0.ebuild |
172 |
deleted file mode 100644 |
173 |
index b5b66a708..000000000 |
174 |
--- a/sci-mathematics/dolfin/dolfin-2017.1.0.ebuild |
175 |
+++ /dev/null |
176 |
@@ -1,80 +0,0 @@ |
177 |
-# Copyright 1999-2019 Gentoo Authors |
178 |
-# Distributed under the terms of the GNU General Public License v2 |
179 |
- |
180 |
-EAPI=6 |
181 |
- |
182 |
-PYTHON_COMPAT=( python3_4 python3_5 python3_6 ) |
183 |
- |
184 |
-inherit cmake-utils eutils python-single-r1 |
185 |
- |
186 |
-DESCRIPTION="C++/Python interface of FEniCS" |
187 |
-HOMEPAGE="https://bitbucket.org/fenics-project/dolfin" |
188 |
-SRC_URI="https://bitbucket.org/fenics-project/${PN}/downloads/${P}.tar.gz" |
189 |
- |
190 |
-LICENSE="LGPL-2.1" |
191 |
-SLOT="0" |
192 |
-KEYWORDS="~amd64" |
193 |
-IUSE="hdf5 mpi parmetis petsc scotch trilinos umfpack zlib vtk" |
194 |
- |
195 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
196 |
- trilinos? ( mpi )" |
197 |
- |
198 |
-# Yes, swig is an RDEPEND |
199 |
-DEPEND=" |
200 |
- ${PYTHON_DEPS} |
201 |
- dev-cpp/eigen:3 |
202 |
- dev-lang/swig |
203 |
- dev-libs/boost:= |
204 |
- dev-libs/libxml2:2 |
205 |
- ~dev-python/dijitso-${PV}[${PYTHON_USEDEP}] |
206 |
- ~dev-python/ffc-${PV}[${PYTHON_USEDEP}] |
207 |
- ~dev-python/fiat-${PV}[${PYTHON_USEDEP}] |
208 |
- ~dev-python/instant-${PV}[${PYTHON_USEDEP}] |
209 |
- dev-python/sympy |
210 |
- ~dev-python/ufl-${PV}[${PYTHON_USEDEP}] |
211 |
- virtual/blas |
212 |
- virtual/lapack |
213 |
- hdf5? ( sci-libs/hdf5[mpi=] ) |
214 |
- mpi? ( virtual/mpi ) |
215 |
- parmetis? ( sci-libs/parmetis[mpi(+)] ) |
216 |
- petsc? ( sci-mathematics/petsc[mpi=] ) |
217 |
- sci-libs/armadillo |
218 |
- scotch? ( sci-libs/scotch ) |
219 |
- trilinos? ( sci-libs/trilinos ) |
220 |
- umfpack? ( |
221 |
- sci-libs/amd |
222 |
- sci-libs/cholmod |
223 |
- sci-libs/umfpack |
224 |
- ) |
225 |
- vtk? ( sci-libs/vtk ) |
226 |
- zlib? ( sys-libs/zlib )" |
227 |
-RDEPEND="${DEPEND}" |
228 |
- |
229 |
-PATCHES=( |
230 |
- "${FILESDIR}"/${PN}-2016.2.0-trilinos-superlu.patch |
231 |
-) |
232 |
- |
233 |
-pkg_setup() { |
234 |
- python-single-r1_pkg_setup |
235 |
-} |
236 |
- |
237 |
-src_configure() { |
238 |
- # *sigh* |
239 |
- addpredict /proc/mtrr |
240 |
- addpredict /sys/devices/system/cpu/ |
241 |
- |
242 |
- mycmakeargs=( |
243 |
- -DDOLFIN_ENABLE_CHOLMOD="$(usex umfpack)" |
244 |
- -DDOLFIN_ENABLE_HDF5="$(usex hdf5)" |
245 |
- -DDOLFIN_ENABLE_MPI="$(usex mpi)" |
246 |
- -DDOLFIN_ENABLE_PARMETIS="$(usex parmetis)" |
247 |
- -DDOLFIN_ENABLE_PETSC="$(usex petsc)" |
248 |
- -DDOLFIN_ENABLE_PYTHON="yes" |
249 |
- -DDOLFIN_ENABLE_SCOTCH="$(usex scotch)" |
250 |
- -DDOLFIN_ENABLE_TRILINOS="$(usex trilinos)" |
251 |
- -DDOLFIN_ENABLE_UMFPACK="$(usex umfpack)" |
252 |
- -DDOLFIN_ENABLE_VTK="$(usex vtk)" |
253 |
- -DDOLFIN_ENABLE_ZLIB="$(usex zlib)" |
254 |
- ) |
255 |
- cmake-utils_src_configure |
256 |
-} |
257 |
|
258 |
diff --git a/sci-mathematics/dolfin/files/dolfin-0.9.9-find-armadillo.patch b/sci-mathematics/dolfin/files/dolfin-0.9.9-find-armadillo.patch |
259 |
deleted file mode 100644 |
260 |
index 677a78aab..000000000 |
261 |
--- a/sci-mathematics/dolfin/files/dolfin-0.9.9-find-armadillo.patch |
262 |
+++ /dev/null |
263 |
@@ -1,25 +0,0 @@ |
264 |
-diff -Naur a/cmake/modules/FindArmadillo.cmake b/cmake/modules/FindArmadillo.cmake |
265 |
---- a/cmake/modules/FindArmadillo.cmake 2010-09-02 02:49:57.000000000 +0200 |
266 |
-+++ b/cmake/modules/FindArmadillo.cmake 2010-12-15 14:21:34.810300165 +0100 |
267 |
-@@ -95,8 +95,8 @@ |
268 |
- #include <armadillo> |
269 |
- int main() |
270 |
- { |
271 |
-- arma::mat A = arma::rand(4, 4); |
272 |
-- arma::vec b = arma::rand(4); |
273 |
-+ arma::mat A = arma::randu(4, 4); |
274 |
-+ arma::vec b = arma::randu(4); |
275 |
- arma::vec x = arma::solve(A, b); |
276 |
- return 0; |
277 |
- } |
278 |
-@@ -112,8 +112,8 @@ |
279 |
- #include <armadillo> |
280 |
- int main() |
281 |
- { |
282 |
-- arma::mat A = arma::rand(4, 4); |
283 |
-- arma::vec b = arma::rand(4); |
284 |
-+ arma::mat A = arma::randu(4, 4); |
285 |
-+ arma::vec b = arma::randu(4); |
286 |
- arma::vec x = arma::solve(A, b); |
287 |
- return 0; |
288 |
- } |
289 |
|
290 |
diff --git a/sci-mathematics/dolfin/files/dolfin-2016.2.0-trilinos-superlu.patch b/sci-mathematics/dolfin/files/dolfin-2016.2.0-trilinos-superlu.patch |
291 |
deleted file mode 100644 |
292 |
index 7282766fe..000000000 |
293 |
--- a/sci-mathematics/dolfin/files/dolfin-2016.2.0-trilinos-superlu.patch |
294 |
+++ /dev/null |
295 |
@@ -1,21 +0,0 @@ |
296 |
-diff --git a/dolfin/CMakeLists.txt b/dolfin/CMakeLists.txt |
297 |
-index 26bc21a..0caf7ca 100644 |
298 |
---- a/dolfin/CMakeLists.txt |
299 |
-+++ b/dolfin/CMakeLists.txt |
300 |
-@@ -2,6 +2,7 @@ set(DOLFIN_H dolfin.h) |
301 |
- install(FILES ${DOLFIN_H} DESTINATION ${DOLFIN_INCLUDE_DIR} |
302 |
- COMPONENT Development) |
303 |
- |
304 |
-+ |
305 |
- # Configure and install dolfin/common/version.h file |
306 |
- string(REPLACE "+" "" DOLFIN_VERSION_MICRO_STRIPPED ${DOLFIN_VERSION_MICRO}) |
307 |
- configure_file(${DOLFIN_SOURCE_DIR}/dolfin/common/version.h.in |
308 |
-@@ -12,6 +13,8 @@ install(FILES ${CMAKE_BINARY_DIR}/dolfin/common/version.h |
309 |
- ) |
310 |
- include_directories(${CMAKE_BINARY_DIR}) |
311 |
- |
312 |
-+include_directories(/usr/include/superlu) |
313 |
-+ |
314 |
- #------------------------------------------------------------------------------ |
315 |
- # DOLFIN source directories |
316 |
- |
317 |
|
318 |
diff --git a/sci-mathematics/dolfin/metadata.xml b/sci-mathematics/dolfin/metadata.xml |
319 |
deleted file mode 100644 |
320 |
index 26a0480f0..000000000 |
321 |
--- a/sci-mathematics/dolfin/metadata.xml |
322 |
+++ /dev/null |
323 |
@@ -1,26 +0,0 @@ |
324 |
-<?xml version="1.0" encoding="UTF-8"?> |
325 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
326 |
-<pkgmetadata> |
327 |
- <maintainer type="project"> |
328 |
- <email>sci-mathematics@g.o</email> |
329 |
- <name>Gentoo Mathematics Project</name> |
330 |
- </maintainer> |
331 |
- <longdescription lang="en"> |
332 |
-DOLFIN is the C++/Python interface of FEniCS, providing a consistent PSE (Problem Solving Environment) for ordinary and partial differential equations. |
333 |
-</longdescription> |
334 |
- <use> |
335 |
- <flag name="cgal">Adds support for geometric algorithms with <pkg>sci-mathematics/cgal</pkg></flag> |
336 |
- <flag name="cholmod">Adds support for sparse Cholesky factorization with <pkg>sci-libs/cholmod</pkg></flag> |
337 |
- <flag name="hdf5">Adds support for <pkg>sci-libs/hdf5</pkg></flag> |
338 |
- <flag name="parmetis">Adds support for parallel graph partitioning with <pkg>sci-libs/parmetis</pkg></flag> |
339 |
- <flag name="petsc">Adds support for numerical linear algebra toolkit <pkg>sci-mathematics/petsc</pkg></flag> |
340 |
- <flag name="scotch">Adds support for graph partitioning with <pkg>sci-libs/scotch</pkg></flag> |
341 |
- <flag name="trilinos">Adds support for numerical linear algebra toolkit <pkg>sci-libs/trilinos</pkg></flag> |
342 |
- <flag name="umfpack">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag> |
343 |
- <flag name="vtk">Adds support for the visualization toolkit <pkg>sci-libs/vtk</pkg></flag> |
344 |
- </use> |
345 |
- <upstream> |
346 |
- <remote-id type="bitbucket">fenics-project/dolfin</remote-id> |
347 |
- <remote-id type="launchpad">dolfin</remote-id> |
348 |
- </upstream> |
349 |
-</pkgmetadata> |