commit:     5813f3ad7a8112d54c6acb5de1e6fdbf3889f1ed
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 28 22:03:08 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 28 23:01:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5813f3ad

dev-python/pytest-mock: Add test dep on pytest-asyncio

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

 dev-python/pytest-mock/pytest-mock-3.7.0.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild 
b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
index bd52ca1d9ea7..741a457784be 100644
--- a/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
+++ b/dev-python/pytest-mock/pytest-mock-3.7.0.ebuild
@@ -15,8 +15,13 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~x64-macos"
 
-RDEPEND=">=dev-python/pytest-6[${PYTHON_USEDEP}]"
-BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
+RDEPEND="
+       >=dev-python/pytest-6[${PYTHON_USEDEP}]"
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+       )"
 
 distutils_enable_tests pytest
 

Reply via email to