1 |
commit: 8a756304d861e3f190ac3ffd5d5e65ea7db67a4c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 29 10:54:06 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 29 11:02:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a756304 |
7 |
|
8 |
dev-python/pytest-rerunfailures: Add missing mock py2-test-dep |
9 |
|
10 |
Closes: https://bugs.gentoo.org/719996 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild | 5 ++++- |
14 |
1 file changed, 4 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild |
17 |
index e93e988df37..a1904fda3ee 100644 |
18 |
--- a/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild |
19 |
+++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-8.0.ebuild |
20 |
@@ -18,6 +18,9 @@ IUSE="" |
21 |
|
22 |
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
23 |
>=dev-python/pytest-4.4[${PYTHON_USEDEP}]" |
24 |
-BDEPEND="${RDEPEND}" |
25 |
+BDEPEND=" |
26 |
+ test? ( |
27 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) |
28 |
+ )" |
29 |
|
30 |
distutils_enable_tests pytest |