dev-python/testrepository: Restrict tests
authorJustin Lecher <jlec@gentoo.org>
Sun, 1 Nov 2015 17:08:43 +0000 (18:08 +0100)
committerJustin Lecher <jlec@gentoo.org>
Mon, 2 Nov 2015 11:47:12 +0000 (12:47 +0100)
Github: testing-cabal/testrepository#18

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/testrepository/testrepository-0.0.20.ebuild

index ae10b32407eac6a366a4e97b0cc416d04a8007fd..e1dba2ec1e90d4b715f9f47ff3fa1ffb6086b08a 100644 (file)
@@ -34,9 +34,13 @@ DEPEND="
 # Required for test phase
 DISTUTILS_IN_SOURCE_BUILD=1
 
+# https://github.com/testing-cabal/testrepository/issues/18
+RESTRICT=test
+
 python_test() {
        # some errors appear to have crept in the suite undert py3 since addition.
        # Python2.7 now passes all.
 
-       esetup.py testr
+       ${PYTHON} testr init || die
+       ${PYTHON} testr run || die
 }