Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/mayavi/files/, sci-visualization/mayavi/
Date: Mon, 15 Apr 2019 07:33:47
Message-Id: 1555313613.c2ca944bc54814cdcda87f14b144f87c5636ab36.zlogene@gentoo
1 commit: c2ca944bc54814cdcda87f14b144f87c5636ab36
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 15 07:33:33 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 15 07:33:33 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ca944b
7
8 sci-visualization/mayavi: remove last rited package
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11
12 sci-visualization/mayavi/Manifest | 2 -
13 .../mayavi/files/mayavi-4.2.0-doc.patch | 37 -----------
14 sci-visualization/mayavi/mayavi-4.3.0.ebuild | 75 ----------------------
15 sci-visualization/mayavi/mayavi-4.5.0.ebuild | 68 --------------------
16 sci-visualization/mayavi/metadata.xml | 27 --------
17 5 files changed, 209 deletions(-)
18
19 diff --git a/sci-visualization/mayavi/Manifest b/sci-visualization/mayavi/Manifest
20 deleted file mode 100644
21 index 5cf74e3bda4..00000000000
22 --- a/sci-visualization/mayavi/Manifest
23 +++ /dev/null
24 @@ -1,2 +0,0 @@
25 -DIST mayavi-4.3.0.tar.gz 7669453 BLAKE2B d64fec70ff0763ad7534b2e20b699b53ba9eb9fc345e484ee045c04961846b3f22d2a8cb05baed2f132a58dd4cf101ace67741ae53bc9dcd8e08f3809a07006e SHA512 1530c194ba5f94d7a2767dbc0e704892520c24c2af5ea8977c791922fa8a1ddf780d1589bf38b4efe4b5bc779c1ef6358d9664963fa9d4c5a1e75f6500f4a974
26 -DIST mayavi-4.5.0.tar.gz 8966895 BLAKE2B 19e43b23c47c1b3f41edc797db4afa255bcdc595569927c9b1ebd269c1ed1ea18ff24ee7a8895f759bb8fb70134faebdd798aa5bb6c7990db141f3f1b1a0d5cf SHA512 241faa5b39a6b1b28f04bf6fff44d3ff952b2df581b03845224d9404c3b1a71b2985c23060b6a50425545106a0e32f474956dba7f5b9dfcfb4d55e866a3acee6
27
28 diff --git a/sci-visualization/mayavi/files/mayavi-4.2.0-doc.patch b/sci-visualization/mayavi/files/mayavi-4.2.0-doc.patch
29 deleted file mode 100644
30 index 1cdb129871e..00000000000
31 --- a/sci-visualization/mayavi/files/mayavi-4.2.0-doc.patch
32 +++ /dev/null
33 @@ -1,37 +0,0 @@
34 - setup.py | 16 ++++++++--------
35 - 1 file changed, 8 insertions(+), 8 deletions(-)
36 -
37 -diff --git a/setup.py b/setup.py
38 -index 0177c44..58d13b0 100644
39 ---- a/setup.py
40 -+++ b/setup.py
41 -@@ -300,14 +300,14 @@ class MyBuild(build.build):
42 - """
43 -
44 - def run(self):
45 -- build_tvtk_classes_zip()
46 -+# build_tvtk_classes_zip()
47 - build.build.run(self)
48 -- self.run_command('gen_docs')
49 -- try:
50 -- self.run_command('build_docs')
51 -- except:
52 -- log.warn("Couldn't build documentation:\n%s" %
53 -- traceback.format_exception(*sys.exc_info()))
54 -+# self.run_command('gen_docs')
55 -+# try:
56 -+# self.run_command('build_docs')
57 -+# except:
58 -+# log.warn("Couldn't build documentation:\n%s" %
59 -+# traceback.format_exception(*sys.exc_info()))
60 -
61 -
62 -
63 -@@ -494,6 +494,6 @@ numpy.distutils.core.setup(
64 - license = "BSD",
65 - long_description = '\n'.join(DOCLINES[3:]),
66 - platforms = ["Windows", "Linux", "Mac OS-X", "Unix", "Solaris"],
67 -- zip_safe = False,
68 -+ zip_safe = True,
69 - **config
70 - )
71
72 diff --git a/sci-visualization/mayavi/mayavi-4.3.0.ebuild b/sci-visualization/mayavi/mayavi-4.3.0.ebuild
73 deleted file mode 100644
74 index 9492d357897..00000000000
75 --- a/sci-visualization/mayavi/mayavi-4.3.0.ebuild
76 +++ /dev/null
77 @@ -1,75 +0,0 @@
78 -# Copyright 1999-2015 Gentoo Foundation
79 -# Distributed under the terms of the GNU General Public License v2
80 -
81 -EAPI=5
82 -
83 -PYTHON_COMPAT=( python2_7 )
84 -
85 -inherit distutils-r1 virtualx
86 -
87 -DESCRIPTION="Enthought Tool Suite: Scientific data 3-dimensional visualizer"
88 -HOMEPAGE="
89 - http://code.enthought.com/projects/mayavi/
90 - https://pypi.org/project/mayavi/"
91 -SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
92 -
93 -LICENSE="BSD"
94 -SLOT="2"
95 -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
96 -IUSE="doc examples test"
97 -
98 -RDEPEND="
99 - >=dev-python/apptools-4[${PYTHON_USEDEP}]
100 - dev-python/configobj[${PYTHON_USEDEP}]
101 - >=dev-python/envisage-4[${PYTHON_USEDEP}]
102 - dev-python/ipython[${PYTHON_USEDEP}]
103 - dev-python/numpy[${PYTHON_USEDEP}]
104 - dev-python/pyface[${PYTHON_USEDEP}]
105 - >=dev-python/traitsui-4[${PYTHON_USEDEP}]
106 - dev-python/wxpython[${PYTHON_USEDEP}]"
107 -CDEPEND="sci-libs/vtk[python]"
108 -DEPEND="
109 - ${CDEPEND}
110 - dev-python/setuptools[${PYTHON_USEDEP}]
111 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
112 - test? (
113 - ${RDEPEND}
114 - dev-python/nose[${PYTHON_USEDEP}]
115 - dev-python/wxpython[opengl]
116 - media-fonts/font-cursor-misc
117 - media-fonts/font-misc-misc
118 - )"
119 -
120 -#DOCS="docs/*.txt"
121 -
122 -# testsuite is a trainwreck; https://github.com/enthought/mayavi/issues/66
123 -#RESTRICT="test"
124 -
125 -PATCHES=( "${FILESDIR}"/${PN}-4.2.0-doc.patch )
126 -
127 -python_compile_all() {
128 - if use doc; then
129 - ${PYTHON} setup.py gen_docs || die
130 - ${PYTHON} setup.py build_docs || die
131 - fi
132 -}
133 -
134 -python_test() {
135 -
136 - VIRTUALX_COMMAND="nosetests" virtualmake
137 -}
138 -
139 -python_install_all() {
140 - distutils-r1_python_install_all
141 - use doc && dohtml -r docs/build/mayavi/html/
142 -
143 - if use examples; then
144 - docompress -x usr/share/doc/${PF}/examples/
145 - insinto /usr/share/doc/${PF}
146 - doins -r examples
147 - fi
148 -
149 - newicon mayavi/core/ui/images/m2.png mayavi2.png
150 - make_desktop_entry ${PN}2 \
151 - "Mayavi2 2D/3D Scientific Visualization" ${PN}2
152 -}
153
154 diff --git a/sci-visualization/mayavi/mayavi-4.5.0.ebuild b/sci-visualization/mayavi/mayavi-4.5.0.ebuild
155 deleted file mode 100644
156 index fc00ab86acb..00000000000
157 --- a/sci-visualization/mayavi/mayavi-4.5.0.ebuild
158 +++ /dev/null
159 @@ -1,68 +0,0 @@
160 -# Copyright 1999-2018 Gentoo Foundation
161 -# Distributed under the terms of the GNU General Public License v2
162 -
163 -EAPI=5
164 -
165 -PYTHON_COMPAT=( python2_7 )
166 -
167 -inherit distutils-r1 virtualx
168 -
169 -DESCRIPTION="Enthought Tool Suite: Scientific data 3-dimensional visualizer"
170 -HOMEPAGE="
171 - http://code.enthought.com/projects/mayavi/
172 - https://pypi.org/project/mayavi/"
173 -SRC_URI="https://github.com/enthought/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
174 -
175 -LICENSE="BSD"
176 -SLOT="2"
177 -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
178 -IUSE="doc examples test"
179 -
180 -RDEPEND="
181 - >=dev-python/apptools-4[${PYTHON_USEDEP}]
182 - dev-python/configobj[${PYTHON_USEDEP}]
183 - >=dev-python/envisage-4[${PYTHON_USEDEP}]
184 - dev-python/ipython[${PYTHON_USEDEP}]
185 - dev-python/numpy[${PYTHON_USEDEP}]
186 - dev-python/pyface[${PYTHON_USEDEP}]
187 - >=dev-python/traitsui-4[${PYTHON_USEDEP}]
188 - dev-python/wxpython:*[opengl,${PYTHON_USEDEP}]"
189 -CDEPEND="sci-libs/vtk[python,rendering]"
190 -DEPEND="
191 - ${CDEPEND}
192 - dev-python/setuptools[${PYTHON_USEDEP}]
193 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
194 - test? (
195 - ${RDEPEND}
196 - dev-python/nose[${PYTHON_USEDEP}]
197 - dev-python/wxpython[opengl]
198 - media-fonts/font-cursor-misc
199 - media-fonts/font-misc-misc
200 - )"
201 -
202 -# testsuite is a trainwreck; https://github.com/enthought/mayavi/issues/66
203 -#RESTRICT="test"
204 -
205 -# not sure if this is still needed
206 -#PATCHES=( "${FILESDIR}"/${PN}-4.2.0-doc.patch )
207 -
208 -python_compile_all() {
209 - if use doc; then
210 - esetup.py gen_docs
211 - esetup.py build_docs
212 - fi
213 -}
214 -
215 -python_test() {
216 - VIRTUALX_COMMAND="nosetests" virtualmake
217 -}
218 -
219 -python_install_all() {
220 - use examples && EXAMPLES=( examples/. )
221 - use doc && HTML_DOCS=( docs/build/mayavi/html/. )
222 - distutils-r1_python_install_all
223 -
224 - newicon mayavi/core/ui/images/m2.png mayavi2.png
225 - make_desktop_entry ${PN}2 \
226 - "Mayavi2 2D/3D Scientific Visualization" ${PN}2
227 -}
228
229 diff --git a/sci-visualization/mayavi/metadata.xml b/sci-visualization/mayavi/metadata.xml
230 deleted file mode 100644
231 index f169ae16ecd..00000000000
232 --- a/sci-visualization/mayavi/metadata.xml
233 +++ /dev/null
234 @@ -1,27 +0,0 @@
235 -<?xml version="1.0" encoding="UTF-8"?>
236 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
237 -<pkgmetadata>
238 - <maintainer type="project">
239 - <email>sci@g.o</email>
240 - <name>Gentoo Science Project</name>
241 - </maintainer>
242 - <longdescription lang="en">
243 - Mayavi2 is a general purpose, cross-platform tool for 3-D scientific
244 - data visualization. Its features include:
245 - * Visualization of scalar, vector and tensor data in 2 and 3 dimensions.
246 - * Easy scriptability using Python.
247 - * Easy extendibility via custom sources, modules, and data filters.
248 - * Reading several file formats: VTK (legacy and XML), PLOT3D, etc.
249 - * Saving of visualizations.
250 - * Saving rendered visualization in a variety of image formats.
251 - * Convenient functionality for rapid scientific plotting via mlab
252 -
253 - Mayavi2 has been designed with scriptability and extensibility in
254 - mind. Mayavi2 provides a mayavi2 application which is usable by
255 - itself. However, Mayavi2 may also be used as a plotting engine, in
256 - scripts, like with matplotlib or gnuplot, as well as a library for
257 - interactive visualizations in any other application. It may also be
258 - used as an Envisage plug-in which allows it to be embedded in other
259 - Envisage based applications natively.
260 - </longdescription>
261 -</pkgmetadata>