sci-visualization/mayavi: remove last rited package

Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
Mikle Kolyada
2019-04-15 10:33:33 +03:00
parent 75c9c71805
commit c2ca944bc5
5 changed files with 0 additions and 209 deletions

View File

@@ -1,2 +0,0 @@
DIST mayavi-4.3.0.tar.gz 7669453 BLAKE2B d64fec70ff0763ad7534b2e20b699b53ba9eb9fc345e484ee045c04961846b3f22d2a8cb05baed2f132a58dd4cf101ace67741ae53bc9dcd8e08f3809a07006e SHA512 1530c194ba5f94d7a2767dbc0e704892520c24c2af5ea8977c791922fa8a1ddf780d1589bf38b4efe4b5bc779c1ef6358d9664963fa9d4c5a1e75f6500f4a974
DIST mayavi-4.5.0.tar.gz 8966895 BLAKE2B 19e43b23c47c1b3f41edc797db4afa255bcdc595569927c9b1ebd269c1ed1ea18ff24ee7a8895f759bb8fb70134faebdd798aa5bb6c7990db141f3f1b1a0d5cf SHA512 241faa5b39a6b1b28f04bf6fff44d3ff952b2df581b03845224d9404c3b1a71b2985c23060b6a50425545106a0e32f474956dba7f5b9dfcfb4d55e866a3acee6

View File

@@ -1,37 +0,0 @@
setup.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/setup.py b/setup.py
index 0177c44..58d13b0 100644
--- a/setup.py
+++ b/setup.py
@@ -300,14 +300,14 @@ class MyBuild(build.build):
"""
def run(self):
- build_tvtk_classes_zip()
+# build_tvtk_classes_zip()
build.build.run(self)
- self.run_command('gen_docs')
- try:
- self.run_command('build_docs')
- except:
- log.warn("Couldn't build documentation:\n%s" %
- traceback.format_exception(*sys.exc_info()))
+# self.run_command('gen_docs')
+# try:
+# self.run_command('build_docs')
+# except:
+# log.warn("Couldn't build documentation:\n%s" %
+# traceback.format_exception(*sys.exc_info()))
@@ -494,6 +494,6 @@ numpy.distutils.core.setup(
license = "BSD",
long_description = '\n'.join(DOCLINES[3:]),
platforms = ["Windows", "Linux", "Mac OS-X", "Unix", "Solaris"],
- zip_safe = False,
+ zip_safe = True,
**config
)

View File

@@ -1,75 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 virtualx
DESCRIPTION="Enthought Tool Suite: Scientific data 3-dimensional visualizer"
HOMEPAGE="
http://code.enthought.com/projects/mayavi/
https://pypi.org/project/mayavi/"
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz"
LICENSE="BSD"
SLOT="2"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
RDEPEND="
>=dev-python/apptools-4[${PYTHON_USEDEP}]
dev-python/configobj[${PYTHON_USEDEP}]
>=dev-python/envisage-4[${PYTHON_USEDEP}]
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pyface[${PYTHON_USEDEP}]
>=dev-python/traitsui-4[${PYTHON_USEDEP}]
dev-python/wxpython[${PYTHON_USEDEP}]"
CDEPEND="sci-libs/vtk[python]"
DEPEND="
${CDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
dev-python/wxpython[opengl]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
#DOCS="docs/*.txt"
# testsuite is a trainwreck; https://github.com/enthought/mayavi/issues/66
#RESTRICT="test"
PATCHES=( "${FILESDIR}"/${PN}-4.2.0-doc.patch )
python_compile_all() {
if use doc; then
${PYTHON} setup.py gen_docs || die
${PYTHON} setup.py build_docs || die
fi
}
python_test() {
VIRTUALX_COMMAND="nosetests" virtualmake
}
python_install_all() {
distutils-r1_python_install_all
use doc && dohtml -r docs/build/mayavi/html/
if use examples; then
docompress -x usr/share/doc/${PF}/examples/
insinto /usr/share/doc/${PF}
doins -r examples
fi
newicon mayavi/core/ui/images/m2.png mayavi2.png
make_desktop_entry ${PN}2 \
"Mayavi2 2D/3D Scientific Visualization" ${PN}2
}

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 virtualx
DESCRIPTION="Enthought Tool Suite: Scientific data 3-dimensional visualizer"
HOMEPAGE="
http://code.enthought.com/projects/mayavi/
https://pypi.org/project/mayavi/"
SRC_URI="https://github.com/enthought/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="2"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
RDEPEND="
>=dev-python/apptools-4[${PYTHON_USEDEP}]
dev-python/configobj[${PYTHON_USEDEP}]
>=dev-python/envisage-4[${PYTHON_USEDEP}]
dev-python/ipython[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pyface[${PYTHON_USEDEP}]
>=dev-python/traitsui-4[${PYTHON_USEDEP}]
dev-python/wxpython:*[opengl,${PYTHON_USEDEP}]"
CDEPEND="sci-libs/vtk[python,rendering]"
DEPEND="
${CDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
dev-python/wxpython[opengl]
media-fonts/font-cursor-misc
media-fonts/font-misc-misc
)"
# testsuite is a trainwreck; https://github.com/enthought/mayavi/issues/66
#RESTRICT="test"
# not sure if this is still needed
#PATCHES=( "${FILESDIR}"/${PN}-4.2.0-doc.patch )
python_compile_all() {
if use doc; then
esetup.py gen_docs
esetup.py build_docs
fi
}
python_test() {
VIRTUALX_COMMAND="nosetests" virtualmake
}
python_install_all() {
use examples && EXAMPLES=( examples/. )
use doc && HTML_DOCS=( docs/build/mayavi/html/. )
distutils-r1_python_install_all
newicon mayavi/core/ui/images/m2.png mayavi2.png
make_desktop_entry ${PN}2 \
"Mayavi2 2D/3D Scientific Visualization" ${PN}2
}

View File

@@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
<longdescription lang="en">
Mayavi2 is a general purpose, cross-platform tool for 3-D scientific
data visualization. Its features include:
* Visualization of scalar, vector and tensor data in 2 and 3 dimensions.
* Easy scriptability using Python.
* Easy extendibility via custom sources, modules, and data filters.
* Reading several file formats: VTK (legacy and XML), PLOT3D, etc.
* Saving of visualizations.
* Saving rendered visualization in a variety of image formats.
* Convenient functionality for rapid scientific plotting via mlab
Mayavi2 has been designed with scriptability and extensibility in
mind. Mayavi2 provides a mayavi2 application which is usable by
itself. However, Mayavi2 may also be used as a plotting engine, in
scripts, like with matplotlib or gnuplot, as well as a library for
interactive visualizations in any other application. It may also be
used as an Envisage plug-in which allows it to be embedded in other
Envisage based applications natively.
</longdescription>
</pkgmetadata>