From c6b6fa3663a0beca0ed3e56f64d42eac0ca996a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 20 Aug 2026 03:13:08 +0200 Subject: [PATCH] dev-python/quart: Bump to 0.22.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/quart/Manifest | 1 + dev-python/quart/quart-0.22.0.ebuild | 53 ++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-python/quart/quart-0.22.0.ebuild diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest index 24c98c09d774a..95676c42bc01c 100644 --- a/dev-python/quart/Manifest +++ b/dev-python/quart/Manifest @@ -1,2 +1,3 @@ DIST quart-0.20.0.gh.tar.gz 746472 BLAKE2B 7c558532e6bbd2b4f37fbde7517700cd5e777faebd6ee2c5249ae774250d222e3e858f22a51ed8012c4695485a880ac7d288c723c615d6d80f7c8593e7eeb441 SHA512 22d99aae1f30ebc50326ed0c589938386d7b6c11398925b1cf326d2efa2d79ca40ad21939acb191b8a804ed78276f213375e20f31b66c7bb63ff28e91047017c DIST quart-0.21.0.gh.tar.gz 438972 BLAKE2B 483d43b47b087789802d74267bacec3431fb566804042b6f235cf0d2d4218a81d1d9ce8b416a9dad36e74fb0b3559f9193f5cd57c5dc571e56b9b3d104276456 SHA512 27bbdbcc73716305869805f24836f3a4adb50f8ace366a9a706c86040c75c274916087ae578889301990a8841ddc41e142ff89073b5b3bc49eb840becc480763 +DIST quart-0.22.0.gh.tar.gz 438923 BLAKE2B b01d155de64c023c198c4565472b4aa9fe35843f411f7e92d17392177c5f497834e3dfee75de08b35eac2202e59195323e8b3f04ec316f737805a85929a5b002 SHA512 7c3b83f9bbc6a724867e6c7ac91e38cab8d269bca9752b98e042ef115ed39a3a7905750375d957358c02dd258f05653ea1f26d11e79d833b4196109080e41028 diff --git a/dev-python/quart/quart-0.22.0.ebuild b/dev-python/quart/quart-0.22.0.ebuild new file mode 100644 index 0000000000000..cd83913803fdf --- /dev/null +++ b/dev-python/quart/quart-0.22.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{12..15} ) + +inherit distutils-r1 + +DESCRIPTION="A Python ASGI web microframework with the same API as Flask" +HOMEPAGE=" + https://github.com/pallets/quart/ + https://pypi.org/project/Quart/ +" +# no tests in sdist as of 0.20.0 +SRC_URI=" + https://github.com/pallets/quart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + >=dev-python/blinker-1.6[${PYTHON_USEDEP}] + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] + >=dev-python/hypercorn-0.11.2[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/python-dotenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis pytest-asyncio ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # https://github.com/pallets/quart/issues/465 + 'tests/test_blueprints.py::test_cli_blueprints[cli_group2-args2]' + ) + + epytest -o addopts= +}