From: Michał Górny Date: Wed, 29 Apr 2020 10:54:06 +0000 (+0200) Subject: dev-python/pytest-rerunfailures: Add missing mock py2-test-dep X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8a756304d861e3f190ac3ffd5d5e65ea7db67a4c;p=gentoo.git dev-python/pytest-rerunfailures: Add missing mock py2-test-dep Closes: https://bugs.gentoo.org/719996 Signed-off-by: Michał Górny --- diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild index e93e988df379..a1904fda3eee 100644 --- a/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild +++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild @@ -18,6 +18,9 @@ IUSE="" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/pytest-4.4[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND}" +BDEPEND=" + test? ( + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) + )" distutils_enable_tests pytest