1 |
commit: 83904043241454669bd7b93150e98b3f9ed74854 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 4 11:21:13 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 4 11:21:13 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83904043 |
7 |
|
8 |
sci-libs/openfoam-bin: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/688504 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
profiles/package.mask | 5 -- |
14 |
sci-libs/openfoam-bin/Manifest | 4 - |
15 |
sci-libs/openfoam-bin/metadata.xml | 11 --- |
16 |
sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild | 107 -------------------------- |
17 |
4 files changed, 127 deletions(-) |
18 |
|
19 |
diff --git a/profiles/package.mask b/profiles/package.mask |
20 |
index 8576fb5420a..23015a91f3c 100644 |
21 |
--- a/profiles/package.mask |
22 |
+++ b/profiles/package.mask |
23 |
@@ -1062,11 +1062,6 @@ media-libs/fmod |
24 |
# dependencies. Removal in 30 days. Bug #640860. |
25 |
dev-cpp/xsd |
26 |
|
27 |
-# Andreas K. Hüttel <dilfridge@g.o> (2019-09-04) |
28 |
-# EAPI 2. Brutally outdated and untouched for ages. Removal in |
29 |
-# 30 days, bug 688504 |
30 |
-sci-libs/openfoam-bin |
31 |
- |
32 |
# Lars Wendler <polynomial-c@g.o> (2019-09-04) |
33 |
# Unofficial build. Superseded by official 2.49.5 release. |
34 |
# Masked for removal. |
35 |
|
36 |
diff --git a/sci-libs/openfoam-bin/Manifest b/sci-libs/openfoam-bin/Manifest |
37 |
deleted file mode 100644 |
38 |
index 1dfcbc0eb62..00000000000 |
39 |
--- a/sci-libs/openfoam-bin/Manifest |
40 |
+++ /dev/null |
41 |
@@ -1,4 +0,0 @@ |
42 |
-DIST OpenFOAM-1.6-compile.patch.bz2 5835 BLAKE2B 2fe8f45180cf8bac09047f0e59e758782442adc482144d2cb5cd9c860e985e2c196e58ac45c4066f6efb0896e7e3539f388d876c9088b85a4772605a1554b48d SHA512 625d6b30444bb5cfabd81b94ffcdad082dabafc7ee59eb70ab2f6cf816ee395bc7b9b5697308ed95a83c75cf2778ebd03eaa284fbcc3c17c226ac7443f5e76df |
43 |
-DIST OpenFOAM-1.6.General.tgz 241760751 BLAKE2B 34670d7b3ffc47cc78729a9f84c036d5f2de11d4c478e437ed3fef5c5d19a77b35da682ddb28e63a4d7148e4c6b4edcf19c86d7c005eebb7fd01ab1622d18a06 SHA512 88988426c5cbb980e0df82c0a8b6396490c8ac6f6a3633da9d3629f5a017849b4d8637cc0f5003e33f0dd5825003b9405ede6f868b5f747be5afb6f31c96d128 |
44 |
-DIST OpenFOAM-1.6.linux64GccDPOpt.tgz 44957838 BLAKE2B 058b2befa8beb438aedc5ade8d31067ec8938875f861bec9b9967cb4803f0994af205e84d79438cf3dbf9a890a76effaf24368843e7b6469651c7ba7591d51b3 SHA512 bc9f428d729b918597db5b507cb2d558ce52d3faeb1eabcb9b2382a4d4b937906073d336e98e1b5bc1c5a62d0658603348abd7870695001215e467033a8d8f02 |
45 |
-DIST OpenFOAM-1.6.linuxGccDPOpt.tgz 41587474 BLAKE2B c8f585b7e3fd20514ffc57d10aa2dd7e93c4aaa78ffa090f31a1f5d45854b457e1887adaf6504e0a92422674c2b0babce9eb3d725547e53e3430bd065cceeb7e SHA512 54c764780d563555766c4c4507b6fdd3f138a1cf7ec29e557a8ebc7040aee8626ce80672cf258196fbbabfedea21916ba5dc9dcab94a54d45fbae90ff0edee4b |
46 |
|
47 |
diff --git a/sci-libs/openfoam-bin/metadata.xml b/sci-libs/openfoam-bin/metadata.xml |
48 |
deleted file mode 100644 |
49 |
index 33f20063ea8..00000000000 |
50 |
--- a/sci-libs/openfoam-bin/metadata.xml |
51 |
+++ /dev/null |
52 |
@@ -1,11 +0,0 @@ |
53 |
-<?xml version="1.0" encoding="UTF-8"?> |
54 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
55 |
-<pkgmetadata> |
56 |
- <maintainer type="person"> |
57 |
- <email>patrick@g.o</email> |
58 |
- <name>Patrick Lauer</name> |
59 |
- </maintainer> |
60 |
- <upstream> |
61 |
- <remote-id type="sourceforge">foam</remote-id> |
62 |
- </upstream> |
63 |
-</pkgmetadata> |
64 |
|
65 |
diff --git a/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild b/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild |
66 |
deleted file mode 100644 |
67 |
index bef10456aa1..00000000000 |
68 |
--- a/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild |
69 |
+++ /dev/null |
70 |
@@ -1,107 +0,0 @@ |
71 |
-# Copyright 1999-2016 Gentoo Foundation |
72 |
-# Distributed under the terms of the GNU General Public License v2 |
73 |
- |
74 |
-EAPI="2" |
75 |
- |
76 |
-inherit eutils versionator multilib toolchain-funcs |
77 |
- |
78 |
-MY_PN="OpenFOAM" |
79 |
-MY_PV=$(get_version_component_range 1-2) |
80 |
-MY_P="${MY_PN}-${MY_PV}" |
81 |
- |
82 |
-DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox" |
83 |
-HOMEPAGE="http://www.opencfd.co.uk/openfoam/" |
84 |
-SRC_URI="mirror://sourceforge/foam/${MY_P}.General.gtgz -> ${MY_P}.General.tgz |
85 |
- x86? ( mirror://sourceforge/foam/${MY_P}.linuxGccDPOpt.gtgz -> ${MY_P}.linuxGccDPOpt.tgz ) |
86 |
- amd64? ( mirror://sourceforge/foam/${MY_P}.linux64GccDPOpt.gtgz -> ${MY_P}.linux64GccDPOpt.tgz ) |
87 |
- mirror://gentoo/${MY_P}-compile.patch.bz2" |
88 |
- |
89 |
-LICENSE="GPL-2" |
90 |
-SLOT="1.6" |
91 |
-KEYWORDS="-* ~amd64 ~x86" |
92 |
-IUSE="examples doc" |
93 |
- |
94 |
-DEPEND="!=sci-libs/openfoam-${MY_PV}* |
95 |
- !=sci-libs/openfoam-kernel-${MY_PV}* |
96 |
- !=sci-libs/openfoam-meta-${MY_PV}* |
97 |
- !=sci-libs/openfoam-solvers-${MY_PV}* |
98 |
- !=sci-libs/openfoam-utilities-${MY_PV}* |
99 |
- !=sci-libs/openfoam-wmake-${MY_PV}* |
100 |
- sci-visualization/opendx |
101 |
- virtual/mpi" |
102 |
-RDEPEND="${DEPEND} |
103 |
- =sys-libs/ncurses-5*" |
104 |
- |
105 |
-S=${WORKDIR}/${MY_P} |
106 |
-INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}" |
107 |
- |
108 |
-pkg_setup() { |
109 |
- ## binaries are compiled with gcc-4.3.3 |
110 |
- if ! version_is_at_least 4.3 $(gcc-version) ; then |
111 |
- die "${PN} requires >=sys-devel/gcc-4.3 in order to run." |
112 |
- fi |
113 |
- |
114 |
- elog |
115 |
- elog "In order to use ${MY_PN} you should add the following line to ~/.bashrc :" |
116 |
- elog |
117 |
- elog "alias startOF$(delete_all_version_separators ${MY_PV})='source ${INSDIR}/etc/bashrc'" |
118 |
- elog |
119 |
- elog "And everytime you want to use OpenFOAM you have to execute startOF$(delete_all_version_separators ${MY_PV})" |
120 |
- ewarn |
121 |
- ewarn "FoamX is deprecated since ${MY_PN}-1.5! " |
122 |
- ewarn |
123 |
-} |
124 |
- |
125 |
-src_prepare() { |
126 |
- epatch "${WORKDIR}"/${MY_P}-compile.patch |
127 |
-} |
128 |
- |
129 |
-src_configure() { |
130 |
- if has_version sys-cluster/mpich2 ; then |
131 |
- export WM_MPLIB=MPICH |
132 |
- export MPI_VERSION=mpich |
133 |
- elif has_version sys-cluster/openmpi ; then |
134 |
- export WM_MPLIB=OPENMPI |
135 |
- export MPI_VERSION=openmpi |
136 |
- else |
137 |
- die "You need one of the following mpi implementations: openmpi, mpich2" |
138 |
- fi |
139 |
- |
140 |
- sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc |
141 |
- sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc |
142 |
- |
143 |
- use x86 && WM_OPTIONS="linuxGccDPOpt" |
144 |
- use amd64 && WM_OPTIONS="linux64GccDPOpt" |
145 |
- |
146 |
- mv lib/${WM_OPTIONS}/$MPI_VERSION* lib/${WM_OPTIONS}/$MPI_VERSION |
147 |
-} |
148 |
- |
149 |
-src_test() { |
150 |
- cd bin |
151 |
- ./foamInstallationTest |
152 |
-} |
153 |
- |
154 |
-src_install() { |
155 |
- insinto ${INSDIR} |
156 |
- doins -r etc |
157 |
- |
158 |
- use examples && doins -r tutorials |
159 |
- |
160 |
- insopts -m0755 |
161 |
- doins -r bin |
162 |
- |
163 |
- insinto ${INSDIR}/applications/bin |
164 |
- doins -r applications/bin/${WM_OPTIONS}/* |
165 |
- |
166 |
- insinto ${INSDIR}/lib |
167 |
- doins -r lib/${WM_OPTIONS}/* |
168 |
- |
169 |
- insinto ${INSDIR}/wmake |
170 |
- doins -r wmake/* |
171 |
- |
172 |
- dodoc {doc/Guides-a4/*.pdf,README} |
173 |
- |
174 |
- if use doc ; then |
175 |
- dohtml -r doc/Doxygen |
176 |
- fi |
177 |
-} |