1 |
slis 14/07/25 12:24:12 |
2 |
|
3 |
Added: visit-2.7.3.ebuild metadata.xml Manifest ChangeLog |
4 |
Log: |
5 |
added visit package |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-visualization/visit/visit-2.7.3.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/visit/visit-2.7.3.ebuild?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/visit/visit-2.7.3.ebuild?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: visit-2.7.3.ebuild |
16 |
=================================================================== |
17 |
# Copyright 1999-2014 Gentoo Foundation |
18 |
# Distributed under the terms of the GNU General Public License v2 |
19 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/visit/visit-2.7.3.ebuild,v 1.1 2014/07/25 12:24:12 slis Exp $ |
20 |
|
21 |
EAPI=5 |
22 |
PYTHON_COMPAT=( python2_7 ) |
23 |
|
24 |
inherit cmake-utils python-single-r1 |
25 |
|
26 |
DESCRIPTION="A software that delivers parallel interactive visualizations" |
27 |
HOMEPAGE="https://wci.llnl.gov/codes/visit/home.html" |
28 |
SRC_URI="http://portal.nersc.gov/svn/visit/trunk/releases/${PV}/${PN}${PV}.tar.gz" |
29 |
|
30 |
LICENSE="BSD" |
31 |
SLOT="0" |
32 |
KEYWORDS="~amd64 ~x86" |
33 |
IUSE="cgns debug hdf5 netcdf silo tcmalloc threads" |
34 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
35 |
|
36 |
RDEPEND=" |
37 |
${PYTHON_DEPS} |
38 |
tcmalloc? ( dev-util/google-perftools ) |
39 |
cgns? ( sci-libs/cgnslib ) |
40 |
hdf5? ( sci-libs/hdf5 ) |
41 |
netcdf? ( sci-libs/netcdf ) |
42 |
silo? ( sci-libs/silo ) |
43 |
>=sci-libs/vtk-6.0.0[imaging,python,rendering,${PYTHON_USEDEP}] |
44 |
sys-libs/zlib" |
45 |
DEPEND="${RDEPEND}" |
46 |
|
47 |
S="${WORKDIR}/${PN}${PV}/src" |
48 |
PATCHES=( |
49 |
"${FILESDIR}/${P}-findpython.patch" |
50 |
"${FILESDIR}/${P}-findsilo.patch" |
51 |
"${FILESDIR}/${P}-findvtk.patch" |
52 |
"${FILESDIR}/${P}-vtklibs.patch" |
53 |
"${FILESDIR}/${P}-dont_symlink_visit_dir.patch" |
54 |
) |
55 |
|
56 |
src_configure() { |
57 |
local mycmakeargs=( |
58 |
-DCMAKE_INSTALL_PREFIX=/opt/visit |
59 |
-DPYTHON_INCLUDE_DIR="$(python_get_includedir)" |
60 |
-DPYTHON_DIR="${EPREFIX}/usr" |
61 |
-DVISIT_PYTHON_SKIP_INSTALL=true |
62 |
-DVISIT_VTK_SKIP_INSTALL=true |
63 |
-DQT_BIN="${EPREFIX}/usr/bin" |
64 |
-DVISIT_ZLIB_DIR="${EPREFIX}/usr" |
65 |
$(cmake-utils_use threads VISIT_THREAD) |
66 |
) |
67 |
if use hdf5; then |
68 |
mycmakeargs+=( -DHDF5_DIR="${EPREFIX}/usr" ) |
69 |
fi |
70 |
if use tcmalloc; then |
71 |
mycmakeargs+=( -DTCMALLOC_DIR="${EPREFIX}/usr" ) |
72 |
fi |
73 |
if use cgns; then |
74 |
mycmakeargs+=( -DCGNS_DIR="${EPREFIX}/usr" ) |
75 |
fi |
76 |
if use silo; then |
77 |
mycmakeargs+=( -DSILO_DIR="${EPREFIX}/usr" ) |
78 |
fi |
79 |
if use netcdf; then |
80 |
mycmakeargs+=( -DNETCDF_DIR="${EPREFIX}/usr" ) |
81 |
fi |
82 |
|
83 |
cmake-utils_src_configure |
84 |
} |
85 |
|
86 |
src_install() { |
87 |
cmake-utils_src_install |
88 |
|
89 |
PACKAGES_DIR="${ROOT}opt/visit/${PV}/linux-$(arch)/lib/site-packages" |
90 |
cd "${ED}${PACKAGES_DIR}" |
91 |
for i in *; do |
92 |
dosym "${PACKAGES_DIR}/${i}" "$(python_get_sitedir)/$i" |
93 |
done |
94 |
|
95 |
cat > "${T}"/99visit <<- EOF |
96 |
PATH=${EPREFIX}/opt/visit/bin |
97 |
LDPATH=${EPREFIX}/opt/visit/${PV}/linux-$(arch)/lib/ |
98 |
EOF |
99 |
doenvd "${T}"/99visit |
100 |
} |
101 |
|
102 |
pkg_postinst () { |
103 |
ewarn "Remember to run " |
104 |
ewarn "env-update && source /etc/profile" |
105 |
ewarn "if you want to use visit in already opened session" |
106 |
} |
107 |
|
108 |
|
109 |
1.1 sci-visualization/visit/metadata.xml |
110 |
|
111 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/visit/metadata.xml?rev=1.1&view=markup |
112 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/visit/metadata.xml?rev=1.1&content-type=text/plain |
113 |
|
114 |
Index: metadata.xml |
115 |
=================================================================== |
116 |
<?xml version='1.0' encoding='UTF-8'?> |
117 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
118 |
<pkgmetadata> |
119 |
<longdescription> |
120 |
VisIt is a free, open source, platform independent, distributed, |
121 |
parallel, visualization tool for visualizing data defined on two- |
122 |
and three-dimensional structured and unstructured meshes. |
123 |
</longdescription> |
124 |
<maintainer> |
125 |
<email>slis@g.o</email> |
126 |
</maintainer> |
127 |
<use> |
128 |
<flag name="cgns"> |
129 |
Builds the reader for the CFD General Notation System file format. |
130 |
</flag> |
131 |
<flag name="silo"> |
132 |
Adds support for reading .silo files. |
133 |
</flag> |
134 |
</use> |
135 |
</pkgmetadata> |
136 |
|
137 |
|
138 |
|
139 |
1.1 sci-visualization/visit/Manifest |
140 |
|
141 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/visit/Manifest?rev=1.1&view=markup |
142 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/visit/Manifest?rev=1.1&content-type=text/plain |
143 |
|
144 |
Index: Manifest |
145 |
=================================================================== |
146 |
AUX visit-2.7.3-dont_symlink_visit_dir.patch 743 SHA256 bab48080e92a83b339298ca10c45dc32bb0953476d90e9cc772db92da3d02a6d SHA512 c385a3e6fa6c5856223df8c5aea329ba01dd625980257c3cd7d2784eb9e1aca3640e50d2afb0af0e02553dc6f72bb23bec666f3dc726706690c7bd45c6cc5336 WHIRLPOOL bc7bc88200913a44144e45a64f35a2c07aa20bac17572a888ed0f3c71d833e2fb3f7c313930475d84b1fa08d9e67602b1317a25bb1d01153fa8f0a81b21e0791 |
147 |
AUX visit-2.7.3-findpython.patch 833 SHA256 eb134490d6519b3f8c1eab3bf3eb45471fcb367df47fe042ddce93b9bedcff50 SHA512 9b73e00e7884fed34e63ea51aa14483212227f05c83412a1638a31a56a0685bf7fdfdf511a1a53c9f1a55289ae8d4a0bac8ff92d3380d9c989502d2cb95e8679 WHIRLPOOL 4a6471dc5996e5db1f90f397c2d2de0f55caf50e526a0855972bae3e2428f0a36df22bf63a30f413095ccafdc40252dae27e10b00c756c4d088ae9642e31b4af |
148 |
AUX visit-2.7.3-findsilo.patch 585 SHA256 bd97818df6eaaf5b160c982439f17223c5b0d7c35c830a551a7aeac380c3e29e SHA512 76bec5fd134318724d0d2ad59a345d78652867a9680abaca7504af11ddd818a678338afd10bdf9385295f672d265439a1341c1c71697c7a98aae6406abe4565d WHIRLPOOL ef5200ff51dd3d856c504d4ef54f78f8f507f8239834023de01654451f8fb34d63bede72b5883f0cbcf0e7616f843a62ef29ca7c6be136539adc13f24df0f674 |
149 |
AUX visit-2.7.3-findvtk.patch 1057 SHA256 fbcb6553998d435c43b6e5c6fb2c303fbd198edd933d7293e457d66be75d833a SHA512 db30b4ba7c5ce6924518af36c12466745c69fb2aa852832cf7db63a2a8bea732e0f66ddee6cfe2472d145ae619cc57a6b575cda4e3ee5fcd08172905583c153c WHIRLPOOL 1cde4bd95f2fc2016112b7d5631172352b1aa6fda88cd43d51124f6242d66353dbf4cd1852da4d9b8e313132a929efa49bc165d691c4b8ed481beb88aa0b186a |
150 |
AUX visit-2.7.3-vtklibs.patch 5214 SHA256 b03fa486b17f64b8c975a65bc8a03de14d9e6afd83671c67f747da543dd41883 SHA512 ff2a8a6beff32a7a27ca96ad5660e0cca5c0f15b4dd9fdac85c738623be4910cee0387388ee1bbe82ebab3beb962896466998786a7e015deee75805d71cf9d5a WHIRLPOOL b32aa80e59da2c610f2231bfd4990f34895abae323da208ca91f9c1e82e47271aeb7fe193ec28ae6fbe6cd418650b7c36b7e13f5d2396532c28d7ebed3a99251 |
151 |
DIST visit2.7.3.tar.gz 82475238 SHA256 e4ed7b20c4c0fb5aac49181f8ddeae3d2d5a73b1662756ddcaa9d08776a7c39f SHA512 5eea2667482a9b70cf4794446da69595c1145839dfae0afdf961589a09b0f3ad41c44b607f96dbb3e4a3c1ba77161d77a1e0342d6a4e2df8bc73040110c7e8f1 WHIRLPOOL a1157d2424d93037e1ffd8dd10ebc47ae9f3d074a63a811bcadf6db5349dea348432e63d414d4a62a156c9423a1d5fdb240f34b2ec4262e8647def40d999759a |
152 |
EBUILD visit-2.7.3.ebuild 2300 SHA256 4fd528ede034b4d8fd66c1e471cf8c410585bfc12d31cbad109d9de0d1bc9113 SHA512 f4475851f1d29285c35311046009059db1883fb09b2bc5c27d5cce9cc604bc2571bbf90fd6cdcdb150994925241b29ab6eb0553f0962a8b6481b4c633423a0d3 WHIRLPOOL 97a190fa133b7f4259b6e4515138df5d5dfffeb27084fbee76a63edd9cad7ce45f3a7609e41dce1195cecb68576fa720a44f71e5880078db3288f9f0f94e924d |
153 |
MISC metadata.xml 651 SHA256 871077793d318b6f1eeeb050f03e0b837e83003d88f8e51c586843cd0b4a0adc SHA512 0dea2d275c25b59ec3040cfe62bd093f44e8fd0011a71ce233d04ea933147662a53493e61d424cfd0cb37be24eb2fddc5bb6b6ab134ae4aa11af0305eb02de0a WHIRLPOOL 68b806cebb5f18af212546d6f309efec5d85a6de74857bb923aa656d9907c4ddf8cf57a46236e2280927caefc399b18465b4402d9d14ab49d90d0cd22d9f4df1 |
154 |
|
155 |
|
156 |
|
157 |
1.1 sci-visualization/visit/ChangeLog |
158 |
|
159 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/visit/ChangeLog?rev=1.1&view=markup |
160 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/visit/ChangeLog?rev=1.1&content-type=text/plain |
161 |
|
162 |
Index: ChangeLog |
163 |
=================================================================== |
164 |
# ChangeLog for sci-visualization/visit |
165 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
166 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/visit/ChangeLog,v 1.1 2014/07/25 12:24:12 slis Exp $ |
167 |
|
168 |
*visit-2.7.3 (25 Jul 2014) |
169 |
|
170 |
25 Jul 2014; SÅ‚awek Lis <slis@g.o> |
171 |
+files/visit-2.7.3-dont_symlink_visit_dir.patch, |
172 |
+files/visit-2.7.3-findpython.patch, +files/visit-2.7.3-findsilo.patch, |
173 |
+files/visit-2.7.3-findvtk.patch, +files/visit-2.7.3-vtklibs.patch, |
174 |
+metadata.xml, +visit-2.7.3.ebuild: |
175 |
added visit package |