sharlatan pushed a commit to branch python-team in repository guix. commit 4702e8234117707dba7cf1d6b27410f23d07e78e Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Thu Apr 10 10:51:49 2025 +0100
gnu: python-qrcode: Update to 8.0. * gnu/packages/python-xyz.scm (python-qrcode): Update to 8.0. [build-system]: Switch to pyproject. [arguments] <tests?>: Enable them. [propagated-inputs]: Remove python-lxml; add python-pypng. [native-inputs]: Add python-poetry-core and python-pytest. [description]: Fix fill column indentation. Change-Id: I1b4cf8c3a7ff470b9cc1f0fbaebab26f68d3aef3 --- gnu/packages/python-xyz.scm | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 65669287cc..bb29cbc0d2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25916,29 +25916,29 @@ creating a tag.") (define-public python-qrcode (package (name "python-qrcode") - (version "7.3.1") + (version "8.0") (source (origin (method url-fetch) (uri (pypi-uri "qrcode" version)) (sha256 - (base32 "0y35jlwfvkgn9341lzshyaqgpp61vysjh107vhdd96ya83r6ynip")))) - (build-system python-build-system) - (arguments - ;; FIXME: Tests require packaging 'pymaging'. - '(#:tests? #f)) + (base32 "0iz3pj67b90k2racwzbf9yml6rjs8nnrpvhns6b45zppa2qy4p02")))) + (build-system pyproject-build-system) + (native-inputs + (list python-poetry-core + python-pytest)) (propagated-inputs - (list python-lxml ; for SVG output - python-pillow)) ; for PNG output + (list python-pillow + python-pypng)) (home-page "https://github.com/lincolnloop/python-qrcode") (synopsis "QR Code image generator") - (description "This package provides a pure Python QR Code generator - module. It uses the Python Imaging Library (PIL) to allow for the generation - of QR Codes. + (description + "This package provides a pure Python QR Code generator module. It uses +the Python Imaging Library (PIL) to allow for the generation of QR Codes. - In addition this package provides a command line tool to generate QR codes and - either write these QR codes to a file or do the output as ascii art at the - console.") +In addition this package provides a command line tool to generate QR codes and +either write these QR codes to a file or do the output as ascii art at the +console.") (license license:bsd-3))) (define-public python-rst2ansi