~ruther/guix-local

f2527aaa23053a9711452fe772c6f601dc1cd24c — Sharlatan Hellseher 8 months ago f389125
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
1 files changed, 11 insertions(+), 12 deletions(-)

M gnu/packages/xml.scm
M gnu/packages/xml.scm => gnu/packages/xml.scm +11 -12
@@ 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