From 3649ef5fb117314a899c987506e03a84023c9f56 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Sun, 12 Feb 2023 17:07:16 +0800 Subject: python3-qrcode: upgrade 7.3.1 -> 7.4.2 Changelog: ========== - Allow pypng factory to allow for saving to a string (like qr.save("some_file.png")) in addition to file-like objects. - Fix bad over-optimization in v7.4 that broke large QR codes. Thanks to mattiasj-axis! - Restructure the factory drawers, allowing different shapes in SVG image factories as well. - Add a --factory-drawer option to the qr console script. - Optimize the output for the SVGPathImage factory (more than 30% reduction in file sizes). - Add a pypng image factory as a pure Python PNG solution. If pillow is not installed, then this becomes the default factory. - The pymaging image factory has been removed, but its factory shortcut and the actual PymagingImage factory class now just link to the PyPNGImage factory. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb (limited to 'meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb b/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb new file mode 100644 index 0000000000..8c0429bbb1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-qrcode_7.4.2.bb @@ -0,0 +1,11 @@ +SUMMARY = "QR Code image generator" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9" + +PYPI_PACKAGE = "qrcode" +SRC_URI[sha256sum] = "9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845" + +inherit pypi setuptools3 + +RDEPENDS:${PN} = "python3-six python3-pillow" -- cgit v1.2.3-54-g00ecf