Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, sci-libs/openfoam/, profiles/base/
Date: Thu, 31 Oct 2019 15:36:25
Message-Id: 1572535723.270b5cea93491f0dc44e44c424fcef72b4291027.mgorny@gentoo
1 commit: 270b5cea93491f0dc44e44c424fcef72b4291027
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 31 15:28:30 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 31 15:28:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270b5cea
7
8 sci-libs/openfoam: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/633888
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/base/package.use.stable.mask | 5 --
14 profiles/package.mask | 3 +-
15 sci-libs/openfoam/Manifest | 5 --
16 sci-libs/openfoam/metadata.xml | 16 ----
17 sci-libs/openfoam/openfoam-2.2.1.ebuild | 108 ---------------------------
18 sci-libs/openfoam/openfoam-2.2.2.ebuild | 108 ---------------------------
19 sci-libs/openfoam/openfoam-2.3.0-r1.ebuild | 111 ----------------------------
20 sci-libs/openfoam/openfoam-2.3.1-r1.ebuild | 111 ----------------------------
21 sci-libs/openfoam/openfoam-2.4.0-r1.ebuild | 113 -----------------------------
22 9 files changed, 1 insertion(+), 579 deletions(-)
23
24 diff --git a/profiles/base/package.use.stable.mask b/profiles/base/package.use.stable.mask
25 index be558cdfa90..f4a364e4c9c 100644
26 --- a/profiles/base/package.use.stable.mask
27 +++ b/profiles/base/package.use.stable.mask
28 @@ -197,11 +197,6 @@ app-emulation/vice ffmpeg
29 # yet (bug #542210)
30 net-analyzer/pmacct mongodb
31
32 -# Pacho Ramos <pacho@g.o>
33 -# sci-visualization/paraview is not ready for stabilization yet
34 -# See bug #541012
35 -sci-libs/openfoam paraview
36 -
37 # Ben de Groot <yngwin@g.o>
38 # Mask experimental feature on stable. This also needs not yet stable mupdf.
39 app-text/qpdfview fitz
40
41 diff --git a/profiles/package.mask b/profiles/package.mask
42 index 18a680ba158..791eececd27 100644
43 --- a/profiles/package.mask
44 +++ b/profiles/package.mask
45 @@ -508,7 +508,7 @@ sys-libs/libstdc++-v3-bin
46 # media-fonts/hkscs-ming: #640590
47 # net-print/adobeps: #687000
48 # sci-chemistry/xdsstat-bin: #673962
49 -# sci-libs/parmgridgen (+ revdep sci-libs/openfoam): #633888
50 +# sci-libs/parmgridgen: #633888
51 #
52 # Removal in 30 days.
53 games-fps/enemy-territory-etpro
54 @@ -519,7 +519,6 @@ games-strategy/mindrover-demo
55 media-fonts/hkscs-ming
56 net-print/adobeps
57 sci-chemistry/xdsstat-bin
58 -sci-libs/openfoam
59 sci-libs/parmgridgen
60
61 # Stefan Strogin <steils@g.o> (2019-09-27)
62
63 diff --git a/sci-libs/openfoam/Manifest b/sci-libs/openfoam/Manifest
64 deleted file mode 100644
65 index a6b317c7242..00000000000
66 --- a/sci-libs/openfoam/Manifest
67 +++ /dev/null
68 @@ -1,5 +0,0 @@
69 -DIST OpenFOAM-2.2.1.tgz 37600247 BLAKE2B ba364c052e482379e7a280aa4d35260e276eab61a93668e1ca26ddcbf8228f67f7562cf90e6d9e659b5971b0b8f28455ef1a8420d901e911913c331c34edc739 SHA512 1b3afab700ca6e8b328ec76b5d862e67696ad6c622bc1d3a26c3cc87d6ad62f752be72cc0644510b63612fd1441e7a2969e3b53728d30f2a67a2453530fcd286
70 -DIST OpenFOAM-2.2.2.tgz 32536146 BLAKE2B e56a9fd2f85baeca478ea5ab663fe502ca20234da0fe379cf44fe2189813c0fb675e8a94ed1a4fae7972c9dfd0ad4e36da6eea1dc0b34d9771cdd881d931b0a9 SHA512 c57128b4a3fea0419118963a0e65dcecb532cb36713a03c3beef027e57f5a48c6839f35286eb9163cceb9e278bef6135bca7ca53990c2dbe4544fb26e82098d0
71 -DIST OpenFOAM-2.3.0.tgz 37339475 BLAKE2B b09369bbd76dd0555e8a89b108196e47fd7d410447e95991132f6f2d3ab59d0b8b22370d7bb2fab2425bd66dcce2f687fbf6b4c293dd3fd81103b931b0455c80 SHA512 314e4726c3814bf8efebee88be0113c3921be8daeb947ef325688911ff6dc265f144952adf77af1d274abff58c68331bc48f4e74ef7a632c98adbd87fe79355c
72 -DIST OpenFOAM-2.3.1.tgz 37660806 BLAKE2B 36a9034bd9e601303c6d141d1f236650ed890ba1a032f81cfa11073fbb5deece734691b0d64069c7e59af055d2336fc725beeec8f612242098b139dd6abeb1d7 SHA512 a55cb2c8ac66bbfff81249aab759e1178895597460544009129883ab775813bb028d4c294d1913fd644d9d2268d075d2fd151c1cd1aac69080555f99ce1c182e
73 -DIST OpenFOAM-2.4.0.tgz 41640005 BLAKE2B d8d3efb323966d0b1617a80711724e9a9f52372f7548bab6f6d41c6920f20fb25f2d0dbfdb82a5b7ce6604548fc61ef3f383f045c3b90ac7d5c3132f3933ca8f SHA512 1916191d810676145a88492e902840f5cbd839f3b221dcf55c5edc26791b395c1d36fd6ef37e4c1bc1f813357a3b22ce3ec3e1b802ac49157f76d25e6ca53cbe
74
75 diff --git a/sci-libs/openfoam/metadata.xml b/sci-libs/openfoam/metadata.xml
76 deleted file mode 100644
77 index 3bb70c9ae50..00000000000
78 --- a/sci-libs/openfoam/metadata.xml
79 +++ /dev/null
80 @@ -1,16 +0,0 @@
81 -<?xml version="1.0" encoding="UTF-8"?>
82 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
83 -<pkgmetadata>
84 - <maintainer type="person">
85 - <email>patrick@g.o</email>
86 - <name>Patrick Lauer</name>
87 - </maintainer>
88 - <use>
89 - <flag name="opendx"> Install opendx visualisation tool</flag>
90 - <flag name="src"> Install source files</flag>
91 - <flag name="paraview">Enable support for paraview library</flag>
92 - </use>
93 - <upstream>
94 - <remote-id type="sourceforge">downloads</remote-id>
95 - </upstream>
96 -</pkgmetadata>
97
98 diff --git a/sci-libs/openfoam/openfoam-2.2.1.ebuild b/sci-libs/openfoam/openfoam-2.2.1.ebuild
99 deleted file mode 100644
100 index 711bb0042fc..00000000000
101 --- a/sci-libs/openfoam/openfoam-2.2.1.ebuild
102 +++ /dev/null
103 @@ -1,108 +0,0 @@
104 -# Copyright 1999-2014 Gentoo Foundation
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI="5"
108 -
109 -inherit eutils versionator multilib toolchain-funcs multiprocessing
110 -
111 -MY_PN="OpenFOAM"
112 -MY_PV=$(get_version_component_range 1-2)
113 -MY_P="${MY_PN}-${PV}"
114 -
115 -DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
116 -HOMEPAGE="http://www.openfoam.org"
117 -SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
118 -
119 -LICENSE="GPL-2"
120 -SLOT="2.2"
121 -KEYWORDS="~amd64 ~x86"
122 -IUSE="doc examples opendx src"
123 -
124 -RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
125 - !=sci-libs/openfoam-kernel-${MY_PV}*
126 - !=sci-libs/openfoam-meta-${MY_PV}*
127 - !=sci-libs/openfoam-solvers-${MY_PV}*
128 - !=sci-libs/openfoam-utilities-${MY_PV}*
129 - !=sci-libs/openfoam-wmake-${MY_PV}*
130 - sci-libs/parmetis
131 - sci-libs/parmgridgen
132 - sci-libs/scotch
133 - virtual/mpi
134 - opendx? ( sci-visualization/opendx )"
135 -DEPEND="${DEPEND}
136 - doc? ( app-doc/doxygen[dot] )"
137 -
138 -S=${WORKDIR}/${MY_P}
139 -INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
140 -
141 -pkg_setup() {
142 - # just to be sure the right profile is selected (gcc-config)
143 - if ! version_is_at_least 4.3 $(gcc-version) ; then
144 - die "${PN} requires >=sys-devel/gcc-4.3 to compile."
145 - fi
146 -
147 - elog
148 - elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
149 - elog
150 - elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
151 - elog
152 - elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
153 - ewarn
154 - ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
155 - ewarn
156 -}
157 -
158 -src_configure() {
159 - if has_version sys-cluster/mpich2 ; then
160 - export WM_MPLIB=MPICH
161 - elif has_version sys-cluster/openmpi ; then
162 - export WM_MPLIB=OPENMPI
163 - else
164 - die "You need one of the following mpi implementations: openmpi or mpich2"
165 - fi
166 -
167 - sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
168 - sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
169 -
170 - sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
171 - sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
172 -}
173 -
174 -src_compile() {
175 - export WM_NCOMPPROCS=$(makeopts_jobs)
176 -
177 - export FOAM_INST_DIR=${WORKDIR}
178 - source etc/bashrc
179 -
180 - find wmake -name dirToString -exec rm -rf {} +
181 - find wmake -name wmkdep -exec rm -rf {}+
182 -
183 - if use doc ; then
184 - ./Allwmake doc || die "could not build"
185 - else
186 - ./Allwmake || die "could not build"
187 - fi
188 -}
189 -
190 -src_test() {
191 - cd bin
192 - ./foamInstallationTest
193 -}
194 -
195 -src_install() {
196 - insinto ${INSDIR}
197 - doins -r etc
198 -
199 - use examples && doins -r tutorials
200 -
201 - use src && doins -r src
202 -
203 - insopts -m0755
204 - doins -r bin applications platforms wmake
205 -
206 - dodoc README.html doc/Guides-a4/*.pdf
207 -
208 - if use doc ; then
209 - dohtml -r doc/Doxygen
210 - fi
211 -}
212
213 diff --git a/sci-libs/openfoam/openfoam-2.2.2.ebuild b/sci-libs/openfoam/openfoam-2.2.2.ebuild
214 deleted file mode 100644
215 index 711bb0042fc..00000000000
216 --- a/sci-libs/openfoam/openfoam-2.2.2.ebuild
217 +++ /dev/null
218 @@ -1,108 +0,0 @@
219 -# Copyright 1999-2014 Gentoo Foundation
220 -# Distributed under the terms of the GNU General Public License v2
221 -
222 -EAPI="5"
223 -
224 -inherit eutils versionator multilib toolchain-funcs multiprocessing
225 -
226 -MY_PN="OpenFOAM"
227 -MY_PV=$(get_version_component_range 1-2)
228 -MY_P="${MY_PN}-${PV}"
229 -
230 -DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
231 -HOMEPAGE="http://www.openfoam.org"
232 -SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
233 -
234 -LICENSE="GPL-2"
235 -SLOT="2.2"
236 -KEYWORDS="~amd64 ~x86"
237 -IUSE="doc examples opendx src"
238 -
239 -RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
240 - !=sci-libs/openfoam-kernel-${MY_PV}*
241 - !=sci-libs/openfoam-meta-${MY_PV}*
242 - !=sci-libs/openfoam-solvers-${MY_PV}*
243 - !=sci-libs/openfoam-utilities-${MY_PV}*
244 - !=sci-libs/openfoam-wmake-${MY_PV}*
245 - sci-libs/parmetis
246 - sci-libs/parmgridgen
247 - sci-libs/scotch
248 - virtual/mpi
249 - opendx? ( sci-visualization/opendx )"
250 -DEPEND="${DEPEND}
251 - doc? ( app-doc/doxygen[dot] )"
252 -
253 -S=${WORKDIR}/${MY_P}
254 -INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
255 -
256 -pkg_setup() {
257 - # just to be sure the right profile is selected (gcc-config)
258 - if ! version_is_at_least 4.3 $(gcc-version) ; then
259 - die "${PN} requires >=sys-devel/gcc-4.3 to compile."
260 - fi
261 -
262 - elog
263 - elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
264 - elog
265 - elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
266 - elog
267 - elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
268 - ewarn
269 - ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
270 - ewarn
271 -}
272 -
273 -src_configure() {
274 - if has_version sys-cluster/mpich2 ; then
275 - export WM_MPLIB=MPICH
276 - elif has_version sys-cluster/openmpi ; then
277 - export WM_MPLIB=OPENMPI
278 - else
279 - die "You need one of the following mpi implementations: openmpi or mpich2"
280 - fi
281 -
282 - sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
283 - sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
284 -
285 - sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
286 - sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
287 -}
288 -
289 -src_compile() {
290 - export WM_NCOMPPROCS=$(makeopts_jobs)
291 -
292 - export FOAM_INST_DIR=${WORKDIR}
293 - source etc/bashrc
294 -
295 - find wmake -name dirToString -exec rm -rf {} +
296 - find wmake -name wmkdep -exec rm -rf {}+
297 -
298 - if use doc ; then
299 - ./Allwmake doc || die "could not build"
300 - else
301 - ./Allwmake || die "could not build"
302 - fi
303 -}
304 -
305 -src_test() {
306 - cd bin
307 - ./foamInstallationTest
308 -}
309 -
310 -src_install() {
311 - insinto ${INSDIR}
312 - doins -r etc
313 -
314 - use examples && doins -r tutorials
315 -
316 - use src && doins -r src
317 -
318 - insopts -m0755
319 - doins -r bin applications platforms wmake
320 -
321 - dodoc README.html doc/Guides-a4/*.pdf
322 -
323 - if use doc ; then
324 - dohtml -r doc/Doxygen
325 - fi
326 -}
327
328 diff --git a/sci-libs/openfoam/openfoam-2.3.0-r1.ebuild b/sci-libs/openfoam/openfoam-2.3.0-r1.ebuild
329 deleted file mode 100644
330 index 0935f695380..00000000000
331 --- a/sci-libs/openfoam/openfoam-2.3.0-r1.ebuild
332 +++ /dev/null
333 @@ -1,111 +0,0 @@
334 -# Copyright 1999-2014 Gentoo Foundation
335 -# Distributed under the terms of the GNU General Public License v2
336 -
337 -EAPI="5"
338 -
339 -inherit eutils versionator multilib toolchain-funcs multiprocessing
340 -
341 -MY_PN="OpenFOAM"
342 -MY_PV=$(get_version_component_range 1-2)
343 -MY_P="${MY_PN}-${PV}"
344 -
345 -DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
346 -HOMEPAGE="http://www.openfoam.org"
347 -SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
348 -
349 -LICENSE="GPL-2"
350 -SLOT="2.3"
351 -KEYWORDS="~amd64 ~x86"
352 -IUSE="doc examples opendx src"
353 -
354 -RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
355 - !=sci-libs/openfoam-kernel-${MY_PV}*
356 - !=sci-libs/openfoam-meta-${MY_PV}*
357 - !=sci-libs/openfoam-solvers-${MY_PV}*
358 - !=sci-libs/openfoam-utilities-${MY_PV}*
359 - !=sci-libs/openfoam-wmake-${MY_PV}*
360 - sci-libs/parmetis
361 - sci-libs/parmgridgen
362 - sci-libs/scotch
363 - virtual/mpi
364 - opendx? ( sci-visualization/opendx )"
365 -DEPEND="${DEPEND}
366 - doc? ( app-doc/doxygen[dot] )"
367 -
368 -S=${WORKDIR}/${MY_P}
369 -INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
370 -
371 -pkg_setup() {
372 - # just to be sure the right profile is selected (gcc-config)
373 - if ! version_is_at_least 4.3 $(gcc-version) ; then
374 - die "${PN} requires >=sys-devel/gcc-4.3 to compile."
375 - fi
376 -
377 - elog
378 - elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
379 - elog
380 - elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
381 - elog
382 - elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
383 - ewarn
384 - ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
385 - ewarn
386 -}
387 -
388 -src_configure() {
389 - if has_version sys-cluster/mpich2 ; then
390 - export WM_MPLIB=MPICH
391 - elif has_version sys-cluster/openmpi ; then
392 - export WM_MPLIB=OPENMPI
393 - else
394 - die "You need one of the following mpi implementations: openmpi or mpich2"
395 - fi
396 -
397 - sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
398 - sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
399 -
400 - sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
401 - sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
402 -
403 - sed -i -e 's|^export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|export ParaView_DIR=/usr|' etc/config/paraview.sh
404 - sed -i -e 's|^setenv ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|setenv ParaView_DIR /usr|' etc/config/paraview.csh
405 -}
406 -
407 -src_compile() {
408 - export WM_NCOMPPROCS=$(makeopts_jobs)
409 -
410 - export FOAM_INST_DIR=${WORKDIR}
411 - source etc/bashrc
412 -
413 - find wmake -name dirToString -exec rm -rf {} +
414 - find wmake -name wmkdep -exec rm -rf {}+
415 -
416 - ./Allwmake || die "could not build"
417 - if use doc ; then
418 - doc/Allwmake || die "could not build"
419 - fi
420 -}
421 -
422 -# Doesn't do anything sane
423 -#src_test() {
424 -# cd bin
425 -# ./foamInstallationTest
426 -#}
427 -
428 -src_install() {
429 - insinto ${INSDIR}
430 - doins -r etc
431 -
432 - use examples && doins -r tutorials
433 -
434 - use src && doins -r src
435 -
436 - insopts -m0755
437 - doins -r bin applications platforms wmake
438 -
439 - dodoc README.html doc/Guides-a4/*.pdf
440 -
441 - if use doc ; then
442 - dohtml -r doc/Doxygen
443 - fi
444 -}
445
446 diff --git a/sci-libs/openfoam/openfoam-2.3.1-r1.ebuild b/sci-libs/openfoam/openfoam-2.3.1-r1.ebuild
447 deleted file mode 100644
448 index 9ed9cb2b090..00000000000
449 --- a/sci-libs/openfoam/openfoam-2.3.1-r1.ebuild
450 +++ /dev/null
451 @@ -1,111 +0,0 @@
452 -# Copyright 1999-2015 Gentoo Foundation
453 -# Distributed under the terms of the GNU General Public License v2
454 -
455 -EAPI="5"
456 -
457 -inherit eutils versionator multilib toolchain-funcs multiprocessing
458 -
459 -MY_PN="OpenFOAM"
460 -MY_PV=$(get_version_component_range 1-2)
461 -MY_P="${MY_PN}-${PV}"
462 -
463 -DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
464 -HOMEPAGE="http://www.openfoam.org"
465 -SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
466 -
467 -LICENSE="GPL-2"
468 -SLOT="2.3"
469 -KEYWORDS="amd64 x86"
470 -IUSE="doc examples opendx src"
471 -
472 -RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
473 - !=sci-libs/openfoam-kernel-${MY_PV}*
474 - !=sci-libs/openfoam-meta-${MY_PV}*
475 - !=sci-libs/openfoam-solvers-${MY_PV}*
476 - !=sci-libs/openfoam-utilities-${MY_PV}*
477 - !=sci-libs/openfoam-wmake-${MY_PV}*
478 - sci-libs/parmetis
479 - sci-libs/parmgridgen
480 - sci-libs/scotch
481 - virtual/mpi
482 - opendx? ( sci-visualization/opendx )"
483 -DEPEND="${DEPEND}
484 - doc? ( app-doc/doxygen[dot] )"
485 -
486 -S=${WORKDIR}/${MY_P}
487 -INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
488 -
489 -pkg_setup() {
490 - # just to be sure the right profile is selected (gcc-config)
491 - if ! version_is_at_least 4.3 $(gcc-version) ; then
492 - die "${PN} requires >=sys-devel/gcc-4.3 to compile."
493 - fi
494 -
495 - elog
496 - elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
497 - elog
498 - elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
499 - elog
500 - elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
501 - ewarn
502 - ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
503 - ewarn
504 -}
505 -
506 -src_configure() {
507 - if has_version sys-cluster/mpich2 ; then
508 - export WM_MPLIB=MPICH
509 - elif has_version sys-cluster/openmpi ; then
510 - export WM_MPLIB=OPENMPI
511 - else
512 - die "You need one of the following mpi implementations: openmpi or mpich2"
513 - fi
514 -
515 - sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
516 - sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
517 -
518 - sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
519 - sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
520 -
521 - sed -i -e 's|^export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|export ParaView_DIR=/usr|' etc/config/paraview.sh
522 - sed -i -e 's|^setenv ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|setenv ParaView_DIR /usr|' etc/config/paraview.csh
523 -}
524 -
525 -src_compile() {
526 - export WM_NCOMPPROCS=$(makeopts_jobs)
527 -
528 - export FOAM_INST_DIR=${WORKDIR}
529 - source etc/bashrc
530 -
531 - find wmake -name dirToString -exec rm -rf {} +
532 - find wmake -name wmkdep -exec rm -rf {}+
533 -
534 - ./Allwmake || die "could not build"
535 - if use doc ; then
536 - doc/Allwmake || die "could not build"
537 - fi
538 -}
539 -
540 -# Doesn't do anything sane
541 -#src_test() {
542 -# cd bin
543 -# ./foamInstallationTest
544 -#}
545 -
546 -src_install() {
547 - insinto ${INSDIR}
548 - doins -r etc
549 -
550 - use examples && doins -r tutorials
551 -
552 - use src && doins -r src
553 -
554 - insopts -m0755
555 - doins -r bin applications platforms wmake
556 -
557 - dodoc README.html doc/Guides-a4/*.pdf
558 -
559 - if use doc ; then
560 - dohtml -r doc/Doxygen
561 - fi
562 -}
563
564 diff --git a/sci-libs/openfoam/openfoam-2.4.0-r1.ebuild b/sci-libs/openfoam/openfoam-2.4.0-r1.ebuild
565 deleted file mode 100644
566 index 67bda192d50..00000000000
567 --- a/sci-libs/openfoam/openfoam-2.4.0-r1.ebuild
568 +++ /dev/null
569 @@ -1,113 +0,0 @@
570 -# Copyright 1999-2015 Gentoo Foundation
571 -# Distributed under the terms of the GNU General Public License v2
572 -
573 -EAPI="5"
574 -
575 -inherit eutils versionator multilib toolchain-funcs multiprocessing
576 -
577 -MY_PN="OpenFOAM"
578 -MY_PV=$(get_version_component_range 1-2)
579 -MY_P="${MY_PN}-${PV}"
580 -
581 -DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox"
582 -HOMEPAGE="http://www.openfoam.org"
583 -SRC_URI="http://downloads.sourceforge.net/foam/${MY_P}.tgz"
584 -
585 -LICENSE="GPL-2"
586 -SLOT="2.4"
587 -KEYWORDS="~amd64 ~x86"
588 -IUSE="doc examples opendx src paraview"
589 -
590 -RDEPEND="!=sci-libs/openfoam-bin-${MY_PV}*
591 - !=sci-libs/openfoam-kernel-${MY_PV}*
592 - !=sci-libs/openfoam-meta-${MY_PV}*
593 - !=sci-libs/openfoam-solvers-${MY_PV}*
594 - !=sci-libs/openfoam-utilities-${MY_PV}*
595 - !=sci-libs/openfoam-wmake-${MY_PV}*
596 - sci-mathematics/cgal
597 - sci-libs/parmetis
598 - sci-libs/parmgridgen
599 - sci-libs/scotch
600 - virtual/mpi
601 - opendx? ( sci-visualization/opendx )
602 - paraview? ( sci-visualization/paraview[development] )"
603 -DEPEND="${DEPEND}
604 - doc? ( app-doc/doxygen[dot] )"
605 -
606 -S=${WORKDIR}/${MY_P}
607 -INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
608 -
609 -pkg_setup() {
610 - # just to be sure the right profile is selected (gcc-config)
611 - if ! version_is_at_least 4.3 $(gcc-version) ; then
612 - die "${PN} requires >=sys-devel/gcc-4.3 to compile."
613 - fi
614 -
615 - elog
616 - elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :"
617 - elog
618 - elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'"
619 - elog
620 - elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})"
621 - ewarn
622 - ewarn "FoamX is deprecated since ${MY_PN}-1.5! "
623 - ewarn
624 -}
625 -
626 -src_configure() {
627 - if has_version sys-cluster/mpich2 ; then
628 - export WM_MPLIB=MPICH
629 - elif has_version sys-cluster/openmpi ; then
630 - export WM_MPLIB=OPENMPI
631 - else
632 - die "You need one of the following mpi implementations: openmpi or mpich2"
633 - fi
634 -
635 - sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc
636 - sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc
637 -
638 - sed -i -e "s|^foamInstall=\$HOME|foamInstall=/usr/$(get_libdir)|" etc/bashrc
639 - sed -i -e "s|^set foamInstall = \$HOME|set foamInstall = /usr/$(get_libdir)|" etc/cshrc
640 -
641 - sed -i -e 's|^export ParaView_DIR=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|export ParaView_DIR=/usr|' etc/config/paraview.sh
642 - sed -i -e 's|^setenv ParaView_DIR $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$paraviewArchName|setenv ParaView_DIR /usr|' etc/config/paraview.csh
643 -}
644 -
645 -src_compile() {
646 - export WM_NCOMPPROCS=$(makeopts_jobs)
647 -
648 - export FOAM_INST_DIR=${WORKDIR}
649 - source etc/bashrc
650 -
651 - find wmake -name dirToString -exec rm -rf {} +
652 - find wmake -name wmkdep -exec rm -rf {}+
653 -
654 - ./Allwmake || die "could not build"
655 - if use doc ; then
656 - doc/Allwmake || die "could not build"
657 - fi
658 -}
659 -
660 -# Doesn't do anything sane
661 -#src_test() {
662 -# cd bin
663 -# ./foamInstallationTest
664 -#}
665 -
666 -src_install() {
667 - insinto ${INSDIR}
668 - doins -r etc
669 -
670 - use examples && doins -r tutorials
671 -
672 - use src && doins -r src
673 -
674 - insopts -m0755
675 - doins -r bin applications platforms wmake
676 -
677 - dodoc README.html doc/Guides-a4/*.pdf
678 -
679 - if use doc ; then
680 - dohtml -r doc/Doxygen
681 - fi
682 -}