From e945c4e6defd380312b024d503057ec30c9bc4a0 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 2 Nov 2025 01:22:38 +0100 Subject: gnu: python-termcolor: Relax coverage requirements. * gnu/packages/python-xyz.scm (python-termcolor)[arguments] <#:phases>: Add phase 'relax-coverage-requirements. (python-termcolor-next)[name, arguments]: Set them. Change-Id: Icd184f39b0f9da33cfa9306c33639467dbf0cf80 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4a46ed213ee..c92cdda8da4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -37155,6 +37155,14 @@ ratio) (sha256 (base32 "0vwaxyr2vk8gi7s1slq74nb0ssbb0wcn208ziqp48j3dv8kqv3cr")))) (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-coverage-requirements + (lambda _ + (substitute* "pyproject.toml" + ((".*coverage.*") ""))))))) (native-inputs (list python-hatch-vcs python-hatchling @@ -37186,13 +37194,15 @@ ratio) (define-public python-termcolor-next (package (inherit python-termcolor) + (name "python-termcolor-next") (version "3.1.0") (source (origin (method url-fetch) (uri (pypi-uri "termcolor" version)) (sha256 - (base32 "0w2rwl4h7664illllkmicdh3fz3z3pznqxbaxkp0j6aqxvxxfvba")))))) + (base32 "0w2rwl4h7664illllkmicdh3fz3z3pznqxbaxkp0j6aqxvxxfvba")))) + (arguments '()))) (define-public python-terminaltables (package -- cgit v1.3