From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/etsprojecttools: etsprojecttools-0.6.0.ebuild |
Date: | Tue, 01 Feb 2011 01:54:32 |
Message-Id: | 20110201015422.86B0D20054@flycatcher.gentoo.org |
1 | arfrever 11/02/01 01:54:22 |
2 | |
3 | Modified: etsprojecttools-0.6.0.ebuild |
4 | Log: |
5 | Update EAPI. Fix dependencies. Use DISTUTILS_SRC_TEST. Update HOMEPAGE. |
6 | |
7 | (Portage version: 2.2.0_alpha19_p52/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.4 dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild?rev=1.4&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild?rev=1.4&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild?r1=1.3&r2=1.4 |
15 | |
16 | Index: etsprojecttools-0.6.0.ebuild |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild,v |
19 | retrieving revision 1.3 |
20 | retrieving revision 1.4 |
21 | diff -u -r1.3 -r1.4 |
22 | --- etsprojecttools-0.6.0.ebuild 22 Jun 2010 18:36:48 -0000 1.3 |
23 | +++ etsprojecttools-0.6.0.ebuild 1 Feb 2011 01:54:22 -0000 1.4 |
24 | @@ -1,42 +1,41 @@ |
25 | -# Copyright 1999-2010 Gentoo Foundation |
26 | +# Copyright 1999-2011 Gentoo Foundation |
27 | # Distributed under the terms of the GNU General Public License v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild,v 1.3 2010/06/22 18:36:48 arfrever Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/etsprojecttools/etsprojecttools-0.6.0.ebuild,v 1.4 2011/02/01 01:54:22 arfrever Exp $ |
30 | |
31 | -EAPI="2" |
32 | +EAPI="3" |
33 | +PYTHON_DEPEND="2" |
34 | SUPPORT_PYTHON_ABIS="1" |
35 | +RESTRICT_PYTHON_ABIS="3.*" |
36 | +DISTUTILS_SRC_TEST="setup.py" |
37 | |
38 | inherit distutils |
39 | |
40 | MY_PN="ETSProjectTools" |
41 | MY_P="${MY_PN}-${PV}" |
42 | -DESCRIPTION="Enthought Tools for working with projects with many dependencies" |
43 | -HOMEPAGE="http://code.enthought.com/projects/ets_project_tools.php" |
44 | + |
45 | +DESCRIPTION="Enthought Tool Suite: Tools for working with projects with many dependencies" |
46 | +HOMEPAGE="http://code.enthought.com/projects/ets_project_tools.php http://pypi.python.org/pypi/ETSProjectTools" |
47 | SRC_URI="http://www.enthought.com/repo/ETS/${MY_P}.tar.gz" |
48 | |
49 | -IUSE="test" |
50 | +LICENSE="BSD" |
51 | SLOT="0" |
52 | KEYWORDS="~amd64 ~x86" |
53 | -LICENSE="BSD" |
54 | +IUSE="test" |
55 | |
56 | -RDEPEND="dev-vcs/subversion" |
57 | -DEPEND="dev-python/setuptools |
58 | - test? ( >=dev-python/nose-0.10.3 )" |
59 | -RESTRICT_PYTHON_ABIS="3.*" |
60 | +RDEPEND="dev-python/setuptools |
61 | + dev-vcs/subversion" |
62 | +DEPEND="${RDEPEND} |
63 | + test? ( dev-python/nose )" |
64 | |
65 | S="${WORKDIR}/${MY_P}" |
66 | |
67 | PYTHON_MODNAME="enthought" |
68 | |
69 | src_prepare() { |
70 | - sed -i \ |
71 | - -e "s/self.run_command('build_docs')/pass/" \ |
72 | - -e "s/setupdocs>=1.0//" \ |
73 | - setup.py || die |
74 | -} |
75 | + distutils_src_prepare |
76 | |
77 | -src_test() { |
78 | - testing() { |
79 | - PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test |
80 | - } |
81 | - python_execute_function testing |
82 | + sed \ |
83 | + -e "s/self.run_command('build_docs')/pass/" \ |
84 | + -e "/setupdocs>=1.0/d" \ |
85 | + -i setup.py || die "sed setup.py failed" |
86 | } |