public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-visualization/mayavi: mayavi-3.1.0.ebuild ChangeLog mayavi-1.5.ebuild
@ 2009-01-15 10:31 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2009-01-15 10:31 UTC (permalink / raw
  To: gentoo-commits

bicatali    09/01/15 10:31:48

  Modified:             ChangeLog mayavi-1.5.ebuild
  Added:                mayavi-3.1.0.ebuild
  Log:
  New Enthought version for Mayavi2
  (Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64)

Revision  Changes    Path
1.4                  sci-visualization/mayavi/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog	27 Oct 2008 12:08:49 -0000	1.3
+++ ChangeLog	15 Jan 2009 10:31:48 -0000	1.4
@@ -1,6 +1,12 @@
 # ChangeLog for sci-visualization/mayavi
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.3 2008/10/27 12:08:49 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.4 2009/01/15 10:31:48 bicatali Exp $
+
+*mayavi-3.1.0 (15 Jan 2009)
+
+  15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> mayavi-1.5.ebuild,
+  +mayavi-3.1.0.ebuild:
+  New Enthought version for Mayavi2
 
   27 Oct 2008; Sébastien Fabbro <bicatali@gentoo.org> mayavi-1.5.ebuild:
   Switch to EAPI=2 with use dependencies



1.4                  sci-visualization/mayavi/mayavi-1.5.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?r1=1.3&r2=1.4

Index: mayavi-1.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mayavi-1.5.ebuild	27 Oct 2008 12:08:49 -0000	1.3
+++ mayavi-1.5.ebuild	15 Jan 2009 10:31:48 -0000	1.4
@@ -1,10 +1,10 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 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.3 2008/10/27 12:08:49 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v 1.4 2009/01/15 10:31:48 bicatali Exp $
 
 NEED_PYTHON=2.3
 EAPI=2
-inherit distutils
+inherit eutils distutils
 
 MY_P=MayaVi-${PV}
 DESCRIPTION="VTK based scientific data visualizer"
@@ -30,6 +30,7 @@
 		insinto /usr/share/doc/${PF}
 		doins -r examples || die
 	fi
+	make_desktop_entry mayavi "Mayavi2 2D/3D Scientific Visualization"
 }
 
 pkg_postinst() {



1.1                  sci-visualization/mayavi/mayavi-3.1.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-3.1.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-3.1.0.ebuild?rev=1.1&content-type=text/plain

Index: mayavi-3.1.0.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-3.1.0.ebuild,v 1.1 2009/01/15 10:31:48 bicatali Exp $

EAPI=2
inherit eutils distutils

MY_PN="Mayavi"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="VTK based scientific data visualizer"
HOMEPAGE="http://code.enthought.com/projects/mayavi"
SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"

IUSE="doc examples"
SLOT="2"
KEYWORDS="~amd64 ~x86"
LICENSE="BSD"

RDEPEND="dev-python/apptools
	dev-python/enthoughtbase
	dev-python/envisagecore
	dev-python/envisageplugins
	dev-python/traitsgui
	dev-python/configobj
	dev-python/ipython
	dev-python/wxpython:2.8
	>=dev-python/numpy-1.1
	>=sci-libs/vtk-5[python]"

DEPEND="dev-python/setuptools
	>=dev-python/numpy-1.1
	>=sci-libs/vtk-5[python]"
# doc needs X display
#	doc? ( dev-python/setupdocs )"

S="${WORKDIR}/${MY_P}"

PYTHON_MODNAME="enthought"

src_prepare() {
	# remove docs and mlab which needs a display
	sed -i \
		-e "/self.run_command('build_docs')/d" \
		-e "/self.run_command('mlab_ref')/d" \
		setup.py || die
}

src_compile() {
	distutils_src_compile
	#if use doc; then
	#	${python} setup.py build_docs --formats=html,pdf \
	#		|| die "doc building failed"
	#fi
}

src_install() {
	find "${S}" -name \*LICENSE\*.txt -delete
	distutils_src_install
	dodoc docs/*.txt
	insinto /usr/share/doc/${PF}
	if use doc; then
		#doins -r build/docs/html build/docs/latex/*/* || die
		doins docs/pdf/*.pdf docs/pdf/*/*.pdf || die
	fi
	if use examples; then
		doins -r examples || die
	fi
	newicon enthought/mayavi/core/ui/images/m2.png mayavi2.png
	make_desktop_entry mayavi2 "Mayavi2 2D/3D Scientific Visualization" mayavi2
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-15 10:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 10:31 [gentoo-commits] gentoo-x86 commit in sci-visualization/mayavi: mayavi-3.1.0.ebuild ChangeLog mayavi-1.5.ebuild Sebastien Fabbro (bicatali)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox