1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-pyzbar: Update to 0.1.9.

* gnu/packages/python-xyz.scm (python-pyzbar): Update to 0.1.9.
[build-system]: Switch to pyproject-build-system.
[arguments] <test-backend>: Use 'unittest.
[native-inputs]: Add python-setuptools.

Change-Id: Ifa9a37eff2308c9d3a87902c610e010d49dd75d7
This commit is contained in:
Sharlatan Hellseher
2025-10-01 22:48:54 +01:00
parent 9635b811c0
commit 9a29453aa6

View File

@@ -28902,20 +28902,20 @@ Week instances stringify to this form.")
(define-public python-pyzbar
(package
(name "python-pyzbar")
(version "0.1.8")
(version "0.1.9")
(source
(origin
;; There's no source tarball on PyPI.
(method git-fetch)
(uri (git-reference
(url "https://github.com/NaturalHistoryMuseum/pyzbar")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1fqlfg5p2v9lzzzi0si2sz54lblprk6jjjhjw54b64lp58c1yhsl"))))
(build-system python-build-system)
(base32 "1df1dvr8i2wyr2vw5pq8rlz2wm4xqda0wbgja19bvql1m9im11ph"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-backend #~'unittest
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-test
@@ -28930,7 +28930,7 @@ Week instances stringify to this form.")
(("find_library\\('zbar'\\)")
(string-append "'" libzbar "/lib/libzbar.so.0'")))))))))
(native-inputs
(list pkg-config python-numpy python-pillow))
(list pkg-config python-numpy python-pillow python-setuptools))
(inputs
(list zbar))
(home-page "https://github.com/NaturalHistoryMuseum/pyzbar/")