1 |
bicatali 09/01/15 10:17:56 |
2 |
|
3 |
Added: metadata.xml ChangeLog envisagecore-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/envisagecore/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisagecore/metadata.xml?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisagecore/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 Envisage project from the Enthought Tool Suite is a |
22 |
Python-based framework for building extensible applications, that |
23 |
is, applications whose functionality can be extended by adding |
24 |
"plug-ins". Envisage provides a standard mechanism for features to |
25 |
be added to an application, whether by the original developer or |
26 |
by someone else. In fact, when you build an application |
27 |
using Envisage, the entire application consists primarily of |
28 |
plug-ins. In this respect, it is similar to the Eclipse and Netbeans |
29 |
frameworks for Java applications. |
30 |
</longdescription> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.1 dev-python/envisagecore/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisagecore/ChangeLog?rev=1.1&view=markup |
38 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisagecore/ChangeLog?rev=1.1&content-type=text/plain |
39 |
|
40 |
Index: ChangeLog |
41 |
=================================================================== |
42 |
# ChangeLog for dev-python/envisagecore |
43 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
44 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/envisagecore/ChangeLog,v 1.1 2009/01/15 10:17:56 bicatali Exp $ |
45 |
|
46 |
*envisagecore-3.0.1 (15 Jan 2009) |
47 |
|
48 |
15 Jan 2009; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
49 |
+envisagecore-3.0.1.ebuild: |
50 |
Initial import |
51 |
|
52 |
|
53 |
|
54 |
|
55 |
1.1 dev-python/envisagecore/envisagecore-3.0.1.ebuild |
56 |
|
57 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisagecore/envisagecore-3.0.1.ebuild?rev=1.1&view=markup |
58 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisagecore/envisagecore-3.0.1.ebuild?rev=1.1&content-type=text/plain |
59 |
|
60 |
Index: envisagecore-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/envisagecore/envisagecore-3.0.1.ebuild,v 1.1 2009/01/15 10:17:56 bicatali Exp $ |
65 |
|
66 |
EAPI=2 |
67 |
inherit distutils |
68 |
|
69 |
MY_PN="EnvisageCore" |
70 |
MY_P="${MY_PN}-${PV}" |
71 |
DESCRIPTION="Enthought Tool Suite extensible application framework" |
72 |
HOMEPAGE="http://code.enthought.com/projects/envisage/" |
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/apptools |
81 |
dev-python/traits |
82 |
dev-python/enthoughtbase" |
83 |
|
84 |
DEPEND="dev-python/setuptools |
85 |
doc? ( dev-python/setupdocs ) |
86 |
test? ( >=dev-python/nose-0.10.3 |
87 |
dev-python/apptools |
88 |
dev-python/enthoughtbase )" |
89 |
|
90 |
S="${WORKDIR}/${MY_P}" |
91 |
|
92 |
PYTHON_MODNAME="enthought" |
93 |
|
94 |
src_prepare() { |
95 |
sed -i -e "/self.run_command('build_docs')/d" setup.py || die |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
distutils_src_compile |
100 |
if use doc; then |
101 |
${python} setup.py build_docs --formats=html,pdf \ |
102 |
|| die "doc building failed" |
103 |
fi |
104 |
} |
105 |
|
106 |
src_test() { |
107 |
PYTHONPATH=build/lib ${python} setup.py test || die "tests failed" |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
distutils_src_install |
112 |
insinto /usr/share/doc/${PF} |
113 |
if use doc; then |
114 |
doins -r build/docs/html || die |
115 |
doins build/docs/latex/*.pdf || die |
116 |
fi |
117 |
if use examples; then |
118 |
doins -r examples || die |
119 |
fi |
120 |
} |