~ruther/guix-local

e540ba4891ab9309c89b7f0cf4e427235859211b — Sharlatan Hellseher 5 months ago 9b191b5
gnu: python-yq: Update to 3.4.3.

* gnu/packages/python-xyz.scm (python-yq): Update to 3.4.3.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'custom.
<test-flags>: Provide them.
[inputs]: Remove python-argcomplete, python-pyyaml, python-xmltodict,
and python-toml.
[propagated-inputs]: Add python-argcomplete, python-pyyaml,
python-tomlkit, and python-xmltodict.
[native-inputs]: Remove python-coverage, python-flake8,
python-setuptools-scm, and python-wheel; add python-hatchling and
python-hatch-vcs.

Change-Id: I1e32861d9471c68b00110d6dd9e0fad6d575660a
1 files changed, 14 insertions(+), 6 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +14 -6
@@ 28663,16 28663,18 @@ style guide, even if the original code didn't violate the style guide.")
(define-public python-yq
  (package
    (name "python-yq")
    (version "3.1.0")
    (version "3.4.3")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "yq" version))
       (sha256
        (base32 "1wklgs3d9si475nffw9agq5kgk8bdicbsmlj4sx4kiw64ji4ma1h"))))
    (build-system python-build-system)
        (base32 "0fvf4n7wpbc0gdxhw8c008rcv092vw96f84j5xdp1krhdwd6ln5s"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-backend #~'custom
      #:test-flags #~(list "test/test.py" "-v")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'patch


@@ 28682,10 28684,16 @@ style guide, even if the original code didn't violate the style guide.")
                 (string-append
                  "Popen([\""
                  #$(this-package-input "jq") "/bin/jq"))))))))
    (inputs
     (list python-argcomplete python-pyyaml python-xmltodict python-toml jq))
    (native-inputs
     (list python-coverage python-flake8 python-setuptools-scm python-wheel))
     (list python-hatchling
           python-hatch-vcs))
    (inputs
     (list jq))
    (propagated-inputs
     (list python-argcomplete
           python-pyyaml
           python-tomlkit
           python-xmltodict))
    (home-page "https://github.com/kislyuk/yq")
    (synopsis "Command-line YAML/XML processor")
    (description