From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/enable: ChangeLog enable-3.1.0.ebuild |
Date: | Fri, 27 Mar 2009 10:51:44 |
Message-Id: | E1Ln9f4-00010P-Nn@stork.gentoo.org |
1 | bicatali 09/03/27 10:51:42 |
2 | |
3 | Modified: ChangeLog |
4 | Added: enable-3.1.0.ebuild |
5 | Log: |
6 | Version bump |
7 | (Portage version: 2.2_rc26/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.2 dev-python/enable/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ChangeLog 15 Jan 2009 10:24:27 -0000 1.1 |
23 | +++ ChangeLog 27 Mar 2009 10:51:42 -0000 1.2 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-python/enable |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.1 2009/01/15 10:24:27 bicatali Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.2 2009/03/27 10:51:42 bicatali Exp $ |
29 | + |
30 | +*enable-3.1.0 (27 Mar 2009) |
31 | + |
32 | + 27 Mar 2009; Sébastien Fabbro <bicatali@g.o> +enable-3.1.0.ebuild: |
33 | + Version bump |
34 | |
35 | *enable-3.0.2 (15 Jan 2009) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 dev-python/enable/enable-3.1.0.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/enable-3.1.0.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/enable-3.1.0.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: enable-3.1.0.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2009 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-python/enable/enable-3.1.0.ebuild,v 1.1 2009/03/27 10:51:42 bicatali Exp $ |
50 | |
51 | EAPI=2 |
52 | inherit eutils distutils |
53 | |
54 | MY_PN="Enable" |
55 | MY_P="${MY_PN}-${PV}" |
56 | DESCRIPTION="Enthought Tool Suite drawing and interaction GUI objects" |
57 | HOMEPAGE="http://code.enthought.com/projects/enable" |
58 | SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" |
59 | |
60 | IUSE="examples test" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | LICENSE="BSD" |
64 | |
65 | RDEPEND=">=dev-python/numpy-1.1 |
66 | dev-python/reportlab |
67 | >=dev-python/traitsgui-3.0.4 |
68 | >=media-libs/freetype-2 |
69 | virtual/glu |
70 | x11-libs/libX11" |
71 | |
72 | DEPEND="dev-python/setuptools |
73 | >=dev-python/numpy-1.1 |
74 | >=media-libs/freetype-2 |
75 | virtual/glu |
76 | x11-libs/libX11 |
77 | dev-lang/swig |
78 | dev-python/pyrex" |
79 | # tests need X with wxpython |
80 | # test? ( >=dev-python/nose-0.10.3 |
81 | # >=dev-python/enthoughtbase-3.0.2 |
82 | # >=dev-python/traitsgui[wxwindows]-3.0.4 )" |
83 | |
84 | RESTRICT=test |
85 | |
86 | S="${WORKDIR}/${MY_P}" |
87 | PYTHON_MODNAME="enthought" |
88 | |
89 | src_prepare() { |
90 | epatch "${FILESDIR}"/${PN}-3.0.2-nofreetype.patch |
91 | sed -i -e "/self.run_command('build_docs')/d" setup.py || die |
92 | } |
93 | |
94 | src_test() { |
95 | PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" |
96 | } |
97 | |
98 | src_install() { |
99 | find "${S}" -name \*LICENSE.txt -delete |
100 | distutils_src_install |
101 | insinto /usr/share/doc/${PF} |
102 | if use examples; then |
103 | doins -r examples || die |
104 | fi |
105 | } |