From cf6e0232f34d81ead293c2b2a8697b2ca6b50760 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 10 Apr 2025 10:51:49 +0100 Subject: gnu: python-qrcode: Update to 8.0. * gnu/packages/python-xyz.scm (python-qrcode): Update to 8.0. [build-system]: Switch to pyproject. [arguments] : 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 575405ca396..f374a546dab 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25927,29 +25927,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 -- cgit v1.3