summaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-31 21:06:53 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:28 +0100
commitab0c70e27eff93b50a5de67a754ec731cef413ba (patch)
tree9fa00f27acea3279fb979976fcab0aeb8c8a6972 /gnu/packages/xml.scm
parent72c177d747e778224594fc7c8bd5dbcc36d54fb9 (diff)
gnu: python-defusedxml: Update to 0.7.1-0.c744588.
* gnu/packages/xml.scm (python-defusedxml): Update to 0.7.1-0.c744588. [source]: Switch to git-fetch. [arguments]: Run a custom test-suite. [native-inputs]: Remove python-wheel. Change-Id: If80357c1c4a18e0ca910ec245141ecad7649b08e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm22
1 files changed, 16 insertions, 6 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index d0f92bfbc9f..6e730cfab4a 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1511,18 +1511,28 @@ files. It is designed to be fast and to handle large input files.")
1511(define-public python-defusedxml 1511(define-public python-defusedxml
1512 (package 1512 (package
1513 (name "python-defusedxml") 1513 (name "python-defusedxml")
1514 (version "0.7.1") 1514 (properties '((commit . "c7445887f5e1bcea470a16f61369d29870cfcfe1")
1515 (revision . "0")))
1516 (version (git-version "0.7.1"
1517 (assoc-ref properties 'revision)
1518 (assoc-ref properties 'commit)))
1515 (source 1519 (source
1516 (origin 1520 (origin
1517 (method url-fetch) 1521 (method git-fetch)
1518 (uri (pypi-uri "defusedxml" version)) 1522 (uri (git-reference
1523 (url "https://github.com/tiran/defusedxml")
1524 (commit (assoc-ref properties 'commit))))
1525 (file-name (git-file-name name version))
1519 (sha256 1526 (sha256
1520 (base32 "0s9ym98jrd819v4arv9gmcr6mgljhxd9q866sxi5p4c5n4nh7cqv")))) 1527 (base32 "08926fginj14ahbym34va7rawfvnqq46hbfx33g66rw5lajcl4yq"))))
1521 (build-system pyproject-build-system) 1528 (build-system pyproject-build-system)
1529 (arguments
1530 (list
1531 #:test-backend #~'custom
1532 #:test-flags #~(list "tests.py")))
1522 (home-page "https://github.com/tiran/defusedxml") 1533 (home-page "https://github.com/tiran/defusedxml")
1523 (native-inputs 1534 (native-inputs
1524 (list python-setuptools 1535 (list python-setuptools))
1525 python-wheel))
1526 (synopsis "XML bomb protection for Python stdlib modules") 1536 (synopsis "XML bomb protection for Python stdlib modules")
1527 (description 1537 (description
1528 "Defusedxml provides XML bomb protection for Python stdlib modules.") 1538 "Defusedxml provides XML bomb protection for Python stdlib modules.")