diff options
author | 2008-10-27 12:08:49 +0000 | |
---|---|---|
committer | 2008-10-27 12:08:49 +0000 | |
commit | 44004517b29d97920055ddd4aa85ea2b6871d88a (patch) | |
tree | 48b8601578aef353b6b104f4b105496da2d939d6 /sci-visualization/mayavi | |
parent | Switch to EAPI=2 with use dependencies (diff) | |
download | gentoo-2-44004517b29d97920055ddd4aa85ea2b6871d88a.tar.gz gentoo-2-44004517b29d97920055ddd4aa85ea2b6871d88a.tar.bz2 gentoo-2-44004517b29d97920055ddd4aa85ea2b6871d88a.zip |
Switch to EAPI=2 with use dependencies
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'sci-visualization/mayavi')
-rw-r--r-- | sci-visualization/mayavi/ChangeLog | 7 | ||||
-rw-r--r-- | sci-visualization/mayavi/mayavi-1.5.ebuild | 26 |
2 files changed, 13 insertions, 20 deletions
diff --git a/sci-visualization/mayavi/ChangeLog b/sci-visualization/mayavi/ChangeLog index 66f9f28e1121..24fac07a86a3 100644 --- a/sci-visualization/mayavi/ChangeLog +++ b/sci-visualization/mayavi/ChangeLog @@ -1,6 +1,9 @@ # 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.2 2007/04/27 14:00:05 bicatali Exp $ +# 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 $ + + 27 Oct 2008; Sébastien Fabbro <bicatali@gentoo.org> mayavi-1.5.ebuild: + Switch to EAPI=2 with use dependencies 27 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> mayavi-1.5.ebuild: slotting 2->1 diff --git a/sci-visualization/mayavi/mayavi-1.5.ebuild b/sci-visualization/mayavi/mayavi-1.5.ebuild index a6813c9a4bda..a295f0563160 100644 --- a/sci-visualization/mayavi/mayavi-1.5.ebuild +++ b/sci-visualization/mayavi/mayavi-1.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 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.2 2007/04/27 14:00:05 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v 1.3 2008/10/27 12:08:49 bicatali Exp $ NEED_PYTHON=2.3 - +EAPI=2 inherit distutils MY_P=MayaVi-${PV} @@ -16,29 +16,19 @@ SLOT="1" KEYWORDS="~amd64 ~x86" IUSE="doc examples" -DEPEND=">=sci-libs/vtk-5" +DEPEND="dev-lang/python[tk] + >=sci-libs/vtk-5[tk,python]" 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 -} +S="${WORKDIR}/${MY_P}" 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/* + insinto /usr/share/doc/${PF} + doins -r examples || die fi } |