Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/envisageplugins: metadata.xml ChangeLog envisageplugins-3.0.1.ebuild
Date: Thu, 15 Jan 2009 10:20:19
Message-Id: E1LNPKg-0006Dx-Pl@stork.gentoo.org
1 bicatali 09/01/15 10:20:14
2
3 Added: metadata.xml ChangeLog envisageplugins-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/envisageplugins/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisageplugins/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisageplugins/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 EnvisagePlugins project from the Enthought Tool Suite
22 includes a number of plug-ins for the Envisage framework that
23 Enthought has found useful for building scientific
24 applications. Envisage does not require that you use these
25 plug-ins, but you may find them useful to avoid having to reinvent
26 these particular wheels:
27 * Workbench: Provides an application GUI window that supports
28 views and perspectives, similar to the Eclipse IDE.
29 * Action: Supports user-interaction command mechanisms, such as
30 toolbars, menus, and buttons.
31 * Single Project: Supports a project paradigm for saving
32 application data, assuming an interaction model in which only
33 one project can be open in the application at a time.
34 * Text Editor: Provides a rudimentary text editor interface.
35 * Python Shell: Provides an interactive Python shell within a
36 Workbench-based application.
37 * Debug: Provides the Frame Based Inspector from the ETSDevTools
38 project as an Envisage plug-in
39 </longdescription>
40 </pkgmetadata>
41
42
43
44 1.1 dev-python/envisageplugins/ChangeLog
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisageplugins/ChangeLog?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisageplugins/ChangeLog?rev=1.1&content-type=text/plain
48
49 Index: ChangeLog
50 ===================================================================
51 # ChangeLog for dev-python/envisageplugins
52 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/ChangeLog,v 1.1 2009/01/15 10:20:14 bicatali Exp $
54
55 *envisageplugins-3.0.1 (15 Jan 2009)
56
57 15 Jan 2009; Sébastien Fabbro <bicatali@g.o> +metadata.xml,
58 +envisageplugins-3.0.1.ebuild:
59 Initial import
60
61
62
63
64 1.1 dev-python/envisageplugins/envisageplugins-3.0.1.ebuild
65
66 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.0.1.ebuild?rev=1.1&view=markup
67 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.0.1.ebuild?rev=1.1&content-type=text/plain
68
69 Index: envisageplugins-3.0.1.ebuild
70 ===================================================================
71 # Copyright 1999-2009 Gentoo Foundation
72 # Distributed under the terms of the GNU General Public License v2
73 # $Header: /var/cvsroot/gentoo-x86/dev-python/envisageplugins/envisageplugins-3.0.1.ebuild,v 1.1 2009/01/15 10:20:14 bicatali Exp $
74
75 EAPI=2
76 inherit distutils
77
78 MY_PN="EnvisagePlugins"
79 MY_P="${MY_PN}-${PV}"
80 DESCRIPTION="Plugins for the Envisage framework"
81 HOMEPAGE="http://code.enthought.com/projects/envisage_plugins.php"
82 SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
83
84 IUSE="examples test"
85 SLOT="0"
86 KEYWORDS="~amd64 ~x86"
87 LICENSE="BSD"
88
89 RDEPEND="dev-python/apptools
90 dev-python/envisagecore
91 dev-python/traitsgui"
92
93 DEPEND="dev-python/setuptools
94 test? ( >=dev-python/nose-0.10.3
95 dev-python/apptools
96 dev-python/enthoughtbase )"
97
98 # tests need an X display
99 RESTRICT=test
100 S="${WORKDIR}/${MY_P}"
101 PYTHON_MODNAME="enthought"
102
103 src_prepare() {
104 sed -i -e "/self.run_command('build_docs')/d" setup.py || die
105 }
106
107 src_test() {
108 PYTHONPATH=build/lib ${python} setup.py test || die "tests failed"
109 }
110
111 src_install() {
112 find "${S}" -name \*LICENSE.txt -delete
113 distutils_src_install
114 insinto /usr/share/doc/${PF}
115 if use examples; then
116 doins -r examples || die
117 fi
118 }