From e540ba4891ab9309c89b7f0cf4e427235859211b Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 2 Oct 2025 22:54:57 +0100 Subject: [PATCH] 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] : Use 'custom. : 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 --- gnu/packages/python-xyz.scm | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0fffeaa0402e98c87b435f2cd6e24436b07346ef..1aedb528ff8ac7bc6f2ecf6ffad0d62c7be5174e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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