1 |
commit: d14ceb7c914422eb14ad65131d9035dcff205119 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 3 08:45:25 2017 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 3 08:45:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d14ceb7c |
7 |
|
8 |
sci-visualization/mayavi: committed to gentoo main repo. |
9 |
|
10 |
sci-visualization/mayavi/mayavi-4.4.0.ebuild | 68 ---------------------------- |
11 |
sci-visualization/mayavi/mayavi-4.4.2.ebuild | 68 ---------------------------- |
12 |
sci-visualization/mayavi/metadata.xml | 30 ------------ |
13 |
3 files changed, 166 deletions(-) |
14 |
|
15 |
diff --git a/sci-visualization/mayavi/mayavi-4.4.0.ebuild b/sci-visualization/mayavi/mayavi-4.4.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 6243950a7..000000000 |
18 |
--- a/sci-visualization/mayavi/mayavi-4.4.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,68 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
- |
28 |
-inherit distutils-r1 virtualx |
29 |
- |
30 |
-DESCRIPTION="Enthought Tool Suite: Scientific data 3-dimensional visualizer" |
31 |
-HOMEPAGE=" |
32 |
- http://code.enthought.com/projects/mayavi/ |
33 |
- http://pypi.python.org/pypi/mayavi/" |
34 |
-SRC_URI="https://github.com/enthought/${PN}/archive/${PV}.tar.gz" |
35 |
- |
36 |
-LICENSE="BSD" |
37 |
-SLOT="2" |
38 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
39 |
-IUSE="doc examples test" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- >=dev-python/apptools-4[${PYTHON_USEDEP}] |
43 |
- dev-python/configobj[${PYTHON_USEDEP}] |
44 |
- >=dev-python/envisage-4[${PYTHON_USEDEP}] |
45 |
- dev-python/ipython[${PYTHON_USEDEP}] |
46 |
- dev-python/numpy[${PYTHON_USEDEP}] |
47 |
- dev-python/pyface[${PYTHON_USEDEP}] |
48 |
- >=dev-python/traitsui-4[${PYTHON_USEDEP}] |
49 |
- dev-python/wxpython:*[${PYTHON_USEDEP}]" |
50 |
-CDEPEND="sci-libs/vtk[python]" |
51 |
-DEPEND=" |
52 |
- ${CDEPEND} |
53 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
55 |
- test? ( |
56 |
- ${RDEPEND} |
57 |
- dev-python/nose[${PYTHON_USEDEP}] |
58 |
- dev-python/wxpython[opengl] |
59 |
- media-fonts/font-cursor-misc |
60 |
- media-fonts/font-misc-misc |
61 |
- )" |
62 |
- |
63 |
-# testsuite is a trainwreck; https://github.com/enthought/mayavi/issues/66 |
64 |
-#RESTRICT="test" |
65 |
- |
66 |
-# not sure if this is still needed |
67 |
-#PATCHES=( "${FILESDIR}"/${PN}-4.2.0-doc.patch ) |
68 |
- |
69 |
-python_compile_all() { |
70 |
- if use doc; then |
71 |
- esetup.py gen_docs |
72 |
- esetup.py build_docs |
73 |
- fi |
74 |
-} |
75 |
- |
76 |
-python_test() { |
77 |
- VIRTUALX_COMMAND="nosetests" virtualmake |
78 |
-} |
79 |
- |
80 |
-python_install_all() { |
81 |
- use examples && EXAMPLES=( examples/. ) |
82 |
- use doc && HTML_DOCS=( docs/build/mayavi/html/. ) |
83 |
- distutils-r1_python_install_all |
84 |
- |
85 |
- newicon mayavi/core/ui/images/m2.png mayavi2.png |
86 |
- make_desktop_entry ${PN}2 \ |
87 |
- "Mayavi2 2D/3D Scientific Visualization" ${PN}2 |
88 |
-} |
89 |
|
90 |
diff --git a/sci-visualization/mayavi/mayavi-4.4.2.ebuild b/sci-visualization/mayavi/mayavi-4.4.2.ebuild |
91 |
deleted file mode 100644 |
92 |
index 6243950a7..000000000 |
93 |
--- a/sci-visualization/mayavi/mayavi-4.4.2.ebuild |
94 |
+++ /dev/null |
95 |
@@ -1,68 +0,0 @@ |
96 |
-# Copyright 1999-2015 Gentoo Foundation |
97 |
-# Distributed under the terms of the GNU General Public License v2 |
98 |
- |
99 |
-EAPI=5 |
100 |
- |
101 |
-PYTHON_COMPAT=( python2_7 ) |
102 |
- |
103 |
-inherit distutils-r1 virtualx |
104 |
- |
105 |
-DESCRIPTION="Enthought Tool Suite: Scientific data 3-dimensional visualizer" |
106 |
-HOMEPAGE=" |
107 |
- http://code.enthought.com/projects/mayavi/ |
108 |
- http://pypi.python.org/pypi/mayavi/" |
109 |
-SRC_URI="https://github.com/enthought/${PN}/archive/${PV}.tar.gz" |
110 |
- |
111 |
-LICENSE="BSD" |
112 |
-SLOT="2" |
113 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
114 |
-IUSE="doc examples test" |
115 |
- |
116 |
-RDEPEND=" |
117 |
- >=dev-python/apptools-4[${PYTHON_USEDEP}] |
118 |
- dev-python/configobj[${PYTHON_USEDEP}] |
119 |
- >=dev-python/envisage-4[${PYTHON_USEDEP}] |
120 |
- dev-python/ipython[${PYTHON_USEDEP}] |
121 |
- dev-python/numpy[${PYTHON_USEDEP}] |
122 |
- dev-python/pyface[${PYTHON_USEDEP}] |
123 |
- >=dev-python/traitsui-4[${PYTHON_USEDEP}] |
124 |
- dev-python/wxpython:*[${PYTHON_USEDEP}]" |
125 |
-CDEPEND="sci-libs/vtk[python]" |
126 |
-DEPEND=" |
127 |
- ${CDEPEND} |
128 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
129 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
130 |
- test? ( |
131 |
- ${RDEPEND} |
132 |
- dev-python/nose[${PYTHON_USEDEP}] |
133 |
- dev-python/wxpython[opengl] |
134 |
- media-fonts/font-cursor-misc |
135 |
- media-fonts/font-misc-misc |
136 |
- )" |
137 |
- |
138 |
-# testsuite is a trainwreck; https://github.com/enthought/mayavi/issues/66 |
139 |
-#RESTRICT="test" |
140 |
- |
141 |
-# not sure if this is still needed |
142 |
-#PATCHES=( "${FILESDIR}"/${PN}-4.2.0-doc.patch ) |
143 |
- |
144 |
-python_compile_all() { |
145 |
- if use doc; then |
146 |
- esetup.py gen_docs |
147 |
- esetup.py build_docs |
148 |
- fi |
149 |
-} |
150 |
- |
151 |
-python_test() { |
152 |
- VIRTUALX_COMMAND="nosetests" virtualmake |
153 |
-} |
154 |
- |
155 |
-python_install_all() { |
156 |
- use examples && EXAMPLES=( examples/. ) |
157 |
- use doc && HTML_DOCS=( docs/build/mayavi/html/. ) |
158 |
- distutils-r1_python_install_all |
159 |
- |
160 |
- newicon mayavi/core/ui/images/m2.png mayavi2.png |
161 |
- make_desktop_entry ${PN}2 \ |
162 |
- "Mayavi2 2D/3D Scientific Visualization" ${PN}2 |
163 |
-} |
164 |
|
165 |
diff --git a/sci-visualization/mayavi/metadata.xml b/sci-visualization/mayavi/metadata.xml |
166 |
deleted file mode 100644 |
167 |
index 295da5bc4..000000000 |
168 |
--- a/sci-visualization/mayavi/metadata.xml |
169 |
+++ /dev/null |
170 |
@@ -1,30 +0,0 @@ |
171 |
-<?xml version='1.0' encoding='UTF-8'?> |
172 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
173 |
-<pkgmetadata> |
174 |
- <maintainer type="project"> |
175 |
- <email>sci@g.o</email> |
176 |
- <name>Gentoo Science Project</name> |
177 |
- </maintainer> |
178 |
- <longdescription lang="en"> |
179 |
- Mayavi2 is a general purpose, cross-platform tool for 3-D scientific |
180 |
- data visualization. Its features include: |
181 |
- * Visualization of scalar, vector and tensor data in 2 and 3 dimensions. |
182 |
- * Easy scriptability using Python. |
183 |
- * Easy extendibility via custom sources, modules, and data filters. |
184 |
- * Reading several file formats: VTK (legacy and XML), PLOT3D, etc. |
185 |
- * Saving of visualizations. |
186 |
- * Saving rendered visualization in a variety of image formats. |
187 |
- * Convenient functionality for rapid scientific plotting via mlab |
188 |
- |
189 |
- Mayavi2 has been designed with scriptability and extensibility in |
190 |
- mind. Mayavi2 provides a mayavi2 application which is usable by |
191 |
- itself. However, Mayavi2 may also be used as a plotting engine, in |
192 |
- scripts, like with matplotlib or gnuplot, as well as a library for |
193 |
- interactive visualizations in any other application. It may also be |
194 |
- used as an Envisage plug-in which allows it to be embedded in other |
195 |
- Envisage based applications natively. |
196 |
- </longdescription> |
197 |
- <upstream> |
198 |
- <remote-id type="github">enthought/mayavi</remote-id> |
199 |
- </upstream> |
200 |
-</pkgmetadata> |