guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5f3e41a9fc601ad0a86949dd4c6f7758bed04d1a
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 25 15:36:46 2025 +0200

    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 <[email protected]>
---
 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 90216be88c..2d47140763 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.

Reply via email to