From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/enable: metadata.xml ChangeLog enable-3.0.2.ebuild |
Date: | Thu, 15 Jan 2009 10:24:32 |
Message-Id: | E1LNPOl-0006ZQ-R0@stork.gentoo.org |
1 | bicatali 09/01/15 10:24:27 |
2 | |
3 | Added: metadata.xml ChangeLog enable-3.0.2.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/enable/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/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 | <longdescription lang="en"> |
21 | The Enable project from the Enthought Tool Suite provides two |
22 | related multi-platform packages for drawing GUI objects: |
23 | * Enable: An object drawing library that supports containment and |
24 | event notification. |
25 | * Kiva: A multi-platform DisplayPDF vector drawing engine. |
26 | </longdescription> |
27 | </pkgmetadata> |
28 | |
29 | |
30 | |
31 | 1.1 dev-python/enable/ChangeLog |
32 | |
33 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/ChangeLog?rev=1.1&view=markup |
34 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/ChangeLog?rev=1.1&content-type=text/plain |
35 | |
36 | Index: ChangeLog |
37 | =================================================================== |
38 | # ChangeLog for dev-python/enable |
39 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
40 | # $Header: /var/cvsroot/gentoo-x86/dev-python/enable/ChangeLog,v 1.1 2009/01/15 10:24:27 bicatali Exp $ |
41 | |
42 | *enable-3.0.2 (15 Jan 2009) |
43 | |
44 | 15 Jan 2009; Sébastien Fabbro <bicatali@g.o> |
45 | +files/enable-3.0.2-nofreetype.patch, +metadata.xml, +enable-3.0.2.ebuild: |
46 | Initial import |
47 | |
48 | |
49 | |
50 | |
51 | 1.1 dev-python/enable/enable-3.0.2.ebuild |
52 | |
53 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/enable-3.0.2.ebuild?rev=1.1&view=markup |
54 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enable/enable-3.0.2.ebuild?rev=1.1&content-type=text/plain |
55 | |
56 | Index: enable-3.0.2.ebuild |
57 | =================================================================== |
58 | # Copyright 1999-2009 Gentoo Foundation |
59 | # Distributed under the terms of the GNU General Public License v2 |
60 | # $Header: /var/cvsroot/gentoo-x86/dev-python/enable/enable-3.0.2.ebuild,v 1.1 2009/01/15 10:24:27 bicatali Exp $ |
61 | |
62 | EAPI=2 |
63 | inherit eutils distutils |
64 | |
65 | MY_PN="Enable" |
66 | MY_P="${MY_PN}-${PV}" |
67 | DESCRIPTION="Enthought Tools Suite drawing and interaction GUI objects" |
68 | HOMEPAGE="http://code.enthought.com/projects/enable" |
69 | SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
70 | |
71 | IUSE="examples test" |
72 | SLOT="0" |
73 | KEYWORDS="~amd64 ~x86" |
74 | LICENSE="BSD" |
75 | |
76 | RDEPEND=">=dev-python/numpy-1.1 |
77 | dev-python/reportlab |
78 | dev-python/traitsgui |
79 | >=media-libs/freetype-2 |
80 | virtual/glu |
81 | x11-libs/libX11" |
82 | |
83 | DEPEND="dev-python/setuptools |
84 | >=dev-python/numpy-1.1 |
85 | >=media-libs/freetype-2 |
86 | virtual/glu |
87 | x11-libs/libX11 |
88 | dev-lang/swig |
89 | dev-python/pyrex |
90 | test? ( >=dev-python/nose-0.10.3 |
91 | dev-python/enthoughtbase |
92 | dev-python/traitsgui[wxwindows] )" |
93 | |
94 | #tests need X |
95 | RESTRICT=test |
96 | |
97 | S="${WORKDIR}/${MY_P}" |
98 | PYTHON_MODNAME="enthought" |
99 | |
100 | src_prepare() { |
101 | epatch "${FILESDIR}"/${P}-nofreetype.patch |
102 | sed -i -e "/self.run_command('build_docs')/d" setup.py || die |
103 | } |
104 | |
105 | src_test() { |
106 | PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" |
107 | } |
108 | |
109 | src_install() { |
110 | find "${S}" -name \*LICENSE.txt -delete |
111 | distutils_src_install |
112 | insinto /usr/share/doc/${PF} |
113 | if use examples; then |
114 | doins -r examples || die |
115 | fi |
116 | } |