gnu: python-colorlog: Update to 6.9.0.

* gnu/packages/python-xyz.scm (python-colorlog): Update to 6.9.0.
[build-system] Use pyproject.
[arguments] <phases>: Use default 'check.
[native-inputs]: Add python-setuptools.

Change-Id: I7b054c74b0c3faf7d0221fef670edb649fce4631
This commit is contained in:
Sharlatan Hellseher 2025-08-16 19:43:55 +01:00
parent 7846d0c2f4
commit 1bf0bdf294
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3302,25 +3302,17 @@ package descriptions or to unify multiple existing APIs into a single API.")
(define-public python-colorlog
(package
(name "python-colorlog")
(version "6.6.0")
(version "6.9.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "colorlog" version))
(sha256
(base32 "1s7x0v872h8aks8xp01wmv6hzisxqjrh1svbbcycir0980h76krl"))))
(build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "python" "-m" "pytest")))))))
(base32 "1hka1kf6p53hppv05xsa5byr4gasfaaq7r2g3x7gb51vp6hm9fmz"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest))
(list python-pytest
python-setuptools))
(home-page "https://github.com/borntyping/python-colorlog")
(synopsis "Log formatting with colors for python")
(description "The @code{colorlog.ColoredFormatter} is a formatter for use