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/subvertpy: subvertpy-0.7.2.ebuild
Date: Mon, 28 Jun 2010 19:25:42
Message-Id: 20100628192539.AC4FC2C621@corvid.gentoo.org
1 arfrever 10/06/28 19:25:39
2
3 Modified: subvertpy-0.7.2.ebuild
4 Log:
5 Simplify src_test().
6 (Portage version: HEAD/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.6 dev-python/subvertpy/subvertpy-0.7.2.ebuild
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subvertpy/subvertpy-0.7.2.ebuild?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subvertpy/subvertpy-0.7.2.ebuild?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subvertpy/subvertpy-0.7.2.ebuild?r1=1.5&r2=1.6
14
15 Index: subvertpy-0.7.2.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-python/subvertpy/subvertpy-0.7.2.ebuild,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- subvertpy-0.7.2.ebuild 22 Jun 2010 18:38:12 -0000 1.5
22 +++ subvertpy-0.7.2.ebuild 28 Jun 2010 19:25:39 -0000 1.6
23 @@ -1,10 +1,12 @@
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/subvertpy/subvertpy-0.7.2.ebuild,v 1.5 2010/06/22 18:38:12 arfrever Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-python/subvertpy/subvertpy-0.7.2.ebuild,v 1.6 2010/06/28 19:25:39 arfrever Exp $
28
29 -EAPI="2"
30 +EAPI="3"
31 PYTHON_DEPEND="2"
32 SUPPORT_PYTHON_ABIS="1"
33 +RESTRICT_PYTHON_ABIS="3.*"
34 +DISTUTILS_SRC_TEST="nosetests"
35
36 inherit distutils
37
38 @@ -21,18 +23,14 @@
39 !<dev-util/bzr-svn-0.5.0_rc2"
40 DEPEND="${RDEPEND}
41 test? ( dev-python/nose )"
42 -RESTRICT_PYTHON_ABIS="3.*"
43 +
44 +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
45
46 DOCS="NEWS AUTHORS"
47
48 -src_test() {
49 - testing() {
50 - local module
51 - for module in _ra client repos wc; do
52 - ln -fs "../$(ls -d build-${PYTHON_ABI}/lib.*)/subvertpy/${module}.so" "subvertpy/${module}.so" || die "Symlinking subvertpy/${module}.so failed with Python ${PYTHON_ABI}"
53 - done
54 -
55 - PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" nosetests
56 - }
57 - python_execute_function testing
58 +distutils_src_test_pre_hook() {
59 + local module
60 + for module in _ra client repos wc; do
61 + ln -fs "../$(ls -d build-${PYTHON_ABI}/lib.*)/subvertpy/${module}.so" "subvertpy/${module}.so" || die "Symlinking subvertpy/${module}.so failed with Python ${PYTHON_ABI}"
62 + done
63 }