~ruther/guix-local

5fc8a1d6e925df2acd7146a32ed2d8c2f2a2e712 — Nicolas Graves 2 months ago ee27101
gnu: python-coloredlogs: Update to 15.0.1.

* gnu/packages/python-xyz.scm (python-coloredlogs): Update to 15.0.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Enable them.
<#:test-flags>: Disable failing tests.
[native-inputs]: Add python-pytest, python-setuptools,
python-verboselogs.

Change-Id: If21f11357fdce225de6caa3b7b77b6ef7ed6cb5b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 20 insertions(+), 10 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +20 -10
@@ 6257,20 6257,30 @@ for additional processing.")
(define-public python-coloredlogs
  (package
    (name "python-coloredlogs")
    (version "10.0")
    (version "15.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "coloredlogs" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/xolox/python-coloredlogs")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "0dkw6xp0r1dwgz4s2f58npx5nxfq51wf4l6qkm5ib27slgfs4sdq"))))
    (build-system python-build-system)
        (base32 "1c83h3cvd2qww2m9myxrnqh0lr9fllx8zfb26f64lcvwd3cli1sf"))))
    (build-system pyproject-build-system)
    (arguments
     `(;Tests require some updated modules
       #:tests? #f))
    (propagated-inputs
     (list python-capturer))
     (list
      #:test-flags
      #~(list "-k"
              (string-join
               (list "not test_auto_install" ; Unclear why this fails.
                     ;; XXX: Require a "script" executable.
                     "test_cli_conversion"
                     "test_empty_conversion"
                     "test_output_interception")
               " and not "))))
    (native-inputs (list python-pytest python-setuptools python-verboselogs))
    (propagated-inputs (list python-capturer))
    (home-page "https://coloredlogs.readthedocs.io")
    (synopsis "Colored stream handler for Python's logging module")
    (description