~ruther/guix-local

9a29453aa638fe4cd13c5b9e038713ca443682bd — Sharlatan Hellseher 6 months ago 9635b81
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
1 files changed, 5 insertions(+), 5 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +5 -5
@@ 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/")