1 |
commit: d7b55aab2635bdd9e6903e5d6843c8b1053f2740 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 04:25:11 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 04:57:04 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b55aab |
7 |
|
8 |
dev-python/qrcode: Bump to 7.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/qrcode/Manifest | 1 + |
13 |
dev-python/qrcode/qrcode-7.4.ebuild | 41 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/qrcode/Manifest b/dev-python/qrcode/Manifest |
17 |
index 33f6d84d96dc..ce4a91817c19 100644 |
18 |
--- a/dev-python/qrcode/Manifest |
19 |
+++ b/dev-python/qrcode/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST qrcode-7.3.1.tar.gz 43495 BLAKE2B 9986ee77752625e127008038c6c044b5adeb3bd526c27a55b23915190c3c9069adf1c6df1ce5f76cd0255f45319ecb66ebf226932666ea6c89872a46e13c1cd9 SHA512 9e0e508418164926a074d8c6d85419b39a36c01ac6d92415a15ce43d4aea79fa2a8d0167982f832970d2a68ec18d2b729f09e15d80b4f4c33b992999527d39f9 |
22 |
+DIST qrcode-7.4.tar.gz 535636 BLAKE2B 93434750d127eacd21ef44490407ad0ab4b1bc292681713b1ed11782b84e86e58548bee27b6e001c2235a1fb8af8a7166db8ebbbf468281ca312b31288e8dfdf SHA512 33be094ddb0a280704e49e2e06c37100bee282b9cf2d0727ccdf07557ad793f4b71ef250cd3eca0166fd9870aa76c936d8426c6a964d241879a67dd9a5765be6 |
23 |
|
24 |
diff --git a/dev-python/qrcode/qrcode-7.4.ebuild b/dev-python/qrcode/qrcode-7.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..03f7ce68a631 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/qrcode/qrcode-7.4.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{9..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="QR Code generator on top of PIL" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/lincolnloop/python-qrcode/ |
43 |
+ https://pypi.org/project/qrcode/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
50 |
+ |
51 |
+# optional deps: |
52 |
+# - pillow and lxml for svg backend, set as hard deps |
53 |
+RDEPEND=" |
54 |
+ dev-python/lxml[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pillow-9.1.0[${PYTHON_USEDEP}] |
56 |
+ dev-python/pypng[${PYTHON_USEDEP}] |
57 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+EPYTEST_DESELECT=( |
63 |
+ # TODO |
64 |
+ qrcode/tests/test_script.py::ScriptTest::test_factory |
65 |
+) |
66 |
+ |
67 |
+src_install() { |
68 |
+ distutils-r1_src_install |
69 |
+ doman doc/qr.1 |
70 |
+} |