summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-02 11:51:54 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-02 13:22:37 +0200
commiteb2d1b7e7d4e049d98b861b8f9f6b5edce86b915 (patch)
treeb24a9b7b68bfa6de06008ab697e84d62511ced34 /dev-python
parentdev-python/rich: Bump to 13.9.1 (diff)
downloadgentoo-eb2d1b7e7d4e049d98b861b8f9f6b5edce86b915.tar.gz
gentoo-eb2d1b7e7d4e049d98b861b8f9f6b5edce86b915.tar.bz2
gentoo-eb2d1b7e7d4e049d98b861b8f9f6b5edce86b915.zip
dev-python/qrcode: Bump to 8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/qrcode/Manifest1
-rw-r--r--dev-python/qrcode/qrcode-8.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/qrcode/Manifest b/dev-python/qrcode/Manifest
index 012928d2ee48..837bbaed5b42 100644
--- a/dev-python/qrcode/Manifest
+++ b/dev-python/qrcode/Manifest
@@ -1 +1,2 @@
DIST qrcode-7.4.2.tar.gz 535974 BLAKE2B 250290bfd31079d91133f669138d7172529e99c381836a74c853061c01666df09fb99c445d705d5f0c02a975810bfc4853c2ec616974849b1834b0ade3917c48 SHA512 a8642845990341034e39c43ef674f5b4ce8d3175a44d6062f711af2c24ffd45bda5f3ecf8a7825b7ebafe734b6396d52a37bb59177c544f921e43eaa9f1f5405
+DIST qrcode-8.0.tar.gz 42743 BLAKE2B 16cea7b8030eeebd6d165a60193c2d682edc066d8f857d5e4ae19b1dbe653fce2dc4562822def07e3c7fd0721ae57208c2993165865918af67f8bdf357dfb556 SHA512 14d37ef4fe0fca3253c92f39db7948f9d804f600ee3bf9ba053baf4e01488f340cb4977b94a338f448dd4f9007f9f0cb7c5cf1db5405d98a9b38a809c8ed8650
diff --git a/dev-python/qrcode/qrcode-8.0.ebuild b/dev-python/qrcode/qrcode-8.0.ebuild
new file mode 100644
index 000000000000..f0c7e7f0fb2f
--- /dev/null
+++ b/dev-python/qrcode/qrcode-8.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="QR Code generator on top of PIL"
+HOMEPAGE="
+ https://github.com/lincolnloop/python-qrcode/
+ https://pypi.org/project/qrcode/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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}]
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # release process-specific tests, broken on py3.12
+ qrcode/tests/test_release.py
+)