summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-02 22:54:57 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-02 22:55:08 +0100
commite540ba4891ab9309c89b7f0cf4e427235859211b (patch)
tree7f8a25c6df0d76a8682124dba1f2f50320fd9946 /gnu/packages/python-xyz.scm
parent9b191b56ce6f74e22745684007105dfd80ebae7d (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 14 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0fffeaa040..1aedb528ff 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