summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-01 05:25:11 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-01 05:57:04 +0100
commitd7b55aab2635bdd9e6903e5d6843c8b1053f2740 (patch)
tree6459c93980f2ca70baa2e5dbd89da382a04880cf /dev-python/qrcode
parentdev-python/tox: Bump to 4.4.4 (diff)
downloadgentoo-d7b55aab2635bdd9e6903e5d6843c8b1053f2740.tar.gz
gentoo-d7b55aab2635bdd9e6903e5d6843c8b1053f2740.tar.bz2
gentoo-d7b55aab2635bdd9e6903e5d6843c8b1053f2740.zip
dev-python/qrcode: Bump to 7.4
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.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/qrcode/Manifest b/dev-python/qrcode/Manifest
index 33f6d84d96dc..ce4a91817c19 100644
--- a/dev-python/qrcode/Manifest
+++ b/dev-python/qrcode/Manifest
@@ -1 +1,2 @@
DIST qrcode-7.3.1.tar.gz 43495 BLAKE2B 9986ee77752625e127008038c6c044b5adeb3bd526c27a55b23915190c3c9069adf1c6df1ce5f76cd0255f45319ecb66ebf226932666ea6c89872a46e13c1cd9 SHA512 9e0e508418164926a074d8c6d85419b39a36c01ac6d92415a15ce43d4aea79fa2a8d0167982f832970d2a68ec18d2b729f09e15d80b4f4c33b992999527d39f9
+DIST qrcode-7.4.tar.gz 535636 BLAKE2B 93434750d127eacd21ef44490407ad0ab4b1bc292681713b1ed11782b84e86e58548bee27b6e001c2235a1fb8af8a7166db8ebbbf468281ca312b31288e8dfdf SHA512 33be094ddb0a280704e49e2e06c37100bee282b9cf2d0727ccdf07557ad793f4b71ef250cd3eca0166fd9870aa76c936d8426c6a964d241879a67dd9a5765be6
diff --git a/dev-python/qrcode/qrcode-7.4.ebuild b/dev-python/qrcode/qrcode-7.4.ebuild
new file mode 100644
index 000000000000..03f7ce68a631
--- /dev/null
+++ b/dev-python/qrcode/qrcode-7.4.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
+}