From 5f3e41a9fc601ad0a86949dd4c6f7758bed04d1a Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 25 Oct 2025 15:36:46 +0200 Subject: [PATCH] gnu: python-odfpy: Update to 1.4.2. * gnu/packages/python-xyz.scm (python-odfpy): Update to 1.4.2. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I340d6ce07ba1667cd508a7f44558b337d9d144c4 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 90216be88c50a4e909199c34b283f11ba06edb88..2d47140763f1e8f3f009b0b241478be7a86a895b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23093,28 +23093,24 @@ used for tasks where having a database involved is unusual.") (define-public python-odfpy (package (name "python-odfpy") - (version "1.4.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "odfpy" version)) - (sha256 - (base32 - "1v1qqk9p12qla85yscq2g413l3qasn6yr4ncyc934465b5p6lxnv")))) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) - (build-system python-build-system) - (native-inputs - (list python-pytest)) - (propagated-inputs - (list python-defusedxml)) + (version "1.4.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eea/odfpy") + (commit (string-append "release-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15y0fvkk8akgx30dxld7mdqhdrrkwr16jy1q0znkzvwcgmpywrf4")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-setuptools)) + (propagated-inputs (list python-defusedxml)) (home-page "https://github.com/eea/odfpy") (synopsis "Python API and tools to manipulate OpenDocument files") - (description "Collection of libraries and utility programs written in - Python to manipulate OpenDocument 1.2 files.") + (description + "Collection of libraries and utility programs written in Python to +manipulate OpenDocument 1.2 files.") (license ;; The software is mainly dual GPL2+ and ASL2.0, but includes a ;; number of files with other licenses.