summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-01-28 23:03:08 +0100
committerMichał Górny <mgorny@gentoo.org>2022-01-29 00:01:28 +0100
commit5813f3ad7a8112d54c6acb5de1e6fdbf3889f1ed (patch)
tree783b0250f88a45f654bd5624a6a6efd48dbd44ef /dev-python/pytest-mock
parentdev-python/dask: Bump to 2022.01.1 (diff)
downloadgentoo-5813f3ad7a8112d54c6acb5de1e6fdbf3889f1ed.tar.gz
gentoo-5813f3ad7a8112d54c6acb5de1e6fdbf3889f1ed.tar.bz2
gentoo-5813f3ad7a8112d54c6acb5de1e6fdbf3889f1ed.zip
dev-python/pytest-mock: Add test dep on pytest-asyncio
Closes: https://bugs.gentoo.org/832225 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-mock')
-rw-r--r--dev-python/pytest-mock/pytest-mock-3.7.0.ebuild9
1 files 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