~ruther/guix-local

c8a847b2bf69a9dde69fd94af6e49e007f1be133 — Sharlatan Hellseher 7 months ago 70b8f3b
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
1 files changed, 5 insertions(+), 13 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +5 -13
@@ 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