me
/
guix
Archived
1
0
Fork 0

gnu: python-termcolor: Update to 2.4.0.

* gnu/packages/python-xyz.scm (python-termcolor): Update to 2.4.0.
[build-system]: Use pyproject-build-system.
[arguments]: Add 'fix-pyproject build phase.
[native-inputs]: Add python-hatch-vcs, python-hatchling, python-pytest, and
python-pytest-cov.

Change-Id: I1b824ca6f125305169c3f64f00dbacbeb77d0ed0
master
Ricardo Wurmus 2024-05-02 23:00:20 +02:00
parent 31f57ae7df
commit 714baf2295
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 16 additions and 5 deletions

View File

@ -16493,18 +16493,29 @@ a hash value.")
(define-public python-termcolor
(package
(name "python-termcolor")
(version "1.1.0")
(version "2.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "termcolor" version))
(sha256
(base32
"0fv1vq14rpqwgazxg4981904lfyp84mnammw7y046491cv76jv8x"))))
(build-system python-build-system)
"0ykvmjrsjr5w4h63x7qmx6rsdb1p5a4nv8wgg7nl3b688xhfbfda"))))
(build-system pyproject-build-system)
(arguments
;; There are no tests.
`(#:tests? #f))
(list
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'fix-pyproject
(lambda _
;; The build system doesn't like to hear of Python 3.13.
(substitute* "pyproject.toml"
((" \"Programming Language .*") "")))))))
(native-inputs
(list python-hatch-vcs
python-hatchling
python-pytest
python-pytest-cov))
(home-page "https://pypi.org/project/termcolor/")
(synopsis "ANSII Color formatting for terminal output")
(description