1 |
commit: c968faeea6374e200ca53e5bab76a109234f5be1 |
2 |
Author: Slawomir Lis <slis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 30 06:11:14 2017 +0000 |
4 |
Commit: Slawek Lis <slis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 30 07:42:42 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c968faee |
7 |
|
8 |
sci-visualization/visit: dropped old versions |
9 |
|
10 |
Dropped: 2.7.3 2.8.2 2.9.0 2.9.2 2.10.3 |
11 |
|
12 |
Bug report: 624196 |
13 |
|
14 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
15 |
|
16 |
sci-visualization/visit/Manifest | 5 -- |
17 |
sci-visualization/visit/visit-2.7.3.ebuild | 89 ------------------------- |
18 |
sci-visualization/visit/visit-2.8.2.ebuild | 98 --------------------------- |
19 |
sci-visualization/visit/visit-2.9.0.ebuild | 100 ---------------------------- |
20 |
sci-visualization/visit/visit-2.9.2.ebuild | 102 ----------------------------- |
21 |
5 files changed, 394 deletions(-) |
22 |
|
23 |
diff --git a/sci-visualization/visit/Manifest b/sci-visualization/visit/Manifest |
24 |
index 012eac0332e..8feaeb11e41 100644 |
25 |
--- a/sci-visualization/visit/Manifest |
26 |
+++ b/sci-visualization/visit/Manifest |
27 |
@@ -1,6 +1 @@ |
28 |
DIST visit2.10.3.tar.gz 89181392 SHA256 05018215c4727eb42d47bb5cc4ff937b2a2ccaca90d141bc7fa426a0843a5dbc SHA512 f7e74191e4ac07da3a1323f1e60581c4a2f8ef439c23a26156e45d8ec2fb4f6decc5593ba4556209ad275ceeb6ffaaccc87d5d623e341771ab97e382cf406c59 WHIRLPOOL 948edb4113f4c5b16e231429c9decc8207d5e9502e0b4ecb47abacc8594187509899cce1e2ee04a4f7ff8e678f8ded047d6ffabe95d92eca493336a943112050 |
29 |
-DIST visit2.12.3.tar.gz 80491441 SHA256 2dd351a291ee3e79926bc00391ca89b202cfa4751331b0fdee1b960c7922161f SHA512 78e939657a556040fc593766855c06a5bef85c76d3c43cd6a941ea90517e49ad556f1b10aa5b984327260001d3b53c67b8cb4692ba04ffbad8b6fefac704e842 WHIRLPOOL d82cbf7bac524b4fef25b129ba43ea6015c7f27f4945a05e2cdac76248c922eac82b88d9db51a0f93df9a1d835eb0d26ca3bbdf454341346013c142e678dfe1a |
30 |
-DIST visit2.7.3.tar.gz 82475238 SHA256 e4ed7b20c4c0fb5aac49181f8ddeae3d2d5a73b1662756ddcaa9d08776a7c39f SHA512 5eea2667482a9b70cf4794446da69595c1145839dfae0afdf961589a09b0f3ad41c44b607f96dbb3e4a3c1ba77161d77a1e0342d6a4e2df8bc73040110c7e8f1 WHIRLPOOL a1157d2424d93037e1ffd8dd10ebc47ae9f3d074a63a811bcadf6db5349dea348432e63d414d4a62a156c9423a1d5fdb240f34b2ec4262e8647def40d999759a |
31 |
-DIST visit2.8.2.tar.gz 88008002 SHA256 43d652dde540e3a5db34a2105d89432fa1d018b104ed0508dfb18f4287a43eb3 SHA512 1c2c2b6cad49b32b5cbc7f7ffba5c6ffb98ee88dfeae5c51af5e581ad53fb1efb8fc222b796696e607abd4b748855141de072414bdec1b1ad4e7ac01a928db8d WHIRLPOOL dadfd48bf9522fc67547f2d7fc4332f300d06e3f04f1bd23189f4a6d806286b46420e4caecaba616bf9f954ea3e202efcee7e899d10444304f7f79809e8fc6d9 |
32 |
-DIST visit2.9.0.tar.gz 87058013 SHA256 98d7a80d95f4083fffc23a65cff28abd126e2eb0fff43591663818aaa1338fcf SHA512 889a6ff6f0c45064c0705a8a41fd268ad865619e42eb7a3302a520bcb2a3c182a40bc6870ec80c0994fa649f3030f6283b9783fab37b938d4b77fd3c1ab10d15 WHIRLPOOL 8d6e9370fddda7d28c16882a04ac2c196b0c42ffd72436ca601413b7483c72d4b33691a9dc7340d71d536fead3d6692f1491c2bed32ed27ceba0c745b9555380 |
33 |
-DIST visit2.9.2.tar.gz 87165297 SHA256 97d19e2609fbba655772feb055919b925214ab68c95ff46481572bd7e9c9ea31 SHA512 a2bb6423c00e615638ed04233fad9e285585db3668217afea9fb80e1040ba34f75d73500b8e2b7a7dc68b9f8806f69837cfee1115e66c01f0c72b1376148f83b WHIRLPOOL fb12a33d5f61e80489b8e8a8772ddaa2f434be68348dac8c445d204767a2b42a2d2c7341aeab28779637f64b7b949a36ce8f66bcbf060f433edba9069480131f |
34 |
|
35 |
diff --git a/sci-visualization/visit/visit-2.7.3.ebuild b/sci-visualization/visit/visit-2.7.3.ebuild |
36 |
deleted file mode 100644 |
37 |
index c8f7a6b7923..00000000000 |
38 |
--- a/sci-visualization/visit/visit-2.7.3.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,89 +0,0 @@ |
41 |
-# Copyright 1999-2015 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
- |
44 |
-EAPI=5 |
45 |
-PYTHON_COMPAT=( python2_7 ) |
46 |
- |
47 |
-inherit cmake-utils python-single-r1 |
48 |
- |
49 |
-DESCRIPTION="A software that delivers parallel interactive visualizations" |
50 |
-HOMEPAGE="https://wci.llnl.gov/codes/visit/home.html" |
51 |
-SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/${PN}${PV}.tar.gz" |
52 |
- |
53 |
-LICENSE="BSD" |
54 |
-SLOT="0" |
55 |
-KEYWORDS="~amd64 ~x86" |
56 |
-IUSE="cgns debug hdf5 netcdf silo tcmalloc threads" |
57 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
58 |
- |
59 |
-RDEPEND=" |
60 |
- ${PYTHON_DEPS} |
61 |
- tcmalloc? ( dev-util/google-perftools ) |
62 |
- cgns? ( sci-libs/cgnslib ) |
63 |
- hdf5? ( sci-libs/hdf5 ) |
64 |
- netcdf? ( sci-libs/netcdf ) |
65 |
- silo? ( sci-libs/silo ) |
66 |
- >=sci-libs/vtk-6.0.0[imaging,python,rendering,qt4,${PYTHON_USEDEP}] |
67 |
- sys-libs/zlib" |
68 |
-DEPEND="${RDEPEND}" |
69 |
- |
70 |
-S="${WORKDIR}/${PN}${PV}/src" |
71 |
-PATCHES=( |
72 |
- "${FILESDIR}/${P}-findpython.patch" |
73 |
- "${FILESDIR}/${P}-findsilo.patch" |
74 |
- "${FILESDIR}/${P}-findvtk.patch" |
75 |
- "${FILESDIR}/${P}-vtklibs.patch" |
76 |
- "${FILESDIR}/${P}-dont_symlink_visit_dir.patch" |
77 |
-) |
78 |
- |
79 |
-src_configure() { |
80 |
- local mycmakeargs=( |
81 |
- -DCMAKE_INSTALL_PREFIX=/opt/visit |
82 |
- -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" |
83 |
- -DPYTHON_DIR="${EPREFIX}/usr" |
84 |
- -DVISIT_PYTHON_SKIP_INSTALL=true |
85 |
- -DVISIT_VTK_SKIP_INSTALL=true |
86 |
- -DQT_BIN="${EPREFIX}/usr/bin" |
87 |
- -DVISIT_ZLIB_DIR="${EPREFIX}/usr" |
88 |
- $(cmake-utils_use threads VISIT_THREAD) |
89 |
- ) |
90 |
- if use hdf5; then |
91 |
- mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" ) |
92 |
- fi |
93 |
- if use tcmalloc; then |
94 |
- mycmakeargs+=( -DTCMALLOC_DIR="${EPREFIX}/usr" ) |
95 |
- fi |
96 |
- if use cgns; then |
97 |
- mycmakeargs+=( -DCGNS_DIR="${EPREFIX}/usr" ) |
98 |
- fi |
99 |
- if use silo; then |
100 |
- mycmakeargs+=( -DSILO_DIR="${EPREFIX}/usr" ) |
101 |
- fi |
102 |
- if use netcdf; then |
103 |
- mycmakeargs+=( -DNETCDF_DIR="${EPREFIX}/usr" ) |
104 |
- fi |
105 |
- |
106 |
- cmake-utils_src_configure |
107 |
-} |
108 |
- |
109 |
-src_install() { |
110 |
- cmake-utils_src_install |
111 |
- |
112 |
- PACKAGES_DIR="${ROOT}opt/visit/${PV}/linux-$(arch)/lib/site-packages" |
113 |
- cd "${ED}${PACKAGES_DIR}" |
114 |
- for i in *; do |
115 |
- dosym "${PACKAGES_DIR}/${i}" "$(python_get_sitedir)/$i" |
116 |
- done |
117 |
- |
118 |
- cat > "${T}"/99visit <<- EOF |
119 |
- PATH=${EPREFIX}/opt/visit/bin |
120 |
- LDPATH=${EPREFIX}/opt/visit/${PV}/linux-$(arch)/lib/ |
121 |
- EOF |
122 |
- doenvd "${T}"/99visit |
123 |
-} |
124 |
- |
125 |
-pkg_postinst () { |
126 |
- ewarn "Remember to run " |
127 |
- ewarn "env-update && source /etc/profile" |
128 |
- ewarn "if you want to use visit in already opened session" |
129 |
-} |
130 |
|
131 |
diff --git a/sci-visualization/visit/visit-2.8.2.ebuild b/sci-visualization/visit/visit-2.8.2.ebuild |
132 |
deleted file mode 100644 |
133 |
index d022b1d4d0b..00000000000 |
134 |
--- a/sci-visualization/visit/visit-2.8.2.ebuild |
135 |
+++ /dev/null |
136 |
@@ -1,98 +0,0 @@ |
137 |
-# Copyright 1999-2015 Gentoo Foundation |
138 |
-# Distributed under the terms of the GNU General Public License v2 |
139 |
- |
140 |
-EAPI=5 |
141 |
-PYTHON_COMPAT=( python2_7 ) |
142 |
- |
143 |
-inherit cmake-utils python-single-r1 |
144 |
- |
145 |
-DESCRIPTION="A software that delivers parallel interactive visualizations" |
146 |
-HOMEPAGE="https://wci.llnl.gov/codes/visit/home.html" |
147 |
-SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/${PN}${PV}.tar.gz" |
148 |
- |
149 |
-LICENSE="BSD" |
150 |
-SLOT="0" |
151 |
-KEYWORDS="~amd64 ~x86" |
152 |
-IUSE="cgns debug hdf5 mpi netcdf silo tcmalloc threads" |
153 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
154 |
- |
155 |
-RDEPEND=" |
156 |
- ${PYTHON_DEPS} |
157 |
- tcmalloc? ( dev-util/google-perftools ) |
158 |
- cgns? ( sci-libs/cgnslib ) |
159 |
- hdf5? ( sci-libs/hdf5 ) |
160 |
- netcdf? ( sci-libs/netcdf ) |
161 |
- silo? ( sci-libs/silo ) |
162 |
- >=sci-libs/vtk-6.0.0[imaging,mpi?,python,rendering,qt4,${PYTHON_USEDEP}] |
163 |
- sys-libs/zlib" |
164 |
-DEPEND="${RDEPEND}" |
165 |
- |
166 |
-S="${WORKDIR}/${PN}${PV}/src" |
167 |
-PATCHES=( |
168 |
- "${FILESDIR}/${P}-findpython.patch" |
169 |
- "${FILESDIR}/${P}-findsilo.patch" |
170 |
- "${FILESDIR}/${P}-findvtk.patch" |
171 |
- "${FILESDIR}/${P}-vtklibs.patch" |
172 |
- "${FILESDIR}/${P}-dont_symlink_visit_dir.patch" |
173 |
-) |
174 |
- |
175 |
-src_prepare() { |
176 |
- for p in ${PATCHES[@]} ; do |
177 |
- epatch "${p}" |
178 |
- done |
179 |
- if use mpi ; then |
180 |
- epatch "${FILESDIR}/${P}-vtkmpi.patch" |
181 |
- fi |
182 |
-} |
183 |
- |
184 |
-src_configure() { |
185 |
- local mycmakeargs=( |
186 |
- -DCMAKE_INSTALL_PREFIX=/opt/visit |
187 |
- -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" |
188 |
- -DPYTHON_DIR="${EPREFIX}/usr" |
189 |
- -DVISIT_PYTHON_SKIP_INSTALL=true |
190 |
- -DVISIT_VTK_SKIP_INSTALL=true |
191 |
- -DQT_BIN="${EPREFIX}/usr/bin" |
192 |
- -DVISIT_ZLIB_DIR="${EPREFIX}/usr" |
193 |
- $(cmake-utils_use threads VISIT_THREAD) |
194 |
- ) |
195 |
- if use hdf5; then |
196 |
- mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" ) |
197 |
- fi |
198 |
- if use tcmalloc; then |
199 |
- mycmakeargs+=( -DTCMALLOC_DIR="${EPREFIX}/usr" ) |
200 |
- fi |
201 |
- if use cgns; then |
202 |
- mycmakeargs+=( -DCGNS_DIR="${EPREFIX}/usr" ) |
203 |
- fi |
204 |
- if use silo; then |
205 |
- mycmakeargs+=( -DSILO_DIR="${EPREFIX}/usr" ) |
206 |
- fi |
207 |
- if use netcdf; then |
208 |
- mycmakeargs+=( -DNETCDF_DIR="${EPREFIX}/usr" ) |
209 |
- fi |
210 |
- |
211 |
- cmake-utils_src_configure |
212 |
-} |
213 |
- |
214 |
-src_install() { |
215 |
- cmake-utils_src_install |
216 |
- |
217 |
- PACKAGES_DIR="${ROOT}opt/${PN}/${PV}/linux-$(arch)/lib/site-packages" |
218 |
- cd "${ED}${PACKAGES_DIR}" |
219 |
- for i in *; do |
220 |
- dosym "${PACKAGES_DIR}/${i}" "$(python_get_sitedir)/$i" |
221 |
- done |
222 |
- |
223 |
- cat > "${T}"/99visit <<- EOF |
224 |
- PATH=${EPREFIX}/opt/${PN}/bin |
225 |
- LDPATH=${EPREFIX}/opt/${PN}/${PV}/linux-$(arch)/lib/ |
226 |
- EOF |
227 |
- doenvd "${T}"/99visit |
228 |
-} |
229 |
- |
230 |
-pkg_postinst () { |
231 |
- ewarn "Remember to run " |
232 |
- ewarn "env-update && source /etc/profile" |
233 |
- ewarn "if you want to use visit in already opened session" |
234 |
-} |
235 |
|
236 |
diff --git a/sci-visualization/visit/visit-2.9.0.ebuild b/sci-visualization/visit/visit-2.9.0.ebuild |
237 |
deleted file mode 100644 |
238 |
index 82ea10c067f..00000000000 |
239 |
--- a/sci-visualization/visit/visit-2.9.0.ebuild |
240 |
+++ /dev/null |
241 |
@@ -1,100 +0,0 @@ |
242 |
-# Copyright 1999-2015 Gentoo Foundation |
243 |
-# Distributed under the terms of the GNU General Public License v2 |
244 |
- |
245 |
-EAPI=5 |
246 |
-PYTHON_COMPAT=( python2_7 ) |
247 |
- |
248 |
-inherit cmake-utils python-single-r1 |
249 |
- |
250 |
-DESCRIPTION="A software that delivers parallel interactive visualizations" |
251 |
-HOMEPAGE="https://wci.llnl.gov/codes/visit/home.html" |
252 |
-SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/${PN}${PV}.tar.gz" |
253 |
- |
254 |
-LICENSE="BSD" |
255 |
-SLOT="0" |
256 |
-KEYWORDS="~amd64 ~x86" |
257 |
-IUSE="cgns debug hdf5 mpi netcdf silo tcmalloc threads" |
258 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
259 |
- |
260 |
-RDEPEND=" |
261 |
- ${PYTHON_DEPS} |
262 |
- tcmalloc? ( dev-util/google-perftools ) |
263 |
- cgns? ( sci-libs/cgnslib ) |
264 |
- hdf5? ( sci-libs/hdf5 ) |
265 |
- netcdf? ( sci-libs/netcdf ) |
266 |
- silo? ( sci-libs/silo ) |
267 |
- >=sci-libs/vtk-6.0.0[imaging,mpi=,python,rendering,qt4,${PYTHON_USEDEP}] |
268 |
- sys-libs/zlib" |
269 |
-DEPEND="${RDEPEND}" |
270 |
- |
271 |
-S="${WORKDIR}/${PN}${PV}/src" |
272 |
-PATCHES=( |
273 |
- "${FILESDIR}/${P}-findpython.patch" |
274 |
- "${FILESDIR}/${P}-findsilo.patch" |
275 |
- "${FILESDIR}/${P}-findvtk.patch" |
276 |
- "${FILESDIR}/${P}-vtklibs.patch" |
277 |
- "${FILESDIR}/${P}-dont_symlink_visit_dir.patch" |
278 |
- "${FILESDIR}/${P}-cmakelist.patch" |
279 |
-) |
280 |
- |
281 |
-src_prepare() { |
282 |
- for p in ${PATCHES[@]} ; do |
283 |
- epatch "${p}" |
284 |
- done |
285 |
- if use mpi ; then |
286 |
- epatch "${FILESDIR}/${P}-vtkmpi.patch" |
287 |
- fi |
288 |
-} |
289 |
- |
290 |
-src_configure() { |
291 |
- local mycmakeargs=( |
292 |
- -DCMAKE_INSTALL_PREFIX=/opt/visit |
293 |
- -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" |
294 |
- -DPYTHON_DIR="${EPREFIX}/usr" |
295 |
- -DVISIT_PYTHON_SKIP_INSTALL=true |
296 |
- -DVISIT_VTK_SKIP_INSTALL=true |
297 |
- -DQT_BIN="${EPREFIX}/usr/bin" |
298 |
- -DVISIT_ZLIB_DIR="${EPREFIX}/usr" |
299 |
- -DVISIT_HEADERS_SKIP_INSTALL=false |
300 |
- $(cmake-utils_use threads VISIT_THREAD) |
301 |
- ) |
302 |
- if use hdf5; then |
303 |
- mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" ) |
304 |
- fi |
305 |
- if use tcmalloc; then |
306 |
- mycmakeargs+=( -DTCMALLOC_DIR="${EPREFIX}/usr" ) |
307 |
- fi |
308 |
- if use cgns; then |
309 |
- mycmakeargs+=( -DCGNS_DIR="${EPREFIX}/usr" ) |
310 |
- fi |
311 |
- if use silo; then |
312 |
- mycmakeargs+=( -DSILO_DIR="${EPREFIX}/usr" ) |
313 |
- fi |
314 |
- if use netcdf; then |
315 |
- mycmakeargs+=( -DNETCDF_DIR="${EPREFIX}/usr" ) |
316 |
- fi |
317 |
- |
318 |
- cmake-utils_src_configure |
319 |
-} |
320 |
- |
321 |
-src_install() { |
322 |
- cmake-utils_src_install |
323 |
- |
324 |
- PACKAGES_DIR="${ROOT}opt/${PN}/${PV}/linux-$(arch)/lib/site-packages" |
325 |
- cd "${ED}${PACKAGES_DIR}" |
326 |
- for i in *; do |
327 |
- dosym "${PACKAGES_DIR}/${i}" "$(python_get_sitedir)/$i" |
328 |
- done |
329 |
- |
330 |
- cat > "${T}"/99visit <<- EOF |
331 |
- PATH=${EPREFIX}/opt/${PN}/bin |
332 |
- LDPATH=${EPREFIX}/opt/${PN}/${PV}/linux-$(arch)/lib/ |
333 |
- EOF |
334 |
- doenvd "${T}"/99visit |
335 |
-} |
336 |
- |
337 |
-pkg_postinst () { |
338 |
- ewarn "Remember to run " |
339 |
- ewarn "env-update && source /etc/profile" |
340 |
- ewarn "if you want to use visit in already opened session" |
341 |
-} |
342 |
|
343 |
diff --git a/sci-visualization/visit/visit-2.9.2.ebuild b/sci-visualization/visit/visit-2.9.2.ebuild |
344 |
deleted file mode 100644 |
345 |
index 7cf403c87f8..00000000000 |
346 |
--- a/sci-visualization/visit/visit-2.9.2.ebuild |
347 |
+++ /dev/null |
348 |
@@ -1,102 +0,0 @@ |
349 |
-# Copyright 1999-2016 Gentoo Foundation |
350 |
-# Distributed under the terms of the GNU General Public License v2 |
351 |
- |
352 |
-EAPI=5 |
353 |
-PYTHON_COMPAT=( python2_7 ) |
354 |
- |
355 |
-inherit cmake-utils python-single-r1 |
356 |
- |
357 |
-DESCRIPTION="A software that delivers parallel interactive visualizations" |
358 |
-HOMEPAGE="https://wci.llnl.gov/codes/visit/home.html" |
359 |
-SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/${PN}${PV}.tar.gz" |
360 |
- |
361 |
-LICENSE="BSD" |
362 |
-SLOT="0" |
363 |
-KEYWORDS="~amd64 ~x86" |
364 |
-IUSE="cgns debug hdf5 mpi netcdf silo tcmalloc threads" |
365 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
366 |
- |
367 |
-RDEPEND=" |
368 |
- ${PYTHON_DEPS} |
369 |
- tcmalloc? ( dev-util/google-perftools ) |
370 |
- cgns? ( sci-libs/cgnslib ) |
371 |
- hdf5? ( sci-libs/hdf5 ) |
372 |
- netcdf? ( sci-libs/netcdf ) |
373 |
- silo? ( sci-libs/silo ) |
374 |
- >=sci-libs/vtk-6.0.0[imaging,mpi=,python,rendering,qt4,${PYTHON_USEDEP}] |
375 |
- sys-libs/zlib" |
376 |
-DEPEND="${RDEPEND}" |
377 |
- |
378 |
-S="${WORKDIR}/${PN}${PV}/src" |
379 |
-PATCHES=( |
380 |
- "${FILESDIR}/${P}-findpython.patch" |
381 |
- "${FILESDIR}/${P}-findsilo.patch" |
382 |
- "${FILESDIR}/${P}-findvtk.patch" |
383 |
- "${FILESDIR}/${P}-vtklibs.patch" |
384 |
- "${FILESDIR}/${P}-dont_symlink_visit_dir.patch" |
385 |
- "${FILESDIR}/${P}-cmakelist.patch" |
386 |
-) |
387 |
- |
388 |
-src_prepare() { |
389 |
- for p in ${PATCHES[@]} ; do |
390 |
- epatch "${p}" |
391 |
- done |
392 |
- if use mpi ; then |
393 |
- epatch "${FILESDIR}/${P}-vtkmpi.patch" |
394 |
- fi |
395 |
- |
396 |
- sed -i 's/exec python $frontendlauncherpy $0 ${1+"$@"}/exec '${EPYTHON}' $frontendlauncherpy $0 ${1+"$@"}/g' "bin/frontendlauncher" |
397 |
-} |
398 |
- |
399 |
-src_configure() { |
400 |
- local mycmakeargs=( |
401 |
- -DCMAKE_INSTALL_PREFIX=/opt/visit |
402 |
- -DPYTHON_INCLUDE_DIR="$(python_get_includedir)" |
403 |
- -DPYTHON_DIR="${EPREFIX}/usr" |
404 |
- -DVISIT_PYTHON_SKIP_INSTALL=true |
405 |
- -DVISIT_VTK_SKIP_INSTALL=true |
406 |
- -DQT_BIN="${EPREFIX}/usr/bin" |
407 |
- -DVISIT_ZLIB_DIR="${EPREFIX}/usr" |
408 |
- -DVISIT_HEADERS_SKIP_INSTALL=false |
409 |
- $(cmake-utils_use threads VISIT_THREAD) |
410 |
- ) |
411 |
- if use hdf5; then |
412 |
- mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" ) |
413 |
- fi |
414 |
- if use tcmalloc; then |
415 |
- mycmakeargs+=( -DTCMALLOC_DIR="${EPREFIX}/usr" ) |
416 |
- fi |
417 |
- if use cgns; then |
418 |
- mycmakeargs+=( -DCGNS_DIR="${EPREFIX}/usr" ) |
419 |
- fi |
420 |
- if use silo; then |
421 |
- mycmakeargs+=( -DSILO_DIR="${EPREFIX}/usr" ) |
422 |
- fi |
423 |
- if use netcdf; then |
424 |
- mycmakeargs+=( -DNETCDF_DIR="${EPREFIX}/usr" ) |
425 |
- fi |
426 |
- |
427 |
- cmake-utils_src_configure |
428 |
-} |
429 |
- |
430 |
-src_install() { |
431 |
- cmake-utils_src_install |
432 |
- |
433 |
- PACKAGES_DIR="${ROOT}opt/${PN}/${PV}/linux-$(arch)/lib/site-packages" |
434 |
- cd "${ED}${PACKAGES_DIR}" |
435 |
- for i in *; do |
436 |
- dosym "${PACKAGES_DIR}/${i}" "$(python_get_sitedir)/$i" |
437 |
- done |
438 |
- |
439 |
- cat > "${T}"/99visit <<- EOF |
440 |
- PATH=${EPREFIX}/opt/${PN}/bin |
441 |
- LDPATH=${EPREFIX}/opt/${PN}/${PV}/linux-$(arch)/lib/ |
442 |
- EOF |
443 |
- doenvd "${T}"/99visit |
444 |
-} |
445 |
- |
446 |
-pkg_postinst () { |
447 |
- ewarn "Remember to run " |
448 |
- ewarn "env-update && source /etc/profile" |
449 |
- ewarn "if you want to use visit in already opened session" |
450 |
-} |