summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-02 01:22:38 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:29 +0100
commite945c4e6defd380312b024d503057ec30c9bc4a0 (patch)
tree7cc259078ec27cdf13927b2549721d3128b892cf /gnu
parent86b1a3a1b19a50b0c758d68dc69665951ff37f35 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 11 insertions, 1 deletions
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