From: Mike Gilbert Date: Sat, 18 Feb 2017 17:38:55 +0000 (-0500) Subject: dev-python/pytest-xdist: install package for testing X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=54ee58613d5d4f744f062fed0fcf5e0ff8862604;p=gentoo.git dev-python/pytest-xdist: install package for testing pytest doesn't load the xdist plugin unless xdist has already been installed. Bug: https://bugs.gentoo.org/597698 Bug: https://bugs.gentoo.org/597700 Bug: https://bugs.gentoo.org/609516 Package-Manager: Portage-2.3.3_p56, Repoman-2.3.1_p49 --- diff --git a/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild index 27b6a3d48e52..27409543e609 100644 --- a/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild +++ b/dev-python/pytest-xdist/pytest-xdist-1.15.0.ebuild @@ -37,6 +37,6 @@ PATCHES=( ) python_test() { - find -name __pycache__ -exec rm -r '{}' + || die + distutils_install_for_testing py.test -vv || die "Tests failed under ${EPYTHON}" }