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

commit 494c9a3c87946a36447ffba7aedf932df75a8257
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jun 11 15:28:47 2026 +0100

    gnu: python-imagesize: Update to 2.0.0.
    
    * gnu/packages/python-xyz.scm (python-imagesize): Update to 2.0.0.
    [source]: Switch to git-fetch.
    [native-inputs]: Remove python-wheel.
    
    Change-Id: I0eefe3f98d186c549cc50df71a229061d9a1a643
---
 gnu/packages/python-xyz.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f9b032c3fd..3e29523acb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24645,18 +24645,20 @@ Werman's implementation of the Earth Mover's 
Distance.")
 (define-public python-imagesize
   (package
     (name "python-imagesize")
-    (version "1.4.1")
+    (version "2.0.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "imagesize" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/shibukawa/imagesize_py";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0jndjx26p8qibrx997p3kb6vfbqbdxkv74jsrkav177vmx2085b9"))))
+        (base32 "1r07r80d16hkwhnmz6sfvj8d4s3d6wg82j99dbr3iy78gc48wia0"))))
     (build-system pyproject-build-system)
     (arguments (list #:test-backend #~'unittest))
     (native-inputs
-     (list python-setuptools
-           python-wheel))
+     (list python-setuptools))
     (home-page "https://github.com/shibukawa/imagesize_py";)
     (synopsis "Gets image size of files in various formats in Python")
     (description

Reply via email to