dev-python/testrepository: Restrict tests

Github: testing-cabal/testrepository#18

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-11-01 18:08:43 +01:00
parent f6c9500bd2
commit cff96997b7

View 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
}