summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 22:53:13 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 22:55:26 +0100
commit981bf236a9548a62bd76d1ed4b01a776a7b481c2 (patch)
tree032a15ca987d602fa60d96606c37e9e7531e12a8 /gnu/packages/python-xyz.scm
parent9a29453aa638fe4cd13c5b9e038713ca443682bd (diff)
gnu: python-pyzbar: Move to aidc.
* gnu/packages/python-xyz.scm (python-pyzbar): Move from here ... * gnu/packages/aidc.scm: ... to here. * gnu/packages/engineering.scm: Add aidc module. Change-Id: I0dc9a15c97b2a96bca51edbe5b8563bb89ff1e6e
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm49
1 files changed, 0 insertions, 49 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cddbf05b72..375610e27c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28899,55 +28899,6 @@ a notation for identifying weeks; yyyyWww (where the W is a literal).
Week instances stringify to this form.")
(license license:bsd-3)))
-(define-public python-pyzbar
- (package
- (name "python-pyzbar")
- (version "0.1.9")
- (source
- (origin
- (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 "1df1dvr8i2wyr2vw5pq8rlz2wm4xqda0wbgja19bvql1m9im11ph"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-backend #~'unittest
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'remove-failing-test
- (lambda _
- ;; This tests if find_library was called once, but we remove
- ;; the call in the stage below to make the library find libzbar.
- (delete-file "pyzbar/tests/test_zbar_library.py")))
- (add-before 'build 'set-library-file-name
- (lambda _
- (let ((libzbar #$(this-package-input "zbar")))
- (substitute* "pyzbar/zbar_library.py"
- (("find_library\\('zbar'\\)")
- (string-append "'" libzbar "/lib/libzbar.so.0'")))))))))
- (native-inputs
- (list pkg-config python-numpy python-pillow python-setuptools))
- (inputs
- (list zbar))
- (home-page "https://github.com/NaturalHistoryMuseum/pyzbar/")
- (synopsis "Read one-dimensional barcodes and QR codes")
- (description
- "Read one-dimensional barcodes and QR codes using the zbar library.
-
-Features:
-
-@itemize
-@item Pure python
-@item Works with PIL / Pillow images, OpenCV / numpy ndarrays, and raw bytes
-@item Decodes locations of barcodes
-@item No dependencies, other than the zbar library itself
-@end itemize")
- (license license:expat)))
-
(define-public python-tokenize-rt
(package
(name "python-tokenize-rt")