mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/quart: New package, v0.19.4
New test dependency of dev-python/urllib3. Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
1
dev-python/quart/Manifest
Normal file
1
dev-python/quart/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST quart-0.19.4.gh.tar.gz 493787 BLAKE2B 8a754687cc2e8321ed6b2243cfe519d95e955869a1a12c89a22aa3e304466a4a496531e7ca8e819c0daee88a6b077e7b54dbef02de84abd6f6dbf7b8988e139f SHA512 d6673a43733b8f1caa2180c545cea99eb9670d802b29f123e6c499345bc33cc5f36c9146757e0eea9def811043a9b0e7d59e5e7012ee965b425ec32620cd383a
|
||||
12
dev-python/quart/metadata.xml
Normal file
12
dev-python/quart/metadata.xml
Normal file
@@ -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>python@gentoo.org</email>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="github">pallets/quart</remote-id>
|
||||
<remote-id type="pypi">Quart</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
49
dev-python/quart/quart-0.19.4.ebuild
Normal file
49
dev-python/quart/quart-0.19.4.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user