summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-03 07:42:54 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-03 08:19:11 +0100
commit219331d5828375a51b686c32c7de3e258f238a4e (patch)
tree6df0d7925972bf158ccb1828fd24e12951349fe9 /dev-python/qrcode
parentdev-python/cachecontrol: Clean PYTHON_COMPAT up (diff)
downloadgentoo-219331d5828375a51b686c32c7de3e258f238a4e.tar.gz
gentoo-219331d5828375a51b686c32c7de3e258f238a4e.tar.bz2
gentoo-219331d5828375a51b686c32c7de3e258f238a4e.zip
dev-python/qrcode: Bump to 7.4.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/qrcode')
-rw-r--r--dev-python/qrcode/Manifest1
-rw-r--r--dev-python/qrcode/qrcode-7.4.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/qrcode/Manifest b/dev-python/qrcode/Manifest
index ce4a91817c19..36e7a2d02cd8 100644
--- a/dev-python/qrcode/Manifest
+++ b/dev-python/qrcode/Manifest
@@ -1,2 +1,3 @@
DIST qrcode-7.3.1.tar.gz 43495 BLAKE2B 9986ee77752625e127008038c6c044b5adeb3bd526c27a55b23915190c3c9069adf1c6df1ce5f76cd0255f45319ecb66ebf226932666ea6c89872a46e13c1cd9 SHA512 9e0e508418164926a074d8c6d85419b39a36c01ac6d92415a15ce43d4aea79fa2a8d0167982f832970d2a68ec18d2b729f09e15d80b4f4c33b992999527d39f9
+DIST qrcode-7.4.1.tar.gz 535765 BLAKE2B 34ccf9a376a408de935ab4bd58ada6f9b97c79a118aa6aa17414e7c6607cad5dbf18e63b62a0df696fab6e6a4288af1a0690476d837d4549ee486645fd84081d SHA512 46e16b27f4b30f6b9d30a7b1dd12fea1fff9695f7cf3e8df018fa7118ce45446bbe64188d4669a62d5d094b3864f9064ed02afa63ac7ae37d7b54f59fe48e22a
DIST qrcode-7.4.tar.gz 535636 BLAKE2B 93434750d127eacd21ef44490407ad0ab4b1bc292681713b1ed11782b84e86e58548bee27b6e001c2235a1fb8af8a7166db8ebbbf468281ca312b31288e8dfdf SHA512 33be094ddb0a280704e49e2e06c37100bee282b9cf2d0727ccdf07557ad793f4b71ef250cd3eca0166fd9870aa76c936d8426c6a964d241879a67dd9a5765be6
diff --git a/dev-python/qrcode/qrcode-7.4.1.ebuild b/dev-python/qrcode/qrcode-7.4.1.ebuild
new file mode 100644
index 000000000000..03f7ce68a631
--- /dev/null
+++ b/dev-python/qrcode/qrcode-7.4.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="QR Code generator on top of PIL"
+HOMEPAGE="
+ https://github.com/lincolnloop/python-qrcode/
+ https://pypi.org/project/qrcode/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+# optional deps:
+# - pillow and lxml for svg backend, set as hard deps
+RDEPEND="
+ dev-python/lxml[${PYTHON_USEDEP}]
+ >=dev-python/pillow-9.1.0[${PYTHON_USEDEP}]
+ dev-python/pypng[${PYTHON_USEDEP}]
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # TODO
+ qrcode/tests/test_script.py::ScriptTest::test_factory
+)
+
+src_install() {
+ distutils-r1_src_install
+ doman doc/qr.1
+}