commit: eb9ad82b9b674b83de965ba6ed3ceb3bbabf45ed Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jan 31 07:53:29 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jan 31 08:04:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb9ad82b
dev-python/quart: New package, v0.19.4 New test dependency of dev-python/urllib3. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/quart/Manifest | 1 + dev-python/quart/metadata.xml | 12 +++++++++ dev-python/quart/quart-0.19.4.ebuild | 49 ++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest new file mode 100644 index 000000000000..85bc0bf17bfb --- /dev/null +++ b/dev-python/quart/Manifest @@ -0,0 +1 @@ +DIST quart-0.19.4.gh.tar.gz 493787 BLAKE2B 8a754687cc2e8321ed6b2243cfe519d95e955869a1a12c89a22aa3e304466a4a496531e7ca8e819c0daee88a6b077e7b54dbef02de84abd6f6dbf7b8988e139f SHA512 d6673a43733b8f1caa2180c545cea99eb9670d802b29f123e6c499345bc33cc5f36c9146757e0eea9def811043a9b0e7d59e5e7012ee965b425ec32620cd383a diff --git a/dev-python/quart/metadata.xml b/dev-python/quart/metadata.xml new file mode 100644 index 000000000000..e630e696005f --- /dev/null +++ b/dev-python/quart/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>pyt...@gentoo.org</email> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="github">pallets/quart</remote-id> + <remote-id type="pypi">Quart</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/quart/quart-0.19.4.ebuild b/dev-python/quart/quart-0.19.4.ebuild new file mode 100644 index 000000000000..c81ca8ecca32 --- /dev/null +++ b/dev-python/quart/quart-0.19.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 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..12} ) + +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.19.4 +SRC_URI=" + https://github.com/pallets/quart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +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/jinja[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +}