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/formencode: formencode-1.2.2.ebuild
Date: Sun, 28 Feb 2010 22:24:14
Message-Id: E1NlrYa-0000hR-8R@stork.gentoo.org
1 arfrever 10/02/28 22:24:12
2
3 Modified: formencode-1.2.2.ebuild
4 Log:
5 Simplify src_test().
6 (Portage version: 15502-svn/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.6 dev-python/formencode/formencode-1.2.2.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/formencode/formencode-1.2.2.ebuild?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/formencode/formencode-1.2.2.ebuild?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/formencode/formencode-1.2.2.ebuild?r1=1.5&r2=1.6
14
15 Index: formencode-1.2.2.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-1.2.2.ebuild,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- formencode-1.2.2.ebuild 8 Nov 2009 20:09:34 -0000 1.5
22 +++ formencode-1.2.2.ebuild 28 Feb 2010 22:24:11 -0000 1.6
23 @@ -1,9 +1,11 @@
24 -# Copyright 1999-2009 Gentoo Foundation
25 +# Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-1.2.2.ebuild,v 1.5 2009/11/08 20:09:34 arfrever Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/formencode/formencode-1.2.2.ebuild,v 1.6 2010/02/28 22:24:11 arfrever Exp $
29
30 EAPI="2"
31 +PYTHON_DEPEND="2"
32 SUPPORT_PYTHON_ABIS="1"
33 +DISTUTILS_SRC_TEST="nosetests"
34
35 inherit distutils
36
37 @@ -17,10 +19,9 @@
38 LICENSE="PSF-2.4"
39 SLOT="0"
40 KEYWORDS="amd64 ~ia64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
41 -IUSE="doc test"
42 +IUSE="doc"
43
44 -DEPEND="dev-python/setuptools
45 - test? ( dev-python/nose )"
46 +DEPEND="dev-python/setuptools"
47 RDEPEND=""
48 RESTRICT_PYTHON_ABIS="3.*"
49
50 @@ -34,10 +35,7 @@
51 }
52
53 src_test() {
54 - testing() {
55 - PYTHONPATH="build-${PYTHON_ABI}/lib" LC_ALL="C" nosetests-${PYTHON_ABI}
56 - }
57 - python_execute_function testing
58 + LC_ALL="C" distutils_src_test
59 }
60
61 src_install() {