diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2007-04-23 16:29:33 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2007-04-23 16:29:33 +0000 |
commit | f0337fa0de03c7f720cd5e58b7fbe757d2b5be0d (patch) | |
tree | 0e65665c984f1265e17da7763953f0dde1328bc6 | |
parent | added paraview (diff) | |
download | sci-f0337fa0de03c7f720cd5e58b7fbe757d2b5be0d.tar.gz sci-f0337fa0de03c7f720cd5e58b7fbe757d2b5be0d.tar.bz2 sci-f0337fa0de03c7f720cd5e58b7fbe757d2b5be0d.zip |
added mayavi
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@565 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r-- | sci-visualization/mayavi/Manifest | 12 | ||||
-rw-r--r-- | sci-visualization/mayavi/files/digest-mayavi-1.5 | 3 | ||||
-rw-r--r-- | sci-visualization/mayavi/mayavi-1.5.ebuild | 43 | ||||
-rw-r--r-- | sci-visualization/mayavi/metadata.xml | 11 |
4 files changed, 69 insertions, 0 deletions
diff --git a/sci-visualization/mayavi/Manifest b/sci-visualization/mayavi/Manifest new file mode 100644 index 000000000..cddd1b266 --- /dev/null +++ b/sci-visualization/mayavi/Manifest @@ -0,0 +1,12 @@ +DIST MayaVi-1.5.tar.gz 525440 RMD160 19eb0e969c7782f57ae72847981eb961548f5aad SHA1 b4dc17cccbd9f13edd27947a971a3a250b7f6357 SHA256 3642d98e7e3b9e542401269eab2db6cbe7be4ecdccc450e8413b8372df136c91 +EBUILD mayavi-1.5.ebuild 1038 RMD160 1a2b379b24c0bf39b00fda908e08b43c5a5ae733 SHA1 f59d02b79ca042faeb22fdf49e22dc5c6418c409 SHA256 cdb08e404f2d5fe39ba1aa6941e8cd28dfd664bbf9ebcab54bef33726c156536 +MD5 60733fd46bc3771a55d581ce2e47439a mayavi-1.5.ebuild 1038 +RMD160 1a2b379b24c0bf39b00fda908e08b43c5a5ae733 mayavi-1.5.ebuild 1038 +SHA256 cdb08e404f2d5fe39ba1aa6941e8cd28dfd664bbf9ebcab54bef33726c156536 mayavi-1.5.ebuild 1038 +MISC metadata.xml 475 RMD160 bf38725e5c3ed1b28aa5fd698322ab1e597cd65a SHA1 da743b046f934082ddb06ccc30e1f2a9539b673f SHA256 283ad36fc41d374c28ca204274252890e655fb6e908fd3b0b12c6f7a8d385615 +MD5 f2b642bf3fe83c532f8dde6faee60822 metadata.xml 475 +RMD160 bf38725e5c3ed1b28aa5fd698322ab1e597cd65a metadata.xml 475 +SHA256 283ad36fc41d374c28ca204274252890e655fb6e908fd3b0b12c6f7a8d385615 metadata.xml 475 +MD5 fc895d52073334b0275a755119c67d1f files/digest-mayavi-1.5 232 +RMD160 7eaba2ffe6abae83b8bb8aec340758d497b102a8 files/digest-mayavi-1.5 232 +SHA256 16faf9ead9192e655a423d2180e4a8550b505121687eec7451d6fd05c4e38a57 files/digest-mayavi-1.5 232 diff --git a/sci-visualization/mayavi/files/digest-mayavi-1.5 b/sci-visualization/mayavi/files/digest-mayavi-1.5 new file mode 100644 index 000000000..3a81624c2 --- /dev/null +++ b/sci-visualization/mayavi/files/digest-mayavi-1.5 @@ -0,0 +1,3 @@ +MD5 494a29e38b9e808157bae9daaf9fe044 MayaVi-1.5.tar.gz 525440 +RMD160 19eb0e969c7782f57ae72847981eb961548f5aad MayaVi-1.5.tar.gz 525440 +SHA256 3642d98e7e3b9e542401269eab2db6cbe7be4ecdccc450e8413b8372df136c91 MayaVi-1.5.tar.gz 525440 diff --git a/sci-visualization/mayavi/mayavi-1.5.ebuild b/sci-visualization/mayavi/mayavi-1.5.ebuild new file mode 100644 index 000000000..43122e963 --- /dev/null +++ b/sci-visualization/mayavi/mayavi-1.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NEED_PYTHON=2.3 + +inherit distutils eutils + +MY_P=MayaVi-${PV} +DESCRIPTION="VTK based scientific data visualizer" +HOMEPAGE="http://mayavi.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="2" +KEYWORDS="~amd64 ~x86" + +IUSE="doc examples" +DEPEND=">=sci-libs/vtk-5.0.3" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + python_tkinter_exists + + # Does vtk have to be compiled with patented: comment #5 in bug #50464 ? + if ! built_with_use sci-libs/vtk tk python; then + eerror "vtk is missing tk or python support." + eerror "Please ensure you have the 'tk' and 'python' USE flags" + eerror "enabled for vtk and then re-emerge vtk." + die "vtk needs tk and python USE flags" + fi +} + +src_install() { + distutils_src_install + dodoc doc/{README,CREDITS,NEWS,TODO}.txt + use doc && dohtml -r doc/guide/* + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r examples/* + fi +} diff --git a/sci-visualization/mayavi/metadata.xml b/sci-visualization/mayavi/metadata.xml new file mode 100644 index 000000000..011c81d38 --- /dev/null +++ b/sci-visualization/mayavi/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> +MayaVi is a scientific data visualizer. It is written in Python and uses the +Visualization Toolkit (VTK) for the visualization. An easy to use GUI using +Tkinter is provided. It is also cross platform and should run on any platform +where both Python and VTK are available. +</longdescription> +</pkgmetadata> |