From f2527aaa23053a9711452fe772c6f601dc1cd24c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 9 Aug 2025 23:47:53 +0100 Subject: [PATCH] gnu: python-untangle: Update to 1.2.1-2.7eec044. * gnu/packages/xml.scm (python-untangle): Update to 1.2.1-2.7eec044. [build-system]: Use pyproject. [arguments]: Dropp them. [propagated-inputs]: Add python-defusedxml. [native-inputs]: Add python-poetry-core and python-pytest. Change-Id: I811928c729e6c89034734b3998c52d6aa1e4b94d --- gnu/packages/xml.scm | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 7ad9882d50768181d0cb0f9e562fde513e22b8ac..336beed66415a206c8d2fa56e46c6a8619ac9312 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -2026,13 +2026,12 @@ content, it is not appropriate for security sensitive environments.") (license license:bsd-3))) (define-public python-untangle - ;; The latest tagged release is from 2014; use the latest commit. - (let ((revision "1") - (commit "fb916a9621175d000a3b0ca9322d3b3ebf8570c0")) + ;; The latest tagged release is from 2022; use the latest commit. + (let ((revision "2") + (commit "7eec044b6c78f58cc6d8f183b2f9a511bfc334f8")) (package (name "python-untangle") - ;; PyPI currently offers some untagged 1.1.1 version. - (version (git-version "1.1.1" revision commit)) + (version (git-version "1.2.1" revision commit)) (source (origin (method git-fetch) ;no tests in pypi archive @@ -2041,13 +2040,13 @@ content, it is not appropriate for security sensitive environments.") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "0dn2jz9ajncbqx3pdlgqaxmngl6pdiaz03nj8mkddasckdq9lbrh")))) - (build-system python-build-system) - (arguments (list #:phases #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "tests/tests.py"))))))) + (base32 "0pcwcrga8cgrqyyzfj01vkqv3xrzl0a8xa5yfi06byk6d85rv6zf")))) + (build-system pyproject-build-system) + (native-inputs + (list python-poetry-core + python-pytest)) + (propagated-inputs + (list python-defusedxml)) (home-page "http://0chris.com/untangle") (synopsis "XML to Python objects conversion library") (description "@code{untangle} is a tiny Python library which converts an