1 |
bicatali 11/02/01 19:05:53 |
2 |
|
3 |
Modified: metadata.xml ChangeLog mayavi-3.4.1.ebuild |
4 |
Log: |
5 |
Removed doc building because buggy. Now unzip the bundled docs and link in proper directory, fixing bug #341753. Updated longdescription to reflect mayavi2 |
6 |
|
7 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 sci-visualization/mayavi/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/metadata.xml?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/metadata.xml?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/metadata.xml?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/metadata.xml,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- metadata.xml 24 Apr 2007 15:55:31 -0000 1.1 |
23 |
+++ metadata.xml 1 Feb 2011 19:05:53 -0000 1.2 |
24 |
@@ -3,9 +3,22 @@ |
25 |
<pkgmetadata> |
26 |
<herd>sci</herd> |
27 |
<longdescription lang="en"> |
28 |
-MayaVi is a scientific data visualizer. It is written in Python and uses the |
29 |
-Visualization Toolkit (VTK) for the visualization. An easy to use GUI using |
30 |
-Tkinter is provided. It is also cross platform and should run on any platform |
31 |
-where both Python and VTK are available. |
32 |
+ Mayavi2 is a general purpose, cross-platform tool for 3-D scientific |
33 |
+ data visualization. Its features include: |
34 |
+ * Visualization of scalar, vector and tensor data in 2 and 3 dimensions. |
35 |
+ * Easy scriptability using Python. |
36 |
+ * Easy extendibility via custom sources, modules, and data filters. |
37 |
+ * Reading several file formats: VTK (legacy and XML), PLOT3D, etc. |
38 |
+ * Saving of visualizations. |
39 |
+ * Saving rendered visualization in a variety of image formats. |
40 |
+ * Convenient functionality for rapid scientific plotting via mlab |
41 |
+ |
42 |
+ Mayavi2 has been designed with scriptability and extensibility in |
43 |
+ mind. Mayavi2 provides a mayavi2 application which is usable by |
44 |
+ itself. However, Mayavi2 may also be used as a plotting engine, in |
45 |
+ scripts, like with matplotlib or gnuplot, as well as a library for |
46 |
+ interactive visualizations in any other application. It may also be |
47 |
+ used as an Envisage plug-in which allows it to be embedded in other |
48 |
+ Envisage based applications natively. |
49 |
</longdescription> |
50 |
</pkgmetadata> |
51 |
|
52 |
|
53 |
|
54 |
1.20 sci-visualization/mayavi/ChangeLog |
55 |
|
56 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.20&view=markup |
57 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.20&content-type=text/plain |
58 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?r1=1.19&r2=1.20 |
59 |
|
60 |
Index: ChangeLog |
61 |
=================================================================== |
62 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v |
63 |
retrieving revision 1.19 |
64 |
retrieving revision 1.20 |
65 |
diff -u -r1.19 -r1.20 |
66 |
--- ChangeLog 1 Feb 2011 01:56:18 -0000 1.19 |
67 |
+++ ChangeLog 1 Feb 2011 19:05:53 -0000 1.20 |
68 |
@@ -1,6 +1,12 @@ |
69 |
# ChangeLog for sci-visualization/mayavi |
70 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
71 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.19 2011/02/01 01:56:18 arfrever Exp $ |
72 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.20 2011/02/01 19:05:53 bicatali Exp $ |
73 |
+ |
74 |
+ 01 Feb 2011; Sébastien Fabbro <bicatali@g.o> mayavi-3.4.1.ebuild, |
75 |
+ metadata.xml: |
76 |
+ Removed doc building because buggy. Now unzip the bundled docs and link in |
77 |
+ proper directory, fixing bug #341753. Updated longdescription to reflect |
78 |
+ mayavi2 |
79 |
|
80 |
01 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
81 |
-mayavi-1.5-r1.ebuild, -files/mayavi-1.5-tkinter_objects.patch: |
82 |
|
83 |
|
84 |
|
85 |
1.3 sci-visualization/mayavi/mayavi-3.4.1.ebuild |
86 |
|
87 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild?rev=1.3&view=markup |
88 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild?rev=1.3&content-type=text/plain |
89 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild?r1=1.2&r2=1.3 |
90 |
|
91 |
Index: mayavi-3.4.1.ebuild |
92 |
=================================================================== |
93 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild,v |
94 |
retrieving revision 1.2 |
95 |
retrieving revision 1.3 |
96 |
diff -u -r1.2 -r1.3 |
97 |
--- mayavi-3.4.1.ebuild 30 Jan 2011 23:13:11 -0000 1.2 |
98 |
+++ mayavi-3.4.1.ebuild 1 Feb 2011 19:05:53 -0000 1.3 |
99 |
@@ -1,12 +1,11 @@ |
100 |
# Copyright 1999-2011 Gentoo Foundation |
101 |
# Distributed under the terms of the GNU General Public License v2 |
102 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild,v 1.2 2011/01/30 23:13:11 arfrever Exp $ |
103 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild,v 1.3 2011/02/01 19:05:53 bicatali Exp $ |
104 |
|
105 |
EAPI="3" |
106 |
PYTHON_DEPEND="2" |
107 |
-VIRTUALX_REQUIRED="manual" |
108 |
|
109 |
-inherit distutils eutils virtualx |
110 |
+inherit distutils eutils |
111 |
|
112 |
MY_PN="Mayavi" |
113 |
MY_P="${MY_PN}-${PV}" |
114 |
@@ -33,12 +32,7 @@ |
115 |
>=sci-libs/vtk-5[python] |
116 |
qt4? ( dev-python/PyQt4[X,opengl] )" |
117 |
DEPEND="${RDEPEND} |
118 |
- doc? ( |
119 |
- dev-python/sphinx |
120 |
- media-fonts/font-cursor-misc |
121 |
- media-fonts/font-misc-misc |
122 |
- x11-apps/xhost |
123 |
- )" |
124 |
+ doc? ( app-arch/unzip )" |
125 |
|
126 |
S="${WORKDIR}"/${MY_P} |
127 |
|
128 |
@@ -50,45 +44,40 @@ |
129 |
python_pkg_setup |
130 |
} |
131 |
|
132 |
-src_prepare() { |
133 |
- distutils_src_prepare |
134 |
- |
135 |
- sed -e "s/self.run_command('build_docs')/pass/" -i setup.py || die "sed setup.py failed" |
136 |
-} |
137 |
- |
138 |
-src_compile() { |
139 |
- distutils_src_compile |
140 |
- |
141 |
+src_unpack() { |
142 |
+ default |
143 |
if use doc; then |
144 |
- einfo "Generation of documentation" |
145 |
- pushd docs > /dev/null |
146 |
- doc_generation() { |
147 |
- emake html || die "Generation of documentation failed" |
148 |
- } |
149 |
- maketype="doc_generation" virtualmake |
150 |
- popd > /dev/null |
151 |
+ cd "${S}"/docs |
152 |
+ # building docs is buggy and requires X |
153 |
+ # so use the bundled ones |
154 |
+ unpack ./html.zip |
155 |
+ rm -rf html/*/_sources |
156 |
fi |
157 |
} |
158 |
|
159 |
+src_prepare() { |
160 |
+ distutils_src_prepare |
161 |
+ sed -i \ |
162 |
+ -e "s/self.run_command('gen_docs')/pass/" \ |
163 |
+ -e "s/self.run_command('build_docs')/pass/" \ |
164 |
+ setup.py || die "sed setup.py failed" |
165 |
+} |
166 |
+ |
167 |
src_install() { |
168 |
find -name "*LICENSE*.txt" -delete |
169 |
distutils_src_install |
170 |
|
171 |
+ insinto /usr/share/doc/${PF} |
172 |
if use doc; then |
173 |
- pushd docs/build/mayavi/html > /dev/null |
174 |
- insinto /usr/share/doc/${PF}/html/mayavi |
175 |
- doins -r [a-z]* _downloads _images _static || die "Installation of documentation failed" |
176 |
- popd > /dev/null |
177 |
- |
178 |
- pushd docs/build/tvtk/html > /dev/null |
179 |
- insinto /usr/share/doc/${PF}/html/tvtk |
180 |
- doins -r [a-z]* _static || die "Installation of documentation failed" |
181 |
- popd > /dev/null |
182 |
+ doins -r docs/html || die "Installation of documentation failed" |
183 |
+ dosym /usr/share/doc/${PF}/html/mayavi \ |
184 |
+ $(python_get_sitedir)/enthought/mayavi/html |
185 |
+ dosym /usr/share/doc/${PF}/html/tvtk \ |
186 |
+ $(python_get_sitedir)/enthought/tvtk/html |
187 |
fi |
188 |
|
189 |
if use examples; then |
190 |
- insinto /usr/share/doc/${PF}/examples |
191 |
- doins -r examples/* || die "Installation of examples failed" |
192 |
+ doins -r examples || die "Installation of examples failed" |
193 |
fi |
194 |
|
195 |
newicon enthought/mayavi/core/ui/images/m2.png mayavi2.png |