summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-12 16:06:37 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-12 16:52:32 +0200
commite572376426d1f576c412a2b6281d1b4e86da4547 (patch)
treecfda2bf328a3a50c5c47e1c73d33a0a3ae3d193a /dev-python/coverage
parentvirtual/dist-kernel: Bump to 5.19.15 (diff)
downloadgentoo-e572376426d1f576c412a2b6281d1b4e86da4547.tar.gz
gentoo-e572376426d1f576c412a2b6281d1b4e86da4547.tar.bz2
gentoo-e572376426d1f576c412a2b6281d1b4e86da4547.zip
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>
Diffstat (limited to 'dev-python/coverage')
-rw-r--r--dev-python/coverage/coverage-6.4.4-r1.ebuild (renamed from dev-python/coverage/coverage-6.4.4.ebuild)5
-rw-r--r--dev-python/coverage/coverage-6.5.0-r1.ebuild (renamed from dev-python/coverage/coverage-6.5.0.ebuild)5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/coverage/coverage-6.4.4.ebuild b/dev-python/coverage/coverage-6.4.4-r1.ebuild
index 46cfdde3d0d1..d0af269cf673 100644
--- a/dev-python/coverage/coverage-6.4.4.ebuild
+++ b/dev-python/coverage/coverage-6.4.4-r1.ebuild
@@ -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}]
diff --git a/dev-python/coverage/coverage-6.5.0.ebuild b/dev-python/coverage/coverage-6.5.0-r1.ebuild
index e2e5a9ba699a..ffeda11b21d4 100644
--- a/dev-python/coverage/coverage-6.5.0.ebuild
+++ b/dev-python/coverage/coverage-6.5.0-r1.ebuild
@@ -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}]