commit:     8a756304d861e3f190ac3ffd5d5e65ea7db67a4c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 29 10:54:06 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 11:02:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a756304

dev-python/pytest-rerunfailures: Add missing mock py2-test-dep

Closes: https://bugs.gentoo.org/719996
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild 
b/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild
index e93e988df37..a1904fda3ee 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

Reply via email to