commit:     466d5c71a47c47b1b944f49c51a4d05036a47091
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  7 11:38:33 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct  7 12:20:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466d5c71

dev-python/termcolor: Strip implicit dep on coverage

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

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

diff --git a/dev-python/termcolor/termcolor-2.5.0.ebuild 
b/dev-python/termcolor/termcolor-2.5.0.ebuild
index f1e102666cdb..35c3f3f90c4e 100644
--- a/dev-python/termcolor/termcolor-2.5.0.ebuild
+++ b/dev-python/termcolor/termcolor-2.5.0.ebuild
@@ -25,3 +25,10 @@ BDEPEND="
 "
 
 distutils_enable_tests pytest
+
+src_prepare() {
+       distutils-r1_src_prepare
+
+       # avoid dep on coverage (to ignore warnings from coverage)
+       sed -i -e '/coverage/d' pyproject.toml || die
+}

Reply via email to