From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/chaco: ChangeLog chaco-3.1.0.ebuild |
Date: | Fri, 27 Mar 2009 10:44:43 |
Message-Id: | E1Ln9YH-0000cL-If@stork.gentoo.org |
1 | bicatali 09/03/27 10:44:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: chaco-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/chaco/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/chaco/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:26:01 -0000 1.1 |
23 | +++ ChangeLog 27 Mar 2009 10:44:41 -0000 1.2 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-python/chaco |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.1 2009/01/15 10:26:01 bicatali Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.2 2009/03/27 10:44:41 bicatali Exp $ |
29 | + |
30 | +*chaco-3.1.0 (27 Mar 2009) |
31 | + |
32 | + 27 Mar 2009; Sébastien Fabbro <bicatali@g.o> +chaco-3.1.0.ebuild: |
33 | + Version bump |
34 | |
35 | *chaco-3.0.1 (15 Jan 2009) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 dev-python/chaco/chaco-3.1.0.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/chaco-3.1.0.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/chaco-3.1.0.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: chaco-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/chaco/chaco-3.1.0.ebuild,v 1.1 2009/03/27 10:44:41 bicatali Exp $ |
50 | |
51 | EAPI=2 |
52 | inherit distutils |
53 | |
54 | MY_PN="Chaco" |
55 | MY_P="${MY_PN}-${PV}" |
56 | DESCRIPTION="Interactive plotting toolkit" |
57 | HOMEPAGE="http://code.enthought.com/projects/chaco" |
58 | SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" |
59 | |
60 | IUSE="doc examples test" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~x86" |
63 | LICENSE="BSD" |
64 | |
65 | RDEPEND=">=dev-python/enable-3.1.0" |
66 | DEPEND="dev-python/setuptools |
67 | >=dev-python/numpy-1.1 |
68 | doc? ( app-arch/unzip )" |
69 | # docs building and tests need an X display |
70 | # doc? ( dev-python/setupdocs ) |
71 | # test? ( >=dev-python/nose-0.10.3 |
72 | # dev-python/coverage |
73 | # >=dev-python/enable-3.1.0 |
74 | # >=dev-python/enthoughtbase-3.0.2 )" |
75 | |
76 | RESTRICT=test |
77 | S="${WORKDIR}/${MY_P}" |
78 | |
79 | PYTHON_MODNAME="enthought" |
80 | |
81 | src_prepare() { |
82 | sed -i -e "/self.run_command('build_docs')/d" setup.py || die |
83 | } |
84 | |
85 | src_compile() { |
86 | find "${S}" -name \*LICENSE.txt -delete |
87 | distutils_src_compile |
88 | #if use doc; then |
89 | # ${python} setup.py build_docs --formats=html,pdf \ |
90 | # || die "doc building failed" |
91 | #fi |
92 | } |
93 | |
94 | src_test() { |
95 | "${python}" setup.py test || die "tests failed" |
96 | } |
97 | |
98 | src_install() { |
99 | find "${S}" -name \*LICENSE.txt -delete |
100 | distutils_src_install |
101 | dodoc docs/*.txt |
102 | insinto /usr/share/doc/${PF} |
103 | if use doc; then |
104 | #doins -r build/docs/html build/docs/latex/*.pdf || die |
105 | doins docs/*.pdf || die |
106 | unzip docs/html.zip |
107 | insinto /usr/share/doc/${PF} |
108 | doins -r html || die |
109 | fi |
110 | if use examples; then |
111 | doins -r examples || die |
112 | fi |
113 | } |