diff options
author | Benda Xu <heroxbd@gentoo.org> | 2017-07-03 15:47:26 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2017-07-03 17:29:27 +0900 |
commit | b0bd89cbb61b5635cf66fd92131678d1d9108a71 (patch) | |
tree | 94f5bd091f282053b3cc7e02a3709b6448226a19 | |
parent | media-video/vlc: add Prefix support. (diff) | |
download | gentoo-b0bd89cbb61b5635cf66fd92131678d1d9108a71.tar.gz gentoo-b0bd89cbb61b5635cf66fd92131678d1d9108a71.tar.bz2 gentoo-b0bd89cbb61b5635cf66fd92131678d1d9108a71.zip |
sci-visualization/mayavi: version bump.
fix dependencies of wxwidgets[opengl] and vtk[rendering].
Bug: 516478 604200
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r-- | sci-visualization/mayavi/Manifest | 1 | ||||
-rw-r--r-- | sci-visualization/mayavi/mayavi-4.5.0.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/sci-visualization/mayavi/Manifest b/sci-visualization/mayavi/Manifest index 466a71a2aed3..fe9faa1c3f15 100644 --- a/sci-visualization/mayavi/Manifest +++ b/sci-visualization/mayavi/Manifest @@ -1 +1,2 @@ DIST mayavi-4.3.0.tar.gz 7669453 SHA256 ebad81222809d18ad443cd11d62e768998467064628f8c13786ac692dd858b8d SHA512 1530c194ba5f94d7a2767dbc0e704892520c24c2af5ea8977c791922fa8a1ddf780d1589bf38b4efe4b5bc779c1ef6358d9664963fa9d4c5a1e75f6500f4a974 WHIRLPOOL 4f187ce7c4c6e8f040ef49a9586b6ab796382fa20f04c0f5ddf0870f9418f3622a4ad9bc846e4dd390f9dcf4482df84fa6673d5a76de643886e87954622ada58 +DIST mayavi-4.5.0.tar.gz 8966895 SHA256 36f688b3ea542e9f8cc0d7faa25e1425723cd00acc8aa640169029f33679ab85 SHA512 241faa5b39a6b1b28f04bf6fff44d3ff952b2df581b03845224d9404c3b1a71b2985c23060b6a50425545106a0e32f474956dba7f5b9dfcfb4d55e866a3acee6 WHIRLPOOL 4aad37e93200f4ccfe6a506ed7843ecb4ef69c0d7b8ff8b7fa3c2536d3f4ad3ea1ad84c1fe06275fd9379f3978da3ab0f7bb6dc009c6136e75b2043cd813a46d diff --git a/sci-visualization/mayavi/mayavi-4.5.0.ebuild b/sci-visualization/mayavi/mayavi-4.5.0.ebuild new file mode 100644 index 000000000000..84348e718ed3 --- /dev/null +++ b/sci-visualization/mayavi/mayavi-4.5.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 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/ + http://pypi.python.org/pypi/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 +} |