mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
31f57ae7df
commit
714baf2295
1 changed files with 16 additions and 5 deletions
|
@ -16493,18 +16493,29 @@ a hash value.")
|
||||||
(define-public python-termcolor
|
(define-public python-termcolor
|
||||||
(package
|
(package
|
||||||
(name "python-termcolor")
|
(name "python-termcolor")
|
||||||
(version "1.1.0")
|
(version "2.4.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "termcolor" version))
|
(uri (pypi-uri "termcolor" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0fv1vq14rpqwgazxg4981904lfyp84mnammw7y046491cv76jv8x"))))
|
"0ykvmjrsjr5w4h63x7qmx6rsdb1p5a4nv8wgg7nl3b688xhfbfda"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; There are no tests.
|
(list
|
||||||
`(#:tests? #f))
|
#: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/")
|
(home-page "https://pypi.org/project/termcolor/")
|
||||||
(synopsis "ANSII Color formatting for terminal output")
|
(synopsis "ANSII Color formatting for terminal output")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue