Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/enthoughtbase: enthoughtbase-3.0.5.ebuild
Date: Tue, 01 Jun 2010 14:49:03
Message-Id: 20100601144857.C7A8A2CE14@corvid.gentoo.org
1 arfrever 10/06/01 14:48:57
2
3 Modified: enthoughtbase-3.0.5.ebuild
4 Log:
5 Fix dependencies.
6 (Portage version: HEAD/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.2 dev-python/enthoughtbase/enthoughtbase-3.0.5.ebuild
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.5.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.5.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.5.ebuild?r1=1.1&r2=1.2
14
15 Index: enthoughtbase-3.0.5.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.5.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- enthoughtbase-3.0.5.ebuild 31 May 2010 06:55:29 -0000 1.1
22 +++ enthoughtbase-3.0.5.ebuild 1 Jun 2010 14:48:57 -0000 1.2
23 @@ -1,23 +1,25 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.5.ebuild,v 1.1 2010/05/31 06:55:29 jlec Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/enthoughtbase/enthoughtbase-3.0.5.ebuild,v 1.2 2010/06/01 14:48:57 arfrever Exp $
28
29 -EAPI="2"
30 +EAPI="3"
31 +PYTHON_DEPEND="2"
32 SUPPORT_PYTHON_ABIS="1"
33 +DISTUTILS_SRC_TEST="setup.py"
34
35 inherit distutils
36
37 MY_PN="EnthoughtBase"
38 MY_P="${MY_PN}-${PV}"
39 +
40 DESCRIPTION="Core packages for the Enthought Tool Suite"
41 HOMEPAGE="http://code.enthought.com/projects/enthought_base.php"
42 SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz"
43
44 -IUSE="doc examples"
45 +LICENSE="BSD LGPL-2"
46 SLOT="0"
47 KEYWORDS="~amd64 ~ppc ~x86"
48 -LICENSE="BSD LGPL-2"
49 -RDEPEND=""
50 +IUSE="doc examples"
51
52 DEPEND="dev-python/setuptools
53 doc? ( dev-python/setupdocs )"
54 @@ -25,6 +27,7 @@
55 # test? ( >=dev-python/nose-0.10.3
56 # dev-python/traits
57 # dev-python/etsdevtools )"
58 +RDEPEND=""
59
60 RESTRICT_PYTHON_ABIS="3.*"
61 RESTRICT="test"
62 @@ -34,6 +37,8 @@
63 PYTHON_MODNAME="enthought"
64
65 src_prepare() {
66 + distutils_src_prepare
67 +
68 sed -i \
69 -e "s/self.run_command('build_docs')/pass/" \
70 -e '/setupdocs/d' \
71 @@ -42,20 +47,14 @@
72
73 src_compile() {
74 distutils_src_compile
75 +
76 if use doc; then
77 export VARTEXFONTS="${T}/fonts"
78 - "$(PYTHON -f)" setup.py build_docs --formats=html,pdf \
79 - || die "doc building failed"
80 + einfo "Generation of documentation"
81 + "$(PYTHON -f)" setup.py build_docs --formats=html,pdf || die "Generation of documentation failed"
82 fi
83 }
84
85 -src_test() {
86 - testing() {
87 - PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
88 - }
89 - python_execute_function testing
90 -}
91 -
92 src_install() {
93 find "${S}" -name \*LICENSE.txt -delete
94 distutils_src_install