Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/mayavi: ChangeLog mayavi-3.3.0.ebuild mayavi-3.1.0.ebuild
Date: Sun, 06 Sep 2009 16:18:11
Message-Id: E1MkKRN-0000vE-Hr@stork.gentoo.org
1 arfrever 09/09/06 16:18:09
2
3 Modified: ChangeLog
4 Added: mayavi-3.3.0.ebuild
5 Removed: mayavi-3.1.0.ebuild
6 Log:
7 Version bump.
8 (Portage version: 14208-svn/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 sci-visualization/mayavi/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?r1=1.10&r2=1.11
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- ChangeLog 12 Aug 2009 18:17:52 -0000 1.10
24 +++ ChangeLog 6 Sep 2009 16:18:09 -0000 1.11
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-visualization/mayavi
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.10 2009/08/12 18:17:52 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.11 2009/09/06 16:18:09 arfrever Exp $
30 +
31 +*mayavi-3.3.0 (06 Sep 2009)
32 +
33 + 06 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + -mayavi-3.1.0.ebuild, +mayavi-3.3.0.ebuild:
35 + Version bump.
36
37 12 Aug 2009; Sébastien Fabbro <bicatali@g.o> mayavi-3.2.0.ebuild:
38 Removed wxwindows flag, since it is mandatory even with qt
39
40
41
42 1.1 sci-visualization/mayavi/mayavi-3.3.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-3.3.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-3.3.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mayavi-3.3.0.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-3.3.0.ebuild,v 1.1 2009/09/06 16:18:09 arfrever Exp $
52
53 EAPI="2"
54
55 inherit distutils eutils
56
57 MY_PN="Mayavi"
58 MY_P="${MY_PN}-${PV}"
59 DESCRIPTION="VTK based scientific data visualizer"
60 HOMEPAGE="http://code.enthought.com/projects/mayavi"
61 SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
62
63 IUSE="doc examples qt4"
64 SLOT="2"
65 KEYWORDS="~amd64 ~x86"
66 LICENSE="BSD"
67
68 RDEPEND=">=dev-python/apptools-3.3.0
69 >=dev-python/enthoughtbase-3.0.3
70 >=dev-python/envisagecore-3.1.1
71 >=dev-python/envisageplugins-3.1.1
72 >=dev-python/traitsgui-3.1.0
73 dev-python/configobj
74 dev-python/ipython
75 >=dev-python/numpy-1.1
76 >=sci-libs/vtk-5[python]
77 dev-python/wxpython:2.8[opengl]
78 qt4? ( dev-python/PyQt4[X,opengl] )"
79
80 DEPEND="dev-python/setuptools
81 >=dev-python/numpy-1.1
82 >=sci-libs/vtk-5[python]"
83 # doc and test need X display
84 # doc? ( dev-python/setupdocs )
85 # test? ( >=dev-python/nose-0.10.3 )
86 RESTRICT="test"
87
88 S="${WORKDIR}/${MY_P}"
89
90 PYTHON_MODNAME="enthought"
91
92 src_prepare() {
93 # remove docs and mlab which needs a display
94 sed -i \
95 -e "s/self.run_command('build_docs')/pass/" \
96 -e "/self.run_command('gen_docs')/d" \
97 setup.py || die
98 # -e "/self.run_command('mlab_ref')/d" \
99 }
100
101 src_compile() {
102 distutils_src_compile
103 #if use doc; then
104 # ${python} setup.py build_docs --formats=html,pdf \
105 # || die "doc building failed"
106 #fi
107 }
108
109 src_test() {
110 PYTHONPATH="$(ls -d build/lib*)" "${python}" setup.py test || die "tests failed"
111 }
112
113 src_install() {
114 find "${S}" -name \*LICENSE\*.txt -delete
115 distutils_src_install
116 dodoc docs/*.txt
117 insinto /usr/share/doc/${PF}
118 if use doc; then
119 #doins -r build/docs/html build/docs/latex/*/* || die
120 doins docs/pdf/*.pdf docs/pdf/*/*.pdf || die
121 fi
122 if use examples; then
123 doins -r examples || die
124 fi
125 newicon enthought/mayavi/core/ui/images/m2.png mayavi2.png
126 make_desktop_entry mayavi2 "Mayavi2 2D/3D Scientific Visualization" mayavi2
127 }