Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/
Date: Mon, 02 Nov 2015 11:50:49
Message-Id: 1446464832.cff96997b7d381b1e081c02161c23772f8f6464e.jlec@gentoo
1 commit: cff96997b7d381b1e081c02161c23772f8f6464e
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 1 17:08:43 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 2 11:47:12 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff96997
7
8 dev-python/testrepository: Restrict tests
9
10 Github: testing-cabal/testrepository#18
11
12 Package-Manager: portage-2.2.23
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 dev-python/testrepository/testrepository-0.0.20.ebuild | 6 +++++-
16 1 file changed, 5 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild b/dev-python/testrepository/testrepository-0.0.20.ebuild
19 index ae10b32..e1dba2e 100644
20 --- a/dev-python/testrepository/testrepository-0.0.20.ebuild
21 +++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
22 @@ -34,9 +34,13 @@ DEPEND="
23 # Required for test phase
24 DISTUTILS_IN_SOURCE_BUILD=1
25
26 +# https://github.com/testing-cabal/testrepository/issues/18
27 +RESTRICT=test
28 +
29 python_test() {
30 # some errors appear to have crept in the suite undert py3 since addition.
31 # Python2.7 now passes all.
32
33 - esetup.py testr
34 + ${PYTHON} testr init || die
35 + ${PYTHON} testr run || die
36 }