From d2972d8b0d5b8cf3a5ab5c7a323b1a6f8caddd01 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 9 Aug 2025 16:41:35 +0100 Subject: [PATCH] gnu: python-et-xmlfile: Update to 2.0.0. * gnu/packages/python-xyz.scm (python-et-xmlfile): Update to 2.0.0. [build-system]: Use pyproject. [arguments] : Use default 'check. [native-inputs]: Add python-setuptools. Change-Id: I8275f0b9980b1aa70785dcb4d60ff86b6a9053b9 --- gnu/packages/python-xyz.scm | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 58954c1744bb6da3bf073e0eb7bdebf64cc7fb7d..b9117304f7b31584e07624d7842e9fdafc18d206 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5574,7 +5574,7 @@ downloaded, or download a strip for a particular date or index, if possible.") (define-public python-et-xmlfile (package (name "python-et-xmlfile") - (version "1.1") + (version "2.0.0") (source (origin ;; Use a checkout because the PyPI archive does not contain tests. @@ -5584,17 +5584,12 @@ downloaded, or download a strip for a particular date or index, if possible.") (changeset version))) (file-name (string-append name "-" version "-checkout")) (sha256 - (base32 "09r8rjc5bhkqrm5c4n9jrlvad8vrvbyswl9g0wrc1qc7nzh9mpw7")))) - (build-system python-build-system) - (arguments - (list #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv"))))))) + (base32 "03pmmg6k2ajd83zhki8f0c1ndi7pq23bj9hm6f8hhd07maqksf5w")))) + (build-system pyproject-build-system) (native-inputs - (list python-pytest python-lxml)) ;used for the tests + (list python-pytest + python-lxml + python-setuptools)) (home-page "https://bitbucket.org/openpyxl/et_xmlfile") (synopsis "Low memory implementation of @code{lxml.xmlfile}") (description "This Python library is based upon the @code{xmlfile} module