diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-09 23:47:53 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:01 +0100 |
| commit | f2527aaa23053a9711452fe772c6f601dc1cd24c (patch) | |
| tree | a3da62249ca70857169ef720ff53d0cb6f153cd8 /gnu/packages | |
| parent | f38912514e7ee643e7e90b0841f55f944d610dfa (diff) | |
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
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/xml.scm | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 7ad9882d507..336beed6641 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm | |||
| @@ -2026,13 +2026,12 @@ content, it is not appropriate for security sensitive environments.") | |||
| 2026 | (license license:bsd-3))) | 2026 | (license license:bsd-3))) |
| 2027 | 2027 | ||
| 2028 | (define-public python-untangle | 2028 | (define-public python-untangle |
| 2029 | ;; The latest tagged release is from 2014; use the latest commit. | 2029 | ;; The latest tagged release is from 2022; use the latest commit. |
| 2030 | (let ((revision "1") | 2030 | (let ((revision "2") |
| 2031 | (commit "fb916a9621175d000a3b0ca9322d3b3ebf8570c0")) | 2031 | (commit "7eec044b6c78f58cc6d8f183b2f9a511bfc334f8")) |
| 2032 | (package | 2032 | (package |
| 2033 | (name "python-untangle") | 2033 | (name "python-untangle") |
| 2034 | ;; PyPI currently offers some untagged 1.1.1 version. | 2034 | (version (git-version "1.2.1" revision commit)) |
| 2035 | (version (git-version "1.1.1" revision commit)) | ||
| 2036 | (source | 2035 | (source |
| 2037 | (origin | 2036 | (origin |
| 2038 | (method git-fetch) ;no tests in pypi archive | 2037 | (method git-fetch) ;no tests in pypi archive |
| @@ -2041,13 +2040,13 @@ content, it is not appropriate for security sensitive environments.") | |||
| 2041 | (commit commit))) | 2040 | (commit commit))) |
| 2042 | (file-name (git-file-name name version)) | 2041 | (file-name (git-file-name name version)) |
| 2043 | (sha256 | 2042 | (sha256 |
| 2044 | (base32 "0dn2jz9ajncbqx3pdlgqaxmngl6pdiaz03nj8mkddasckdq9lbrh")))) | 2043 | (base32 "0pcwcrga8cgrqyyzfj01vkqv3xrzl0a8xa5yfi06byk6d85rv6zf")))) |
| 2045 | (build-system python-build-system) | 2044 | (build-system pyproject-build-system) |
| 2046 | (arguments (list #:phases #~(modify-phases %standard-phases | 2045 | (native-inputs |
| 2047 | (replace 'check | 2046 | (list python-poetry-core |
| 2048 | (lambda* (#:key tests? #:allow-other-keys) | 2047 | python-pytest)) |
| 2049 | (when tests? | 2048 | (propagated-inputs |
| 2050 | (invoke "python" "tests/tests.py"))))))) | 2049 | (list python-defusedxml)) |
| 2051 | (home-page "http://0chris.com/untangle") | 2050 | (home-page "http://0chris.com/untangle") |
| 2052 | (synopsis "XML to Python objects conversion library") | 2051 | (synopsis "XML to Python objects conversion library") |
| 2053 | (description "@code{untangle} is a tiny Python library which converts an | 2052 | (description "@code{untangle} is a tiny Python library which converts an |
