~ruther/guix-local

6c2b1e48c25c8e0ebaa1019d74bbc165a8528711 — Nicolas Graves 2 months ago fe6941a
gnu: python-kitchen: Update to 1.2.6.

* gnu/packages/python-xyz.scm (python-kitchen): Update to 1.2.6.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore failing-tests.
<#:phases>: Add phase 'delete-broken-test-files.
[native-inputs]: Add python-pynose, python-setuptools.
[propagated-inpurs]: Remove python-chardet.
[description]: Improve style.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +29 -11
@@ 8193,22 8193,40 @@ something else) to Python data-types.")
(define-public python-kitchen
  (package
    (name "python-kitchen")
    (version "1.2.5")
    (version "1.2.6")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "kitchen" version))
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/fedora-infra/kitchen")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1zakh6l0yjvwic9p0nkvmbidpnkygkxbigh2skmb5gccyrhbp7xg"))))
    (build-system python-build-system)
    (propagated-inputs
     (list python-chardet))
        (base32 "1wf2m4yx5467vxg4scgzihb0q9q3k7fasgxanhrnxpp1a5l8l93n"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      #~(list "kitchen3"
              ;; XXX: Unclear why these tests fail.
              "-e" "test_invalid_fallback_no_raise"
              "-e" "test_internal_generate_combining_table"
              "-e" "test_lgettext"
              "-e" "test_lngettext"
              "-e" "test_easy_gettext_setup_non_unicode")
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'check 'delete-broken-test-files
            (lambda _
              (delete-file "kitchen3/tests/test__all__.py")
              (delete-file "kitchen3/tests/test_deprecation_py3.py"))))))
    (native-inputs (list python-pynose python-setuptools))
    (home-page "https://github.com/fedora-infra/kitchen")
    (synopsis "Python API for snippets")
    (description "@code{kitchen} module provides a python API for all sorts of
little useful snippets of code that everybody ends up writing for their projects
but never seem big enough to build an independent release.  Use kitchen and stop
    (description
     "@code{kitchen} module provides a python API for all sorts of little
useful snippets of code that everybody ends up writing for their projects but
never seem big enough to build an independent release.  Use kitchen and stop
cutting and pasting that code over and over.")
    (license (list license:lgpl2.1+
                   ;; subprocess.py, test_subprocess.py,