guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 968069145b85cb2534b7225e046918ab29ff8437
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Oct 1 22:27:40 2025 +0100

    gnu: python-zbarlight: Fix tests.
    
    * gnu/packages/python-xyz.scm (python-zbarlight)[source]: Switch to
    git-fetch providing tests.
    [propagated-inputs]: Remove python-setuptools.
    [native-inputs]: Remove python-wheel; add python-pytest and
    python-setuptools.
    
    Change-Id: I9952f114c1cabf6270d2a990f39cf8e4b00738ae
---
 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 54d1965c2b..5f4c95442b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -40397,16 +40397,19 @@ way.")
   (package
     (name "python-zbarlight")
     (version "3.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "zbarlight" version))
-              (sha256
-               (base32
-                "1v5c9bim8af6g8kgxp2dhm96n5vkr8sqi56w0bdh1xy49v03lw3g"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Polyconseil/zbarlight";)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1radfpfhfhkx3xnz01bqr5l9pl2zv70zis6l2kw1gwqbfw65r6w6"))))
     (build-system pyproject-build-system)
-    (propagated-inputs (list python-pillow python-setuptools))
+    (propagated-inputs (list python-pillow))
     (inputs (list zbar))
-    (native-inputs (list python-wheel))
+    (native-inputs (list python-pytest python-setuptools))
     (home-page "https://github.com/Polyconseil/zbarlight";)
     (synopsis "Simple Python wrapper for the zbar barcode library")
     (description "Zbarlight is a simple wrapper for the zbar library.  It can

Reply via email to