From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/enthoughtbase: metadata.xml enthoughtbase-3.0.1.ebuild ChangeLog |
Date: | Thu, 15 Jan 2009 09:35:38 |
Message-Id: | E1LNOdP-0003FX-DP@stork.gentoo.org |
1 | bicatali 09/01/15 09:35:31 |
2 | |
3 | Added: metadata.xml enthoughtbase-3.0.1.ebuild ChangeLog |
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/enthoughtbase/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enthoughtbase/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enthoughtbase/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 EnthoughtBase project includes a few core packages that are used |
22 | by many other projects in the Enthought Tool Suite: |
23 | * enthought.etsconfig: Supports configuring settings that need to |
24 | be shared across multiple projects or programs on the same |
25 | system. Most significant of these is the GUI toolkit to be |
26 | used. You can also configure locations for writing application |
27 | data and user data, and the name of the company responsible for |
28 | the software (which is used in the application and user data |
29 | paths on some systems). |
30 | * enthought.logger: Provides convenience functions for creating |
31 | logging handlers. |
32 | * enthought.util: Provides miscellaneous utility functions |
33 | </longdescription> |
34 | </pkgmetadata> |
35 | |
36 | |
37 | |
38 | 1.1 dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild |
39 | |
40 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild?rev=1.1&view=markup |
41 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild?rev=1.1&content-type=text/plain |
42 | |
43 | Index: enthoughtbase-3.0.1.ebuild |
44 | =================================================================== |
45 | # Copyright 1999-2009 Gentoo Foundation |
46 | # Distributed under the terms of the GNU General Public License v2 |
47 | # $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.1.ebuild,v 1.1 2009/01/15 09:35:31 bicatali Exp $ |
48 | |
49 | EAPI=2 |
50 | inherit distutils |
51 | |
52 | MY_PN="EnthoughtBase" |
53 | MY_P="${MY_PN}-${PV}" |
54 | DESCRIPTION="Core packages for the Enthought Tool Suite" |
55 | HOMEPAGE="http://code.enthought.com/projects/enthought_base.php" |
56 | SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
57 | |
58 | IUSE="doc examples" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~x86" |
61 | LICENSE="BSD LGPL-2" |
62 | RDEPEND="" |
63 | DEPEND="dev-python/setuptools |
64 | doc? ( dev-python/setupdocs )" |
65 | # test? ( >=dev-python/nose-0.10.3 dev-python/etsdevtools )" |
66 | # tests need an X display |
67 | RESTRICT=test |
68 | S="${WORKDIR}/${MY_P}" |
69 | |
70 | PYTHON_MODNAME="enthought" |
71 | |
72 | src_prepare() { |
73 | sed -i -e "/self.run_command('build_docs')/d" setup.py || die |
74 | } |
75 | |
76 | src_compile() { |
77 | distutils_src_compile |
78 | if use doc; then |
79 | ${python} setup.py build_docs --formats=html,pdf \ |
80 | || die "doc building failed" |
81 | fi |
82 | } |
83 | |
84 | src_test() { |
85 | PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" |
86 | } |
87 | |
88 | src_install() { |
89 | find "${S}" -name \*LICENSE.txt -delete |
90 | distutils_src_install |
91 | dodoc docs/*.txt |
92 | insinto /usr/share/doc/${PF} |
93 | if use doc; then |
94 | doins -r build/docs/html || die |
95 | doins build/docs/latex/*.pdf || die |
96 | fi |
97 | if use examples; then |
98 | doins -r examples || die |
99 | fi |
100 | } |
101 | |
102 | |
103 | |
104 | 1.1 dev-python/enthoughtbase/ChangeLog |
105 | |
106 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enthoughtbase/ChangeLog?rev=1.1&view=markup |
107 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/enthoughtbase/ChangeLog?rev=1.1&content-type=text/plain |
108 | |
109 | Index: ChangeLog |
110 | =================================================================== |
111 | # ChangeLog for dev-python/enthoughtbase |
112 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
113 | # $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/ChangeLog,v 1.1 2009/01/15 09:35:31 bicatali Exp $ |
114 | |
115 | *enthoughtbase-3.0.1 (15 Jan 2009) |
116 | |
117 | 15 Jan 2009; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
118 | +enthoughtbase-3.0.1.ebuild: |
119 | Initial import |