summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-04-24 15:55:31 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-04-24 15:55:31 +0000
commit55b587c9fcc8ff771434f25324d7dd7c9f4592c8 (patch)
tree5febd209fc3d9be861bc793bd5edf16432d47247 /sci-visualization
parentAdd ~x86-fbsd keyword. (diff)
downloadgentoo-2-55b587c9fcc8ff771434f25324d7dd7c9f4592c8.tar.gz
gentoo-2-55b587c9fcc8ff771434f25324d7dd7c9f4592c8.tar.bz2
gentoo-2-55b587c9fcc8ff771434f25324d7dd7c9f4592c8.zip
Initial import. Closing bug #50464. Thanks to Colin Macdonald <cbm@sfu.ca>,
(Portage version: 2.1.2.2)
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/mayavi/ChangeLog12
-rw-r--r--sci-visualization/mayavi/Manifest16
-rw-r--r--sci-visualization/mayavi/files/digest-mayavi-1.53
-rw-r--r--sci-visualization/mayavi/mayavi-1.5.ebuild50
-rw-r--r--sci-visualization/mayavi/metadata.xml11
5 files changed, 92 insertions, 0 deletions
diff --git a/sci-visualization/mayavi/ChangeLog b/sci-visualization/mayavi/ChangeLog
new file mode 100644
index 000000000000..20cdcf03a0bc
--- /dev/null
+++ b/sci-visualization/mayavi/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sci-visualization/mayavi
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.1 2007/04/24 15:55:31 bicatali Exp $
+
+*mayavi-1.5 (24 Apr 2007)
+
+ 24 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +mayavi-1.5.ebuild:
+ Initial import. Closing bug #50464. Thanks to Colin Macdonald <cbm@sfu.ca>,
+ Simon-Nicolas Roth <simon.roth@videotron.ca> and others in the bug mentioned
+ for their work.
+
diff --git a/sci-visualization/mayavi/Manifest b/sci-visualization/mayavi/Manifest
new file mode 100644
index 000000000000..62746963d84f
--- /dev/null
+++ b/sci-visualization/mayavi/Manifest
@@ -0,0 +1,16 @@
+DIST MayaVi-1.5.tar.gz 525440 RMD160 19eb0e969c7782f57ae72847981eb961548f5aad SHA1 b4dc17cccbd9f13edd27947a971a3a250b7f6357 SHA256 3642d98e7e3b9e542401269eab2db6cbe7be4ecdccc450e8413b8372df136c91
+EBUILD mayavi-1.5.ebuild 1141 RMD160 9e4e9e741624aa4ae710313aa491c91e83059c1a SHA1 b84525aae77782ea0fedef28713edaab3b9b0f24 SHA256 6b97839675de0eea31c4a6e6527b4caa8e38ab101c864ca2d16b27f2bd595eaa
+MD5 92a6adf4f0b3cfe2de856e5c28341a8f mayavi-1.5.ebuild 1141
+RMD160 9e4e9e741624aa4ae710313aa491c91e83059c1a mayavi-1.5.ebuild 1141
+SHA256 6b97839675de0eea31c4a6e6527b4caa8e38ab101c864ca2d16b27f2bd595eaa mayavi-1.5.ebuild 1141
+MISC ChangeLog 420 RMD160 e4403fb0dd5bfce3919073052d19181c8d1a8a59 SHA1 e2bff74ae540807c6de9c8af0c024051c56b4e60 SHA256 c12aa84e6f8f63f91a054762f2f27a80374199119c4fd829341ece5fdb4d2b4f
+MD5 2a857222136cb12b6ecd6eb7acba951a ChangeLog 420
+RMD160 e4403fb0dd5bfce3919073052d19181c8d1a8a59 ChangeLog 420
+SHA256 c12aa84e6f8f63f91a054762f2f27a80374199119c4fd829341ece5fdb4d2b4f ChangeLog 420
+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 000000000000..3a81624c2f3a
--- /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 000000000000..49e5a0a30cf1
--- /dev/null
+++ b/sci-visualization/mayavi/mayavi-1.5.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v 1.1 2007/04/24 15:55:31 bicatali Exp $
+
+NEED_PYTHON=2.3
+
+inherit distutils
+
+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"
+RESTRICT="test"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ python_tkinter_exists
+
+ 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
+}
+
+pkg_postinst() {
+ if ! built_with_use sci-libs/vtk patented ; then
+ ewarn "Mayavi may require vtk to be built with the 'patent' USE flag"
+ ewarn "to be fully functional"
+ fi
+}
diff --git a/sci-visualization/mayavi/metadata.xml b/sci-visualization/mayavi/metadata.xml
new file mode 100644
index 000000000000..011c81d389c6
--- /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>