1 |
jlec 12/03/05 10:26:35 |
2 |
|
3 |
Modified: ChangeLog mayavi-4.1.0.ebuild |
4 |
Added: mayavi-4.1.0-r1.ebuild |
5 |
Removed: mayavi-3.4.1.ebuild mayavi-4.0.0.ebuild |
6 |
Log: |
7 |
Drop old, #322191; restrict multiabi installation, #405541; include backport patch from upstream, fixes compilation with newer vtk, #399537 |
8 |
|
9 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.26 sci-visualization/mayavi/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.26&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.26&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/ChangeLog?r1=1.25&r2=1.26 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v |
21 |
retrieving revision 1.25 |
22 |
retrieving revision 1.26 |
23 |
diff -u -r1.25 -r1.26 |
24 |
--- ChangeLog 15 Feb 2012 19:13:02 -0000 1.25 |
25 |
+++ ChangeLog 5 Mar 2012 10:26:35 -0000 1.26 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for sci-visualization/mayavi |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.25 2012/02/15 19:13:02 jlec Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.26 2012/03/05 10:26:35 jlec Exp $ |
31 |
+ |
32 |
+*mayavi-4.1.0-r1 (05 Mar 2012) |
33 |
+ |
34 |
+ 05 Mar 2012; Justin Lecher <jlec@g.o> -mayavi-3.4.1.ebuild, |
35 |
+ -mayavi-4.0.0.ebuild, mayavi-4.1.0.ebuild, +mayavi-4.1.0-r1.ebuild, |
36 |
+ +files/mayavi-4.1.0-vtkQt.patch: |
37 |
+ Drop old, #322191; restrict multiabi installation, #405541; include backport |
38 |
+ patch from upstream, fixes compilation with newer vtk, #399537 |
39 |
|
40 |
15 Feb 2012; Justin Lecher <jlec@g.o> mayavi-3.4.1.ebuild, |
41 |
metadata.xml: |
42 |
|
43 |
|
44 |
|
45 |
1.2 sci-visualization/mayavi/mayavi-4.1.0.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0.ebuild?rev=1.2&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0.ebuild?rev=1.2&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0.ebuild?r1=1.1&r2=1.2 |
50 |
|
51 |
Index: mayavi-4.1.0.ebuild |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0.ebuild,v |
54 |
retrieving revision 1.1 |
55 |
retrieving revision 1.2 |
56 |
diff -u -r1.1 -r1.2 |
57 |
--- mayavi-4.1.0.ebuild 17 Jan 2012 06:26:54 -0000 1.1 |
58 |
+++ mayavi-4.1.0.ebuild 5 Mar 2012 10:26:35 -0000 1.2 |
59 |
@@ -1,10 +1,9 @@ |
60 |
# Copyright 1999-2012 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0.ebuild,v 1.1 2012/01/17 06:26:54 bicatali Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0.ebuild,v 1.2 2012/03/05 10:26:35 jlec Exp $ |
64 |
|
65 |
EAPI=4 |
66 |
|
67 |
-SUPPORT_PYTHON_ABIS="1" |
68 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
69 |
DISTUTILS_SRC_TEST="nosetests" |
70 |
|
71 |
@@ -19,17 +18,18 @@ |
72 |
KEYWORDS="~amd64 ~x86" |
73 |
IUSE="doc examples test" |
74 |
|
75 |
-RDEPEND="dev-python/configobj |
76 |
+RDEPEND=" |
77 |
+ dev-python/configobj |
78 |
dev-python/ipython |
79 |
- >=dev-python/pyface-4 |
80 |
- >=dev-python/traitsui-4 |
81 |
- >=dev-python/envisage-4 |
82 |
- >=dev-python/apptools-4 |
83 |
- >=dev-python/traitsui-4 |
84 |
+ dev-python/pyface |
85 |
+ dev-python/traitsui |
86 |
+ dev-python/envisage |
87 |
+ dev-python/apptools |
88 |
dev-python/numpy |
89 |
- >=sci-libs/vtk-5[python]" |
90 |
+ sci-libs/vtk[python]" |
91 |
|
92 |
-DEPEND="dev-python/setuptools |
93 |
+DEPEND=" |
94 |
+ dev-python/setuptools |
95 |
test? ( |
96 |
${RDEPEND} |
97 |
dev-python/wxpython[opengl] |
98 |
@@ -39,6 +39,11 @@ |
99 |
|
100 |
DOCS="docs/*.txt" |
101 |
|
102 |
+pkg_setup() { |
103 |
+ python_set_active_version 2 |
104 |
+ python_pkg_setup |
105 |
+} |
106 |
+ |
107 |
src_compile() { |
108 |
distutils_src_compile |
109 |
use doc && virtualmake -C docs html |
110 |
|
111 |
|
112 |
|
113 |
1.1 sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild |
114 |
|
115 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild?rev=1.1&view=markup |
116 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild?rev=1.1&content-type=text/plain |
117 |
|
118 |
Index: mayavi-4.1.0-r1.ebuild |
119 |
=================================================================== |
120 |
# Copyright 1999-2012 Gentoo Foundation |
121 |
# Distributed under the terms of the GNU General Public License v2 |
122 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-4.1.0-r1.ebuild,v 1.1 2012/03/05 10:26:35 jlec Exp $ |
123 |
|
124 |
EAPI=4 |
125 |
|
126 |
RESTRICT_PYTHON_ABIS="3.* *-jython" |
127 |
DISTUTILS_SRC_TEST="nosetests" |
128 |
|
129 |
inherit distutils eutils virtualx |
130 |
|
131 |
DESCRIPTION="Enthought Tool Suite: Scientific data 3-dimensional visualizer" |
132 |
HOMEPAGE="http://code.enthought.com/projects/mayavi/ http://pypi.python.org/pypi/mayavi/" |
133 |
SRC_URI="http://www.enthought.com/repo/ets/${P}.tar.gz" |
134 |
|
135 |
LICENSE="BSD" |
136 |
SLOT="2" |
137 |
KEYWORDS="~amd64 ~x86" |
138 |
IUSE="doc examples test" |
139 |
|
140 |
RDEPEND=" |
141 |
dev-python/configobj |
142 |
dev-python/ipython |
143 |
dev-python/pyface |
144 |
dev-python/traitsui |
145 |
dev-python/envisage |
146 |
dev-python/apptools |
147 |
dev-python/numpy |
148 |
sci-libs/vtk[python]" |
149 |
|
150 |
DEPEND=" |
151 |
dev-python/setuptools |
152 |
test? ( |
153 |
${RDEPEND} |
154 |
dev-python/wxpython[opengl] |
155 |
media-fonts/font-cursor-misc |
156 |
media-fonts/font-misc-misc |
157 |
)" |
158 |
|
159 |
DOCS="docs/*.txt" |
160 |
|
161 |
pkg_setup() { |
162 |
python_set_active_version 2 |
163 |
python_pkg_setup |
164 |
} |
165 |
|
166 |
src_prepare() { |
167 |
# upstream backport |
168 |
epatch "${FILESDIR}"/${P}-vtkQt.patch |
169 |
distutils_src_prepare |
170 |
} |
171 |
|
172 |
src_compile() { |
173 |
distutils_src_compile |
174 |
use doc && virtualmake -C docs html |
175 |
} |
176 |
|
177 |
src_test() { |
178 |
VIRTUALX_COMMAND="distutils_src_test" virtualmake |
179 |
} |
180 |
|
181 |
src_install() { |
182 |
find -name "*LICENSE*.txt" -delete |
183 |
distutils_src_install |
184 |
|
185 |
use doc && dohtml -r docs/build/mayavi/html/* |
186 |
|
187 |
if use examples; then |
188 |
insinto /usr/share/doc/${PF} |
189 |
doins -r examples |
190 |
fi |
191 |
|
192 |
newicon mayavi/core/ui/images/m2.png mayavi2.png |
193 |
make_desktop_entry mayavi2 "Mayavi2 2D/3D Scientific Visualization" mayavi2 |
194 |
} |