~ruther/guix-local

f8134478f260e6615f3f8ae335168e611b82747c — Nicolas Graves 4 months ago 0b13692
gnu: python-pykwalify: Update to 1.8.0.

* gnu/packages/python-xyz.scm (python-pykwalify): Update to 1.8.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Disable test flags.
[native-inputs]: Add python-pytest, python-setuptools and
python-testfixtures.
[propagated-inputs]: Add python-ruamel.yaml.
[synopsis]: Improve style.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +18 -10
@@ 29019,21 29019,29 @@ structure.")
(define-public python-pykwalify
  (package
    (name "python-pykwalify")
    (version "1.7.0")
    (version "1.8.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pykwalify" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/grokzen/pykwalify")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32
         "1cnfzkg1b01f825ikpw2fhjclf9c8akxjfrbd1vc22x1lg2kk2vy"))))
    (build-system python-build-system)
    (arguments '(#:tests? #f))          ;missing dependencies
        (base32 "1x46ray74hzqmsicq2qikxhdihyyz9himjmc5gvlvd8vzqr1gi8p"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags
      ;; XXX: yaml safe_dump() has been removed.
      #~(list "--ignore=tests/test_unicode.py"
              "--deselect=tests/test_core.py::TestCore::test_core_files")))
    (native-inputs
     (list python-pytest python-setuptools python-testfixtures))
    (propagated-inputs
     (list python-dateutil python-docopt python-pyyaml))
     (list python-dateutil python-docopt python-pyyaml python-ruamel.yaml))
    (home-page "https://github.com/grokzen/pykwalify")
    (synopsis
     "Python lib/cli for JSON/YAML schema validation")
    (synopsis "Python lib/cli for JSON/YAML schema validation")
    (description
     "This package provides a parser, schema validator, and data binding tool
for YAML and JSON.")