Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/mayavi: mayavi-1.5.ebuild ChangeLog
Date: Mon, 27 Oct 2008 12:08:55
Message-Id: E1KuQtt-0004k1-Lt@stork.gentoo.org
1 bicatali 08/10/27 12:08:49
2
3 Modified: mayavi-1.5.ebuild ChangeLog
4 Log:
5 Switch to EAPI=2 with use dependencies
6 (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
7
8 Revision Changes Path
9 1.3 sci-visualization/mayavi/mayavi-1.5.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?r1=1.2&r2=1.3
14
15 Index: mayavi-1.5.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- mayavi-1.5.ebuild 27 Apr 2007 14:00:05 -0000 1.2
22 +++ mayavi-1.5.ebuild 27 Oct 2008 12:08:49 -0000 1.3
23 @@ -1,9 +1,9 @@
24 -# Copyright 1999-2007 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v 1.2 2007/04/27 14:00:05 bicatali Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v 1.3 2008/10/27 12:08:49 bicatali Exp $
29
30 NEED_PYTHON=2.3
31 -
32 +EAPI=2
33 inherit distutils
34
35 MY_P=MayaVi-${PV}
36 @@ -16,29 +16,19 @@
37 KEYWORDS="~amd64 ~x86"
38
39 IUSE="doc examples"
40 -DEPEND=">=sci-libs/vtk-5"
41 +DEPEND="dev-lang/python[tk]
42 + >=sci-libs/vtk-5[tk,python]"
43 RESTRICT="test"
44
45 -S=${WORKDIR}/${MY_P}
46 -
47 -pkg_setup() {
48 - python_tkinter_exists
49 -
50 - if ! built_with_use sci-libs/vtk tk python; then
51 - eerror "vtk is missing tk or python support."
52 - eerror "Please ensure you have the 'tk' and 'python' USE flags"
53 - eerror "enabled for vtk and then re-emerge vtk."
54 - die "vtk needs tk and python USE flags"
55 - fi
56 -}
57 +S="${WORKDIR}/${MY_P}"
58
59 src_install() {
60 distutils_src_install
61 dodoc doc/{README,CREDITS,NEWS,TODO}.txt
62 use doc && dohtml -r doc/guide/*
63 if use examples; then
64 - insinto /usr/share/doc/${PF}/examples
65 - doins -r examples/*
66 + insinto /usr/share/doc/${PF}
67 + doins -r examples || die
68 fi
69 }
70
71
72
73
74 1.3 sci-visualization/mayavi/ChangeLog
75
76 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.3&view=markup
77 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.3&content-type=text/plain
78 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?r1=1.2&r2=1.3
79
80 Index: ChangeLog
81 ===================================================================
82 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v
83 retrieving revision 1.2
84 retrieving revision 1.3
85 diff -u -r1.2 -r1.3
86 --- ChangeLog 27 Apr 2007 14:00:05 -0000 1.2
87 +++ ChangeLog 27 Oct 2008 12:08:49 -0000 1.3
88 @@ -1,6 +1,9 @@
89 # ChangeLog for sci-visualization/mayavi
90 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
91 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.2 2007/04/27 14:00:05 bicatali Exp $
92 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
93 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.3 2008/10/27 12:08:49 bicatali Exp $
94 +
95 + 27 Oct 2008; Sébastien Fabbro <bicatali@g.o> mayavi-1.5.ebuild:
96 + Switch to EAPI=2 with use dependencies
97
98 27 Apr 2007; Sébastien Fabbro <bicatali@g.o> mayavi-1.5.ebuild:
99 slotting 2->1