1 |
commit: 13e7d9768366dff65dd956b9b85dd37564fc1ca8 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 11 22:07:23 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 11 22:07:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=13e7d976 |
7 |
|
8 |
sci-libs/dealii: remove really old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
11 |
|
12 |
sci-libs/dealii/dealii-8.2.1-r1.ebuild | 131 --------------------------------- |
13 |
sci-libs/dealii/dealii-8.3.0.ebuild | 126 ------------------------------- |
14 |
sci-libs/dealii/metadata.xml | 2 - |
15 |
3 files changed, 259 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/dealii/dealii-8.2.1-r1.ebuild b/sci-libs/dealii/dealii-8.2.1-r1.ebuild |
18 |
deleted file mode 100644 |
19 |
index 8547307f7..000000000 |
20 |
--- a/sci-libs/dealii/dealii-8.2.1-r1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,131 +0,0 @@ |
23 |
-# Copyright 1999-2016 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-inherit cmake-utils eutils multilib |
29 |
- |
30 |
-# deal.II uses its own FindLAPACK.cmake file that calls into the system |
31 |
-# FindLAPACK.cmake module and does additional internal setup. Do not remove |
32 |
-# any of these modules: |
33 |
-CMAKE_REMOVE_MODULES_LIST="" |
34 |
- |
35 |
-DESCRIPTION="Solving partial differential equations with the finite element method" |
36 |
-HOMEPAGE="http://www.dealii.org/" |
37 |
- |
38 |
-if [[ ${PV} = *9999* ]]; then |
39 |
- inherit git-r3 |
40 |
- EGIT_REPO_URI="git://github.com/dealii/dealii.git" |
41 |
- SRC_URI="" |
42 |
- KEYWORDS="" |
43 |
-else |
44 |
- MY_PV="${PV//0_rc/rc}" |
45 |
- MY_P="${PN}-${MY_PV}" |
46 |
- SRC_URI="https://github.com/dealii/dealii/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz |
47 |
- doc? ( |
48 |
- https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz |
49 |
- -> ${P}-offline_documentation.tar.gz |
50 |
- http://ganymed.iwr.uni-heidelberg.de/~maier/dealii/releases/${MY_P}-offline_documentation.tar.gz |
51 |
- -> ${P}-offline_documentation.tar.gz |
52 |
- )" |
53 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
54 |
- S="${WORKDIR}/${PN}-${MY_PV}" |
55 |
-fi |
56 |
- |
57 |
-LICENSE="LGPL-2.1+" |
58 |
-SLOT="0" |
59 |
-IUSE=" |
60 |
- arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples |
61 |
- hdf5 +lapack mesh_converter metis mpi mumps muparser opencascade netcdf |
62 |
- p4est parameter_gui petsc +sparse static-libs +tbb trilinos |
63 |
-" |
64 |
- |
65 |
-# TODO: add slepc use flag once slepc is packaged for gentoo-science |
66 |
-REQUIRED_USE=" |
67 |
- mumps? ( mpi lapack ) |
68 |
- p4est? ( mpi ) |
69 |
- trilinos? ( mpi )" |
70 |
- |
71 |
-RDEPEND="dev-libs/boost |
72 |
- app-arch/bzip2 |
73 |
- sys-libs/zlib |
74 |
- arpack? ( sci-libs/arpack[mpi=] ) |
75 |
- hdf5? ( sci-libs/hdf5[mpi=] ) |
76 |
- lapack? ( virtual/lapack ) |
77 |
- metis? ( >=sci-libs/parmetis-4 ) |
78 |
- mpi? ( virtual/mpi ) |
79 |
- mumps? ( sci-libs/mumps[mpi] ) |
80 |
- muparser? ( dev-cpp/muParser ) |
81 |
- netcdf? ( sci-libs/netcdf-cxx:0 ) |
82 |
- opencascade? ( sci-libs/opencascade:* ) |
83 |
- p4est? ( sci-libs/p4est[mpi] ) |
84 |
- parameter_gui? ( dev-qt/qtgui:4 ) |
85 |
- petsc? ( sci-mathematics/petsc[mpi=] ) |
86 |
- sparse? ( sci-libs/umfpack ) |
87 |
- tbb? ( dev-cpp/tbb ) |
88 |
- trilinos? ( sci-libs/trilinos )" |
89 |
- |
90 |
-DEPEND="${RDEPEND} |
91 |
- virtual/pkgconfig |
92 |
- doc? ( app-doc/doxygen[dot] dev-lang/perl )" |
93 |
- |
94 |
-src_configure() { |
95 |
- # deal.II needs a custom build type: |
96 |
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release) |
97 |
- |
98 |
- local mycmakeargs=( |
99 |
- -DDEAL_II_ALLOW_AUTODETECTION=OFF |
100 |
- -DDEAL_II_ALLOW_BUNDLED=OFF |
101 |
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF |
102 |
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF |
103 |
- -DDEAL_II_COMPONENT_COMPAT_FILES=OFF |
104 |
- -DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros |
105 |
- -DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html |
106 |
- -DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/ |
107 |
- -DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples |
108 |
- -DDEAL_II_LIBRARY_RELDIR=$(get_libdir) |
109 |
- -DDEAL_II_WITH_BZIP2=ON |
110 |
- -DDEAL_II_WITH_ZLIB=ON |
111 |
- $(cmake-utils_use arpack DEAL_II_WITH_ARPACK) |
112 |
- $(cmake-utils_use c++11 DEAL_II_WITH_CXX11) |
113 |
- $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX) |
114 |
- $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2) |
115 |
- $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION) |
116 |
- $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES) |
117 |
- $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5) |
118 |
- $(cmake-utils_use lapack DEAL_II_WITH_LAPACK) |
119 |
- $(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER) |
120 |
- $(cmake-utils_use metis DEAL_II_WITH_METIS) |
121 |
- $(cmake-utils_use mpi DEAL_II_WITH_MPI) |
122 |
- $(cmake-utils_use mumps DEAL_II_WITH_MUMPS) |
123 |
- $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER) |
124 |
- $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF) |
125 |
- -DOPENCASCADE_DIR="${CASROOT}" |
126 |
- $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE) |
127 |
- $(cmake-utils_use p4est DEAL_II_WITH_P4EST) |
128 |
- $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI) |
129 |
- $(cmake-utils_use petsc DEAL_II_WITH_PETSC) |
130 |
- $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK) |
131 |
- $(cmake-utils_use !static-libs BUILD_SHARED_LIBS) |
132 |
- $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS) |
133 |
- $(cmake-utils_use tbb DEAL_II_WITH_THREADS) |
134 |
- $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS) |
135 |
- ) |
136 |
- cmake-utils_src_configure |
137 |
-} |
138 |
- |
139 |
-src_install() { |
140 |
- if use doc && [[ ${PV} != *9999* ]]; then |
141 |
- # copy missing images to the build directory: |
142 |
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \ |
143 |
- "${BUILD_DIR}"/doc/doxygen/deal.II || die |
144 |
- # replace links: |
145 |
- sed -i \ |
146 |
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \ |
147 |
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed" |
148 |
- fi |
149 |
- cmake-utils_src_install |
150 |
- |
151 |
- # decompress the installed example sources: |
152 |
- use examples && docompress -x /usr/share/doc/${PF}/examples |
153 |
-} |
154 |
|
155 |
diff --git a/sci-libs/dealii/dealii-8.3.0.ebuild b/sci-libs/dealii/dealii-8.3.0.ebuild |
156 |
deleted file mode 100644 |
157 |
index 8e97935e3..000000000 |
158 |
--- a/sci-libs/dealii/dealii-8.3.0.ebuild |
159 |
+++ /dev/null |
160 |
@@ -1,126 +0,0 @@ |
161 |
-# Copyright 1999-2017 Gentoo Foundation |
162 |
-# Distributed under the terms of the GNU General Public License v2 |
163 |
- |
164 |
-EAPI=5 |
165 |
- |
166 |
-inherit cmake-utils eutils multilib |
167 |
- |
168 |
-# deal.II uses its own FindLAPACK.cmake file that calls into the system |
169 |
-# FindLAPACK.cmake module and does additional internal setup. Do not remove |
170 |
-# any of these modules: |
171 |
-CMAKE_REMOVE_MODULES_LIST="" |
172 |
- |
173 |
-DESCRIPTION="Solving partial differential equations with the finite element method" |
174 |
-HOMEPAGE="http://www.dealii.org/" |
175 |
- |
176 |
-if [[ ${PV} = *9999* ]]; then |
177 |
- inherit git-r3 |
178 |
- EGIT_REPO_URI="git://github.com/dealii/dealii.git" |
179 |
- SRC_URI="" |
180 |
- KEYWORDS="" |
181 |
-else |
182 |
- MY_PV="${PV//0_rc/rc}" |
183 |
- MY_P="${PN}-${MY_PV}" |
184 |
- SRC_URI="https://github.com/dealii/dealii/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz |
185 |
- doc? ( |
186 |
- https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-offline_documentation.tar.gz |
187 |
- -> ${P}-offline_documentation.tar.gz |
188 |
- http://ganymed.iwr.uni-heidelberg.de/~maier/dealii/releases/${MY_P}-offline_documentation.tar.gz |
189 |
- -> ${P}-offline_documentation.tar.gz |
190 |
- )" |
191 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
192 |
- S="${WORKDIR}/${PN}-${MY_PV}" |
193 |
-fi |
194 |
- |
195 |
-LICENSE="LGPL-2.1+" |
196 |
-SLOT="0" |
197 |
-IUSE=" |
198 |
- arpack cpu_flags_x86_avx cpu_flags_x86_sse2 c++11 +debug doc +examples |
199 |
- hdf5 +lapack mesh_converter metis mpi muparser opencascade |
200 |
- netcdf p4est parameter_gui petsc +sparse static-libs +tbb trilinos |
201 |
-" |
202 |
- |
203 |
-# TODO: add slepc use flag once slepc is packaged for gentoo-science |
204 |
-REQUIRED_USE=" |
205 |
- p4est? ( mpi ) |
206 |
- trilinos? ( mpi )" |
207 |
- |
208 |
-RDEPEND="dev-libs/boost |
209 |
- app-arch/bzip2 |
210 |
- sys-libs/zlib |
211 |
- arpack? ( sci-libs/arpack[mpi=] ) |
212 |
- hdf5? ( sci-libs/hdf5[mpi=] ) |
213 |
- lapack? ( virtual/lapack ) |
214 |
- metis? ( >=sci-libs/parmetis-4 ) |
215 |
- mpi? ( virtual/mpi ) |
216 |
- muparser? ( dev-cpp/muParser ) |
217 |
- netcdf? ( sci-libs/netcdf-cxx:0 ) |
218 |
- opencascade? ( sci-libs/opencascade:* ) |
219 |
- p4est? ( sci-libs/p4est[mpi] ) |
220 |
- parameter_gui? ( dev-qt/qtgui:4 ) |
221 |
- petsc? ( sci-mathematics/petsc[mpi=] ) |
222 |
- sparse? ( sci-libs/umfpack ) |
223 |
- tbb? ( dev-cpp/tbb ) |
224 |
- trilinos? ( sci-libs/trilinos )" |
225 |
- |
226 |
-DEPEND="${RDEPEND} |
227 |
- virtual/pkgconfig |
228 |
- doc? ( app-doc/doxygen[dot] dev-lang/perl )" |
229 |
- |
230 |
-src_configure() { |
231 |
- # deal.II needs a custom build type: |
232 |
- local CMAKE_BUILD_TYPE=$(usex debug DebugRelease Release) |
233 |
- |
234 |
- local mycmakeargs=( |
235 |
- -DDEAL_II_ALLOW_AUTODETECTION=OFF |
236 |
- -DDEAL_II_ALLOW_BUNDLED=OFF |
237 |
- -DDEAL_II_ALLOW_PLATFORM_INTROSPECTION=OFF |
238 |
- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF |
239 |
- -DDEAL_II_LIBRARY_RELDIR="$(get_libdir)" |
240 |
- -DDEAL_II_SHARE_RELDIR="share/${PN}" |
241 |
- -DDEAL_II_DOCREADME_RELDIR="share/doc/${P}" |
242 |
- -DDEAL_II_EXAMPLES_RELDIR="share/doc/${P}/examples" |
243 |
- -DDEAL_II_WITH_BZIP2=ON |
244 |
- -DDEAL_II_WITH_ZLIB=ON |
245 |
- $(cmake-utils_use arpack DEAL_II_WITH_ARPACK) |
246 |
- $(cmake-utils_use c++11 DEAL_II_WITH_CXX11) |
247 |
- $(cmake-utils_use cpu_flags_x86_avx DEAL_II_HAVE_AVX) |
248 |
- $(cmake-utils_use cpu_flags_x86_sse2 DEAL_II_HAVE_SSE2) |
249 |
- $(cmake-utils_use doc DEAL_II_COMPONENT_DOCUMENTATION) |
250 |
- $(cmake-utils_use examples DEAL_II_COMPONENT_EXAMPLES) |
251 |
- $(cmake-utils_use hdf5 DEAL_II_WITH_HDF5) |
252 |
- $(cmake-utils_use lapack DEAL_II_WITH_LAPACK) |
253 |
- $(cmake-utils_use mesh_converter DEAL_II_COMPONENT_MESH_CONVERTER) |
254 |
- $(cmake-utils_use metis DEAL_II_WITH_METIS) |
255 |
- $(cmake-utils_use mpi DEAL_II_WITH_MPI) |
256 |
- $(cmake-utils_use muparser DEAL_II_WITH_MUPARSER) |
257 |
- $(cmake-utils_use netcdf DEAL_II_WITH_NETCDF) |
258 |
- -DOPENCASCADE_DIR="${CASROOT}" |
259 |
- $(cmake-utils_use opencascade DEAL_II_WITH_OPENCASCADE) |
260 |
- $(cmake-utils_use p4est DEAL_II_WITH_P4EST) |
261 |
- $(cmake-utils_use parameter_gui DEAL_II_COMPONENT_PARAMETER_GUI) |
262 |
- $(cmake-utils_use petsc DEAL_II_WITH_PETSC) |
263 |
- $(cmake-utils_use sparse DEAL_II_WITH_UMFPACK) |
264 |
- $(cmake-utils_use !static-libs BUILD_SHARED_LIBS) |
265 |
- $(cmake-utils_use static-libs DEAL_II_PREFER_STATIC_LIBS) |
266 |
- $(cmake-utils_use tbb DEAL_II_WITH_THREADS) |
267 |
- $(cmake-utils_use trilinos DEAL_II_WITH_TRILINOS) |
268 |
- ) |
269 |
- cmake-utils_src_configure |
270 |
-} |
271 |
- |
272 |
-src_install() { |
273 |
- if use doc && [[ ${PV} != *9999* ]]; then |
274 |
- # copy missing images to the build directory: |
275 |
- cp -r "${WORKDIR}"/doc/doxygen/deal.II/images \ |
276 |
- "${BUILD_DIR}"/doc/doxygen/deal.II || die |
277 |
- # replace links: |
278 |
- sed -i \ |
279 |
- 's#"http://www.dealii.org/images/steps/developer/\(step-.*\)"#"images/\1"#g' \ |
280 |
- "${BUILD_DIR}"/doc/doxygen/deal.II/step_*.html || die "sed failed" |
281 |
- fi |
282 |
- cmake-utils_src_install |
283 |
- |
284 |
- # decompress the installed example sources: |
285 |
- use examples && docompress -x /usr/share/doc/${PF}/examples |
286 |
-} |
287 |
|
288 |
diff --git a/sci-libs/dealii/metadata.xml b/sci-libs/dealii/metadata.xml |
289 |
index 2125eb0c0..ad4572d88 100644 |
290 |
--- a/sci-libs/dealii/metadata.xml |
291 |
+++ b/sci-libs/dealii/metadata.xml |
292 |
@@ -24,9 +24,7 @@ and extra output. If you want to get meaningful backtraces see |
293 |
<http://www.gentoo.org/proj/en/qa/backtraces.xml></flag> |
294 |
<flag name="c++11">Compile the library with -std=c++11</flag> |
295 |
<flag name="gmsh">Add support for gmsh (<pkg>sci-libs/gmsh</pkg>)</flag> |
296 |
- <flag name="mesh_converter">Build and install the mesh_converter executable</flag> |
297 |
<flag name="metis">Add support for metis (<pkg>sci-libs/metis</pkg>)</flag> |
298 |
- <flag name="mumps">Add support for mumps (<pkg>sci-libs/mumps</pkg>)</flag> |
299 |
<flag name="muparser">Add support for muparser (<pkg>dev-cpp/muParser</pkg>)</flag> |
300 |
<flag name="nanoflann">Adds support for nanoflann (<pkg>sci-libs/nanoflann</pkg>)</flag> |
301 |
<flag name="opencascade">Add support for opencascade (<pkg>sci-libs/opencascade</pkg>)</flag> |