mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-18 04:37:36 -05:00
gnu: python-colorlog: Update to 6.6.0.
* gnu/packages/python-xyz.scm (python-colorlog): Update to 6.6.0. [source]: Make some cosmetic changes. [arguments]<#:phases>: Simplify custom 'check phase and respect #:tests?. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
df1e2353df
commit
abb259b1bf
1 changed files with 15 additions and 12 deletions
|
@ -769,21 +769,24 @@ (define-public python-pytelegrambotapi
|
||||||
(define-public python-colorlog
|
(define-public python-colorlog
|
||||||
(package
|
(package
|
||||||
(name "python-colorlog")
|
(name "python-colorlog")
|
||||||
(version "4.1.0")
|
(version "6.6.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "colorlog" version))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (pypi-uri "colorlog" version))
|
||||||
(base32
|
(sha256
|
||||||
"1lpk8zmfv8vz090h5d0hzb4n39wgasxdd3x3bpn3v1x1n9dfzaih"))))
|
(base32 "1s7x0v872h8aks8xp01wmv6hzisxqjrh1svbbcycir0980h76krl"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#: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")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-pytest))
|
||||||
(arguments
|
|
||||||
`(#:phases (modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda _
|
|
||||||
(invoke "pytest" "-p" "no:logging"))))))
|
|
||||||
(home-page "https://github.com/borntyping/python-colorlog")
|
(home-page "https://github.com/borntyping/python-colorlog")
|
||||||
(synopsis "Log formatting with colors for python")
|
(synopsis "Log formatting with colors for python")
|
||||||
(description "The @code{colorlog.ColoredFormatter} is a formatter for use
|
(description "The @code{colorlog.ColoredFormatter} is a formatter for use
|
||||||
|
|
Loading…
Reference in a new issue