summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-01-17 06:26:54 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-01-17 06:26:54 +0000
commita75b0d16cf1eb9756e871fe190294b6babfd1628 (patch)
tree74632451fd804b14a47f63c87901d321c554b0e0 /sci-visualization
parentEbuild clean and EAPI bump (diff)
downloadgentoo-2-a75b0d16cf1eb9756e871fe190294b6babfd1628.tar.gz
gentoo-2-a75b0d16cf1eb9756e871fe190294b6babfd1628.tar.bz2
gentoo-2-a75b0d16cf1eb9756e871fe190294b6babfd1628.zip
Version bump
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/mayavi/ChangeLog9
-rw-r--r--sci-visualization/mayavi/mayavi-4.1.0.ebuild64
2 files changed, 71 insertions, 2 deletions
diff --git a/sci-visualization/mayavi/ChangeLog b/sci-visualization/mayavi/ChangeLog
index 2dc66e252923..462fb034b73c 100644
--- a/sci-visualization/mayavi/ChangeLog
+++ b/sci-visualization/mayavi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-visualization/mayavi
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.23 2011/08/09 04:22:22 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.24 2012/01/17 06:26:54 bicatali Exp $
+
+*mayavi-4.1.0 (17 Jan 2012)
+
+ 17 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org> +mayavi-4.1.0.ebuild:
+ Version bump
09 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> mayavi-4.0.0.ebuild:
Added more run dependencies
diff --git a/sci-visualization/mayavi/mayavi-4.1.0.ebuild b/sci-visualization/mayavi/mayavi-4.1.0.ebuild
new file mode 100644
index 000000000000..ff9cf818e250
--- /dev/null
+++ b/sci-visualization/mayavi/mayavi-4.1.0.ebuild
@@ -0,0 +1,64 @@
+# 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.ebuild,v 1.1 2012/01/17 06:26:54 bicatali Exp $
+
+EAPI=4
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils eutils 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="http://www.enthought.com/repo/ets/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples test"
+
+RDEPEND="dev-python/configobj
+ dev-python/ipython
+ >=dev-python/pyface-4
+ >=dev-python/traitsui-4
+ >=dev-python/envisage-4
+ >=dev-python/apptools-4
+ >=dev-python/traitsui-4
+ dev-python/numpy
+ >=sci-libs/vtk-5[python]"
+
+DEPEND="dev-python/setuptools
+ test? (
+ ${RDEPEND}
+ dev-python/wxpython[opengl]
+ media-fonts/font-cursor-misc
+ media-fonts/font-misc-misc
+ )"
+
+DOCS="docs/*.txt"
+
+src_compile() {
+ distutils_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
+
+ use doc && dohtml -r docs/build/mayavi/html/*
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+
+ newicon mayavi/core/ui/images/m2.png mayavi2.png
+ make_desktop_entry mayavi2 "Mayavi2 2D/3D Scientific Visualization" mayavi2
+}