summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 22:27:40 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 22:27:47 +0100
commit968069145b85cb2534b7225e046918ab29ff8437 (patch)
tree644f235c79fb33fd8a262feb43aa668427966304 /gnu/packages/python-xyz.scm
parentf6034efe9c8b084da4a3627cbcde38794dc3dcca (diff)
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm19
1 files 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