commit:     60980616234b2fae04fb0faf3178201f9bd02eba
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 31 13:49:47 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 31 14:47:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60980616

dev-python/prettytable: Remove implicit test dep on coverage

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

 dev-python/prettytable/prettytable-3.12.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/prettytable/prettytable-3.12.0.ebuild 
b/dev-python/prettytable/prettytable-3.12.0.ebuild
index 7534eb3a5992..3d4cac4245d7 100644
--- a/dev-python/prettytable/prettytable-3.12.0.ebuild
+++ b/dev-python/prettytable/prettytable-3.12.0.ebuild
@@ -30,3 +30,10 @@ BDEPEND="
 "
 
 distutils_enable_tests pytest
+
+src_prepare() {
+       distutils-r1_src_prepare
+
+       # remove the implicit dep on coverage
+       sed -i -e '/coverage/d' pyproject.toml || die
+}

Reply via email to