1 |
bicatali 09/01/15 10:31:48 |
2 |
|
3 |
Modified: ChangeLog mayavi-1.5.ebuild |
4 |
Added: mayavi-3.1.0.ebuild |
5 |
Log: |
6 |
New Enthought version for Mayavi2 |
7 |
(Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 sci-visualization/mayavi/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/ChangeLog?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- ChangeLog 27 Oct 2008 12:08:49 -0000 1.3 |
23 |
+++ ChangeLog 15 Jan 2009 10:31:48 -0000 1.4 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sci-visualization/mayavi |
26 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.3 2008/10/27 12:08:49 bicatali Exp $ |
28 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/ChangeLog,v 1.4 2009/01/15 10:31:48 bicatali Exp $ |
30 |
+ |
31 |
+*mayavi-3.1.0 (15 Jan 2009) |
32 |
+ |
33 |
+ 15 Jan 2009; Sébastien Fabbro <bicatali@g.o> mayavi-1.5.ebuild, |
34 |
+ +mayavi-3.1.0.ebuild: |
35 |
+ New Enthought version for Mayavi2 |
36 |
|
37 |
27 Oct 2008; Sébastien Fabbro <bicatali@g.o> mayavi-1.5.ebuild: |
38 |
Switch to EAPI=2 with use dependencies |
39 |
|
40 |
|
41 |
|
42 |
1.4 sci-visualization/mayavi/mayavi-1.5.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?rev=1.4&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?rev=1.4&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild?r1=1.3&r2=1.4 |
47 |
|
48 |
Index: mayavi-1.5.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v |
51 |
retrieving revision 1.3 |
52 |
retrieving revision 1.4 |
53 |
diff -u -r1.3 -r1.4 |
54 |
--- mayavi-1.5.ebuild 27 Oct 2008 12:08:49 -0000 1.3 |
55 |
+++ mayavi-1.5.ebuild 15 Jan 2009 10:31:48 -0000 1.4 |
56 |
@@ -1,10 +1,10 @@ |
57 |
-# Copyright 1999-2008 Gentoo Foundation |
58 |
+# Copyright 1999-2009 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v 1.3 2008/10/27 12:08:49 bicatali Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-1.5.ebuild,v 1.4 2009/01/15 10:31:48 bicatali Exp $ |
62 |
|
63 |
NEED_PYTHON=2.3 |
64 |
EAPI=2 |
65 |
-inherit distutils |
66 |
+inherit eutils distutils |
67 |
|
68 |
MY_P=MayaVi-${PV} |
69 |
DESCRIPTION="VTK based scientific data visualizer" |
70 |
@@ -30,6 +30,7 @@ |
71 |
insinto /usr/share/doc/${PF} |
72 |
doins -r examples || die |
73 |
fi |
74 |
+ make_desktop_entry mayavi "Mayavi2 2D/3D Scientific Visualization" |
75 |
} |
76 |
|
77 |
pkg_postinst() { |
78 |
|
79 |
|
80 |
|
81 |
1.1 sci-visualization/mayavi/mayavi-3.1.0.ebuild |
82 |
|
83 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-3.1.0.ebuild?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/mayavi/mayavi-3.1.0.ebuild?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: mayavi-3.1.0.ebuild |
87 |
=================================================================== |
88 |
# Copyright 1999-2009 Gentoo Foundation |
89 |
# Distributed under the terms of the GNU General Public License v2 |
90 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/mayavi/mayavi-3.1.0.ebuild,v 1.1 2009/01/15 10:31:48 bicatali Exp $ |
91 |
|
92 |
EAPI=2 |
93 |
inherit eutils distutils |
94 |
|
95 |
MY_PN="Mayavi" |
96 |
MY_P="${MY_PN}-${PV}" |
97 |
DESCRIPTION="VTK based scientific data visualizer" |
98 |
HOMEPAGE="http://code.enthought.com/projects/mayavi" |
99 |
SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
100 |
|
101 |
IUSE="doc examples" |
102 |
SLOT="2" |
103 |
KEYWORDS="~amd64 ~x86" |
104 |
LICENSE="BSD" |
105 |
|
106 |
RDEPEND="dev-python/apptools |
107 |
dev-python/enthoughtbase |
108 |
dev-python/envisagecore |
109 |
dev-python/envisageplugins |
110 |
dev-python/traitsgui |
111 |
dev-python/configobj |
112 |
dev-python/ipython |
113 |
dev-python/wxpython:2.8 |
114 |
>=dev-python/numpy-1.1 |
115 |
>=sci-libs/vtk-5[python]" |
116 |
|
117 |
DEPEND="dev-python/setuptools |
118 |
>=dev-python/numpy-1.1 |
119 |
>=sci-libs/vtk-5[python]" |
120 |
# doc needs X display |
121 |
# doc? ( dev-python/setupdocs )" |
122 |
|
123 |
S="${WORKDIR}/${MY_P}" |
124 |
|
125 |
PYTHON_MODNAME="enthought" |
126 |
|
127 |
src_prepare() { |
128 |
# remove docs and mlab which needs a display |
129 |
sed -i \ |
130 |
-e "/self.run_command('build_docs')/d" \ |
131 |
-e "/self.run_command('mlab_ref')/d" \ |
132 |
setup.py || die |
133 |
} |
134 |
|
135 |
src_compile() { |
136 |
distutils_src_compile |
137 |
#if use doc; then |
138 |
# ${python} setup.py build_docs --formats=html,pdf \ |
139 |
# || die "doc building failed" |
140 |
#fi |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
find "${S}" -name \*LICENSE\*.txt -delete |
145 |
distutils_src_install |
146 |
dodoc docs/*.txt |
147 |
insinto /usr/share/doc/${PF} |
148 |
if use doc; then |
149 |
#doins -r build/docs/html build/docs/latex/*/* || die |
150 |
doins docs/pdf/*.pdf docs/pdf/*/*.pdf || die |
151 |
fi |
152 |
if use examples; then |
153 |
doins -r examples || die |
154 |
fi |
155 |
newicon enthought/mayavi/core/ui/images/m2.png mayavi2.png |
156 |
make_desktop_entry mayavi2 "Mayavi2 2D/3D Scientific Visualization" mayavi2 |
157 |
} |