From 968069145b85cb2534b7225e046918ab29ff8437 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 1 Oct 2025 22:27:40 +0100 Subject: [PATCH] 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 54d1965c2b390dab028d7c06143c18761237783e..5f4c95442b49e6800757030a5eb63146587199dd 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