guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit bce366b31573d4d0a3dd1cb306c38966d16c8a9e
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Tue Aug 5 13:08:31 2025 +0100

    gnu: python-olefile: Update to 0.47.
    
    * gnu/packages/python-xyz.scm (python-olefile): Update to 0.47.
      [source]: Switch to git-fetch.
      [build-system]: Use pypproject.
      [native-inputs]: Add python-pytest and python-setuptools.
    
    Change-Id: Ia74e58310f6810a888b7d20b44aed2bfa0a6e2c7
---
 gnu/packages/python-xyz.scm | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0893a4ca38..51f54a1125 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12236,17 +12236,20 @@ Python's distutils.")
 (define-public python-olefile
   (package
     (name "python-olefile")
-    (version "0.46")
+    (version "0.47")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/decalage2/olefile/releases/";
-                           "download/v" version "/olefile-" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/decalage2/olefile";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1kjxh4gr651hpqkjfv89cfzr40hyvf3vjlda7mifiail83j7j07m"))))
-    (build-system python-build-system)
+        (base32 "1ardfp32jgijha6vk7znvnpwgi710c6gj02lk4drv45xj4mw71hv"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-setuptools))
     (home-page "https://www.decalage.info/python/olefileio";)
     (synopsis "Read and write Microsoft OLE2 files")
     (description

Reply via email to