Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/testrepository: testrepository-0.0.18.ebuild testrepository-0.0.17-r2.ebuild ChangeLog
Date: Fri, 03 Jan 2014 15:09:45
Message-Id: 20140103150939.BD2002004C@flycatcher.gentoo.org
1 idella4 14/01/03 15:09:39
2
3 Modified: testrepository-0.0.18.ebuild
4 testrepository-0.0.17-r2.ebuild ChangeLog
5 Log:
6 pypy support dropped (unrequired and problematic in test phase), set for IN_SOURCE_BUILD (required for test phase), test phase fixed
7
8 (Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.2 dev-python/testrepository/testrepository-0.0.18.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/testrepository-0.0.18.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/testrepository-0.0.18.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/testrepository-0.0.18.ebuild?r1=1.1&r2=1.2
16
17 Index: testrepository-0.0.18.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.18.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- testrepository-0.0.18.ebuild 2 Jan 2014 15:17:55 -0000 1.1
24 +++ testrepository-0.0.18.ebuild 3 Jan 2014 15:09:39 -0000 1.2
25 @@ -1,9 +1,9 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.18.ebuild,v 1.1 2014/01/02 15:17:55 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.18.ebuild,v 1.2 2014/01/03 15:09:39 idella4 Exp $
30
31 EAPI=5
32 -PYTHON_COMPAT=( python{2_7,3_2,3_3} pypy2_0 )
33 +PYTHON_COMPAT=( python{2_7,3_2,3_3} )
34
35 inherit distutils-r1
36
37 @@ -28,12 +28,10 @@
38 dev-python/fixtures[${PYTHON_USEDEP}]"
39
40 REQUIRED_USE="test? ( $(python_gen_useflags python{2_7,3_2}) )"
41 +# Required for test phase
42 +DISTUTILS_IN_SOURCE_BUILD=1
43
44 python_test() {
45 - # The running has a gentoo python style bug, yet unknown, that corrupts the passing of
46 - # impls other than py2.7. A wip
47 - if [ "${EPYTHON}" == python2.7 ]; then
48 - "${PYTHON}" ./testr init || die
49 - "${PYTHON}" ./testr run || die "tests failed under ${EPYTHON}"
50 - fi
51 + "${PYTHON}" ./testr init || die
52 + "${PYTHON}" setup.py testr --coverage || die "tests failed under ${EPYTHON}"
53 }
54
55
56
57 1.2 dev-python/testrepository/testrepository-0.0.17-r2.ebuild
58
59 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/testrepository-0.0.17-r2.ebuild?rev=1.2&view=markup
60 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/testrepository-0.0.17-r2.ebuild?rev=1.2&content-type=text/plain
61 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/testrepository-0.0.17-r2.ebuild?r1=1.1&r2=1.2
62
63 Index: testrepository-0.0.17-r2.ebuild
64 ===================================================================
65 RCS file: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.17-r2.ebuild,v
66 retrieving revision 1.1
67 retrieving revision 1.2
68 diff -u -r1.1 -r1.2
69 --- testrepository-0.0.17-r2.ebuild 2 Jan 2014 15:17:55 -0000 1.1
70 +++ testrepository-0.0.17-r2.ebuild 3 Jan 2014 15:09:39 -0000 1.2
71 @@ -1,9 +1,9 @@
72 # Copyright 1999-2014 Gentoo Foundation
73 # Distributed under the terms of the GNU General Public License v2
74 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.17-r2.ebuild,v 1.1 2014/01/02 15:17:55 idella4 Exp $
75 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.17-r2.ebuild,v 1.2 2014/01/03 15:09:39 idella4 Exp $
76
77 EAPI=5
78 -PYTHON_COMPAT=( python{2_7,3_2,3_3} pypy2_0 )
79 +PYTHON_COMPAT=( python{2_7,3_2,3_3} )
80
81 inherit distutils-r1
82
83 @@ -31,12 +31,10 @@
84 dev-python/fixtures[${PYTHON_USEDEP}]"
85
86 REQUIRED_USE="test? ( $(python_gen_useflags python{2_7,3_2}) )"
87 +# Required for test phase
88 +DISTUTILS_IN_SOURCE_BUILD=1
89
90 python_test() {
91 - # The running has a gentoo python style bug, yet unknown, that corrupts the passing of
92 - # impls other than py2.7. A wip
93 - if [ "${EPYTHON}" == python2.7 ]; then
94 - "${PYTHON}" ./testr init || die
95 - "${PYTHON}" ./testr run || die "tests failed under ${EPYTHON}"
96 - fi
97 + "${PYTHON}" ./testr init || die
98 + "${PYTHON}" setup.py testr --coverage || die "tests failed under ${EPYTHON}"
99 }
100
101
102
103 1.5 dev-python/testrepository/ChangeLog
104
105 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/ChangeLog?rev=1.5&view=markup
106 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/ChangeLog?rev=1.5&content-type=text/plain
107 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/testrepository/ChangeLog?r1=1.4&r2=1.5
108
109 Index: ChangeLog
110 ===================================================================
111 RCS file: /var/cvsroot/gentoo-x86/dev-python/testrepository/ChangeLog,v
112 retrieving revision 1.4
113 retrieving revision 1.5
114 diff -u -r1.4 -r1.5
115 --- ChangeLog 2 Jan 2014 15:17:55 -0000 1.4
116 +++ ChangeLog 3 Jan 2014 15:09:39 -0000 1.5
117 @@ -1,6 +1,11 @@
118 # ChangeLog for dev-python/testrepository
119 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
120 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/ChangeLog,v 1.4 2014/01/02 15:17:55 idella4 Exp $
121 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/ChangeLog,v 1.5 2014/01/03 15:09:39 idella4 Exp $
122 +
123 + 03 Jan 2014; Ian Delaney <idella4@g.o> testrepository-0.0.17-r2.ebuild,
124 + testrepository-0.0.18.ebuild:
125 + pypy support dropped (unrequired and problematic in test phase), set for
126 + IN_SOURCE_BUILD (required for test phase), test phase fixed
127
128 *testrepository-0.0.17-r2 (02 Jan 2014)
129 *testrepository-0.0.18 (02 Jan 2014)