From d0dac0462c72d70a7865929c0c0f64e9960fd870 Mon Sep 17 00:00:00 2001 From: odrling Date: Sun, 31 Mar 2024 05:24:06 +0200 Subject: [PATCH] dev-python/typer: enable tests --- dev-python/typer/typer-0.12.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/typer/typer-0.12.0.ebuild b/dev-python/typer/typer-0.12.0.ebuild index bd4ce10..4a1162e 100644 --- a/dev-python/typer/typer-0.12.0.ebuild +++ b/dev-python/typer/typer-0.12.0.ebuild @@ -22,8 +22,13 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" -IUSE="+rich shell-detection" +IUSE="+rich shell-detection test" +BDEPEND=" + test? ( + $(python_gen_cond_dep 'dev-python/coverage[${PYTHON_USEDEP}]') + ) +" RDEPEND=" $(python_gen_cond_dep ' dev-python/click[${PYTHON_USEDEP}] @@ -32,3 +37,5 @@ RDEPEND=" shell-detection? ( dev-python/shellingham[${PYTHON_USEDEP}] ) ') " + +distutils_enable_tests pytest