dev-python/coverage: Explicitly depend on dev-python/tomli

To avoid transitive dependencies on TOML provider in other packages
(e.g. dev-python/pytest-cov), just depend on it unconditionally here.
It's not like our build systems don't depend on it, and it's needed
only for Python < 3.11 anyway.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-10-12 16:52:32 +02:00
parent 75b5e1299b
commit e572376426
2 changed files with 10 additions and 0 deletions
@@ -21,6 +21,11 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
RDEPEND="
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' 3.{8..10})
"
BDEPEND="
test? (
dev-python/flaky[${PYTHON_USEDEP}]
@@ -21,6 +21,11 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
RDEPEND="
$(python_gen_cond_dep '
dev-python/tomli[${PYTHON_USEDEP}]
' 3.{8..10})
"
BDEPEND="
test? (
dev-python/flaky[${PYTHON_USEDEP}]