diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-12-06 15:45:21 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-12-06 15:45:21 +0000 |
commit | 8b483c6a260379da07d1045b1ee854bddbc0a5bc (patch) | |
tree | ffbe3564b4e92a1ac457048a36116ebb09bab3f2 /sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild | |
parent | http://my.opera.com/desktopteam/blog/2012/12/06/the-wait-is-over (diff) | |
download | gentoo-2-8b483c6a260379da07d1045b1ee854bddbc0a5bc.tar.gz gentoo-2-8b483c6a260379da07d1045b1ee854bddbc0a5bc.tar.bz2 gentoo-2-8b483c6a260379da07d1045b1ee854bddbc0a5bc.zip |
sci-visualization/mayavi: Drop old; restrict tests as they are broken, #422951; only build docs with USE=doc and only once, #445782; Version Bump; Add missing Deps
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild')
-rw-r--r-- | sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild b/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild index 34fa4c7d16ea..1328a6fc6273 100644 --- a/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild +++ b/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild,v 1.3 2012/03/05 10:53:03 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild,v 1.4 2012/12/06 15:45:21 jlec Exp $ EAPI=4 @@ -31,8 +31,10 @@ CDEPEND="sci-libs/vtk[python]" DEPEND=" ${CDEPEND} dev-python/setuptools + doc? ( dev-python/sphinx ) test? ( ${RDEPEND} + dev-python/nose dev-python/wxpython[opengl] media-fonts/font-cursor-misc media-fonts/font-misc-misc @@ -40,6 +42,11 @@ DEPEND=" DOCS="docs/*.txt" +# Its broken, run +# mayavi2 --test +# instead +RESTRICT="test" + pkg_setup() { python_set_active_version 2 python_pkg_setup @@ -56,10 +63,6 @@ src_compile() { use doc && virtualmake -C docs html } -src_test() { - VIRTUALX_COMMAND="distutils_src_test" virtualmake -} - src_install() { find -name "*LICENSE*.txt" -delete distutils_src_install @@ -72,5 +75,6 @@ src_install() { fi newicon mayavi/core/ui/images/m2.png mayavi2.png - make_desktop_entry mayavi2 "Mayavi2 2D/3D Scientific Visualization" mayavi2 + make_desktop_entry ${PN}2 \ + "Mayavi2 2D/3D Scientific Visualization" ${PN}2 } |