From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/chaco: metadata.xml ChangeLog chaco-3.0.1.ebuild |
Date: | Thu, 15 Jan 2009 10:26:05 |
Message-Id: | E1LNPQI-0006gU-0C@stork.gentoo.org |
1 | bicatali 09/01/15 10:26:01 |
2 | |
3 | Added: metadata.xml ChangeLog chaco-3.0.1.ebuild |
4 | Log: |
5 | Initial import |
6 | (Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-python/chaco/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>python</herd> |
20 | <herd>sci</herd> |
21 | <longdescription lang="en"> |
22 | Chaco is a Python plotting application toolkit and a part of |
23 | Enthought Tool Suite. It is meant to facilitate writing plotting |
24 | applications of all levels of complexity, from simple scripts with |
25 | hard-coded data to large plotting programs with complex data |
26 | interrelationships and a multitude of interactive tools. While Chaco |
27 | generates nice static plots for publication and presentation |
28 | purposes, its components are all designed to be work well for |
29 | interactive data visualization. |
30 | </longdescription> |
31 | </pkgmetadata> |
32 | |
33 | |
34 | |
35 | 1.1 dev-python/chaco/ChangeLog |
36 | |
37 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/ChangeLog?rev=1.1&view=markup |
38 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/ChangeLog?rev=1.1&content-type=text/plain |
39 | |
40 | Index: ChangeLog |
41 | =================================================================== |
42 | # ChangeLog for dev-python/chaco |
43 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
44 | # $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/ChangeLog,v 1.1 2009/01/15 10:26:01 bicatali Exp $ |
45 | |
46 | *chaco-3.0.1 (15 Jan 2009) |
47 | |
48 | 15 Jan 2009; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
49 | +chaco-3.0.1.ebuild: |
50 | Initial import |
51 | |
52 | |
53 | |
54 | |
55 | 1.1 dev-python/chaco/chaco-3.0.1.ebuild |
56 | |
57 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/chaco-3.0.1.ebuild?rev=1.1&view=markup |
58 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/chaco/chaco-3.0.1.ebuild?rev=1.1&content-type=text/plain |
59 | |
60 | Index: chaco-3.0.1.ebuild |
61 | =================================================================== |
62 | # Copyright 1999-2009 Gentoo Foundation |
63 | # Distributed under the terms of the GNU General Public License v2 |
64 | # $Header: /var/cvsroot/gentoo-x86/dev-python/chaco/chaco-3.0.1.ebuild,v 1.1 2009/01/15 10:26:01 bicatali Exp $ |
65 | |
66 | EAPI=2 |
67 | inherit distutils |
68 | |
69 | MY_PN="Chaco" |
70 | MY_P="${MY_PN}-${PV}" |
71 | DESCRIPTION="Interactive plotting toolkit" |
72 | HOMEPAGE="http://code.enthought.com/projects/chaco" |
73 | SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
74 | |
75 | IUSE="doc examples test" |
76 | SLOT="0" |
77 | KEYWORDS="~amd64 ~x86" |
78 | LICENSE="BSD" |
79 | |
80 | RDEPEND="dev-python/enable" |
81 | |
82 | DEPEND="dev-python/setuptools |
83 | >=dev-python/numpy-1.1" |
84 | # docs building and tests need an X display |
85 | # doc? ( dev-python/setupdocs ) |
86 | # test? ( >=dev-python/nose-0.10.3 |
87 | # dev-python/coverage |
88 | # dev-python/enable |
89 | # dev-python/enthoughtbase )" |
90 | |
91 | RESTRICT=test |
92 | S="${WORKDIR}/${MY_P}" |
93 | |
94 | PYTHON_MODNAME="enthought" |
95 | |
96 | src_prepare() { |
97 | sed -i -e "/self.run_command('build_docs')/d" setup.py || die |
98 | } |
99 | |
100 | src_compile() { |
101 | find "${S}" -name \*LICENSE.txt -delete |
102 | distutils_src_compile |
103 | #if use doc; then |
104 | # ${python} setup.py build_docs --formats=html,pdf \ |
105 | # || die "doc building failed" |
106 | #fi |
107 | } |
108 | |
109 | src_test() { |
110 | ${python} setup.py test || die "tests failed" |
111 | } |
112 | |
113 | src_install() { |
114 | find "${S}" -name \*LICENSE.txt -delete |
115 | distutils_src_install |
116 | dodoc docs/*.txt |
117 | insinto /usr/share/doc/${PF} |
118 | if use doc; then |
119 | #doins -r build/docs/html build/docs/latex/*.pdf || die |
120 | doins docs/*.pdf || die |
121 | fi |
122 | if use examples; then |
123 | doins -r examples || die |
124 | fi |
125 | } |