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: mayavi-3.4.1.ebuild ChangeLog |
Date: | Sun, 30 Jan 2011 23:11:32 |
Message-Id: | 20110130231123.3255E20054@flycatcher.gentoo.org |
1 | arfrever 11/01/30 23:11:23 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mayavi-3.4.1.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha19_p24/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.18 sci-visualization/mayavi/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.18&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.18&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?r1=1.17&r2=1.18 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v |
20 | retrieving revision 1.17 |
21 | retrieving revision 1.18 |
22 | diff -u -r1.17 -r1.18 |
23 | --- ChangeLog 18 Oct 2010 14:49:12 -0000 1.17 |
24 | +++ ChangeLog 30 Jan 2011 23:11:22 -0000 1.18 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sci-visualization/mayavi |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.17 2010/10/18 14:49:12 arfrever Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.18 2011/01/30 23:11:22 arfrever Exp $ |
31 | + |
32 | +*mayavi-3.4.1 (30 Jan 2011) |
33 | + |
34 | + 30 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
35 | + -mayavi-3.4.0.ebuild, +mayavi-3.4.1.ebuild: |
36 | + Version bump. |
37 | |
38 | *mayavi-3.4.0 (18 Oct 2010) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 sci-visualization/mayavi/mayavi-3.4.1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: mayavi-3.4.1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-3.4.1.ebuild,v 1.1 2011/01/30 23:11:22 arfrever Exp $ |
53 | |
54 | EAPI="3" |
55 | PYTHON_DEPEND="2" |
56 | VIRTUALX_REQUIRED="manual" |
57 | |
58 | inherit distutils eutils virtualx |
59 | |
60 | MY_PN="Mayavi" |
61 | MY_P="${MY_PN}-${PV}" |
62 | |
63 | DESCRIPTION="The Mayavi scientific data 3-dimensional visualizer" |
64 | HOMEPAGE="http://code.enthought.com/projects/mayavi/ http://pypi.python.org/pypi/Mayavi" |
65 | SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" |
66 | |
67 | LICENSE="BSD" |
68 | SLOT="2" |
69 | KEYWORDS="~amd64 ~x86" |
70 | IUSE="doc examples qt4" |
71 | |
72 | RDEPEND=">=dev-python/apptools-3.4.1 |
73 | dev-python/configobj |
74 | >=dev-python/enthoughtbase-3.1.0 |
75 | >=dev-python/envisagecore-3.2.0 |
76 | >=dev-python/envisageplugins-3.2.0 |
77 | dev-python/ipython |
78 | dev-python/numpy |
79 | >=dev-python/traitsgui-3.6.0[qt4?,wxwidgets] |
80 | dev-python/wxpython:2.8[opengl] |
81 | >=sci-libs/vtk-5[python] |
82 | qt4? ( dev-python/PyQt4[X,opengl] )" |
83 | DEPEND="${RDEPEND} |
84 | dev-python/setuptools |
85 | doc? ( |
86 | dev-python/sphinx |
87 | media-fonts/font-cursor-misc |
88 | media-fonts/font-misc-misc |
89 | x11-apps/xhost |
90 | )" |
91 | |
92 | S="${WORKDIR}"/${MY_P} |
93 | |
94 | DOCS="docs/*.txt" |
95 | PYTHON_MODNAME="enthought" |
96 | |
97 | pkg_setup() { |
98 | python_set_active_version 2 |
99 | python_pkg_setup |
100 | } |
101 | |
102 | src_prepare() { |
103 | distutils_src_prepare |
104 | |
105 | sed -e "s/self.run_command('build_docs')/pass/" -i setup.py || die "sed setup.py failed" |
106 | } |
107 | |
108 | src_compile() { |
109 | distutils_src_compile |
110 | |
111 | if use doc; then |
112 | einfo "Generation of documentation" |
113 | pushd docs > /dev/null |
114 | doc_generation() { |
115 | emake html || die "Generation of documentation failed" |
116 | } |
117 | maketype="doc_generation" virtualmake |
118 | popd > /dev/null |
119 | fi |
120 | } |
121 | |
122 | src_install() { |
123 | find -name "*LICENSE*.txt" -delete |
124 | distutils_src_install |
125 | |
126 | if use doc; then |
127 | pushd docs/build/mayavi/html > /dev/null |
128 | insinto /usr/share/doc/${PF}/html/mayavi |
129 | doins -r [a-z]* _downloads _images _static || die "Installation of documentation failed" |
130 | popd > /dev/null |
131 | |
132 | pushd docs/build/tvtk/html > /dev/null |
133 | insinto /usr/share/doc/${PF}/html/tvtk |
134 | doins -r [a-z]* _static || die "Installation of documentation failed" |
135 | popd > /dev/null |
136 | fi |
137 | |
138 | if use examples; then |
139 | insinto /usr/share/doc/${PF}/examples |
140 | doins -r examples/* || die "Installation of examples failed" |
141 | fi |
142 | |
143 | newicon enthought/mayavi/core/ui/images/m2.png mayavi2.png |
144 | make_desktop_entry mayavi2 "Mayavi2 2D/3D Scientific Visualization" mayavi2 |
145 | } |