summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}