From 64ac9bc07aa44f00d31ca910abbfed9f194fc1b4 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Tue, 24 Apr 2007 15:55:31 +0000 Subject: [PATCH] Initial import. Closing bug #50464. Thanks to Colin Macdonald , Package-Manager: portage-2.1.2.2 --- sci-visualization/mayavi/ChangeLog | 12 +++++ sci-visualization/mayavi/Manifest | 26 ++++++++++ .../mayavi/files/digest-mayavi-1.5 | 3 ++ sci-visualization/mayavi/mayavi-1.5.ebuild | 50 +++++++++++++++++++ sci-visualization/mayavi/metadata.xml | 11 ++++ 5 files changed, 102 insertions(+) create mode 100644 sci-visualization/mayavi/ChangeLog create mode 100644 sci-visualization/mayavi/Manifest create mode 100644 sci-visualization/mayavi/files/digest-mayavi-1.5 create mode 100644 sci-visualization/mayavi/mayavi-1.5.ebuild create mode 100644 sci-visualization/mayavi/metadata.xml 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 +metadata.xml, + +mayavi-1.5.ebuild: + Initial import. Closing bug #50464. Thanks to Colin Macdonald , + Simon-Nicolas Roth 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..5d4112a82577 --- /dev/null +++ b/sci-visualization/mayavi/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST MayaVi-1.5.tar.gz 525440 RMD160 19eb0e969c7782f57ae72847981eb961548f5aad SHA1 b4dc17cccbd9f13edd27947a971a3a250b7f6357 SHA256 3642d98e7e3b9e542401269eab2db6cbe7be4ecdccc450e8413b8372df136c91 +EBUILD mayavi-1.5.ebuild 1247 RMD160 ff2fbb0ec131a0b69faf84612a8068ff6e7f6a04 SHA1 2c317d7b042f7e41635e0c0f24f19bfb0c734abd SHA256 cefd39e5bfca35daf2dd00126c65045f02275a9b8cc43ce9d81a1a258fadd2ad +MD5 7fd36897ea13aaf520e6d6859c2a9e48 mayavi-1.5.ebuild 1247 +RMD160 ff2fbb0ec131a0b69faf84612a8068ff6e7f6a04 mayavi-1.5.ebuild 1247 +SHA256 cefd39e5bfca35daf2dd00126c65045f02275a9b8cc43ce9d81a1a258fadd2ad mayavi-1.5.ebuild 1247 +MISC ChangeLog 518 RMD160 49f5e86a4ed72c5a606654096df6322c6ed08245 SHA1 727f980109416fe8c667597bf90ad4529019819a SHA256 a8811c3be3855c788baba34d3c22917c081963b72d4d5fd16d86b12fcb770c94 +MD5 901f40db16916c3a69f72743ba9b0893 ChangeLog 518 +RMD160 49f5e86a4ed72c5a606654096df6322c6ed08245 ChangeLog 518 +SHA256 a8811c3be3855c788baba34d3c22917c081963b72d4d5fd16d86b12fcb770c94 ChangeLog 518 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFGLih81ycZbhPLE2ARArKyAJ9q6/YjBzlm01A2MPPSR28mRNFofACgrBcD +9b7p829hLlJBr/uKvrNtCJ0= +=WGgU +-----END PGP SIGNATURE----- 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 @@ + + + +sci + +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. + + -- 2.26.2