summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-01 18:08:43 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-02 12:47:12 +0100
commitcff96997b7d381b1e081c02161c23772f8f6464e (patch)
tree08786823dd4642af0f4624ba3f837718cdbfdee1 /dev-python/testrepository
parentdev-python/unittest2: Fix for test failures in python3.5 (diff)
downloadgentoo-cff96997b7d381b1e081c02161c23772f8f6464e.tar.gz
gentoo-cff96997b7d381b1e081c02161c23772f8f6464e.tar.bz2
gentoo-cff96997b7d381b1e081c02161c23772f8f6464e.zip
dev-python/testrepository: Restrict tests
Github: testing-cabal/testrepository#18 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/testrepository')
-rw-r--r--dev-python/testrepository/testrepository-0.0.20.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild b/dev-python/testrepository/testrepository-0.0.20.ebuild
index ae10b32407ea..e1dba2ec1e90 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -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
}