mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-python/uvicorn: Bump to 0.52.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -4,3 +4,5 @@ DIST uvicorn-0.50.2.tar.gz 93716 BLAKE2B db4840c3fe19daa5e63aba7e4c9d328fa0e840d
|
||||
DIST uvicorn-0.50.2.tar.gz.provenance 9690 BLAKE2B d34f5564c33341c1f781eb1e4c2349de39091ccf095596ab939613b74be45b816196c095c7d0d97da37439bccdc928ec2a9739aaefda75dcb643da8a21c1c552 SHA512 70281746bc4c67dbc19b001a516c5708dc2ee8d6ae9abbc1a9f4c09966a1d2cf7ff8f9e576ea3d2b767b6a193caa2be09abd26b6ec8f50287fa53b51bc81dabc
|
||||
DIST uvicorn-0.51.0.tar.gz 94412 BLAKE2B 80334c8fbde6624072a2b13391d80493affe6aebcb95e79652f8bb32804924046c452355e3ba889e7e852ecdcc86fee1877346303cb75ce54f9905ee0cce4955 SHA512 f88e95fbe3ca145b5ae2cb841d7aeb3d42ee8dbdfdade3f84db88416a5eb78444c22f04c8f95d26afb72b1a71968b2ffe8b0dd0a461765008ee5507d4ab4e242
|
||||
DIST uvicorn-0.51.0.tar.gz.provenance 9737 BLAKE2B 2ec83d01d615cecd97da8478ac37bae91759e01f9b37c73be204a4c0f08d00710e7eda005f6161191dd6466845a058bf5030fb999f9ea3a3d4a2aba3ce86a9ef SHA512 2acd44c85fde7059e1f857544cd611c12d2b243e870a2875767ddd07f794b42243c93fdbeadf1f5d2a867558ea397dcd8ef7e98a942c4f11ea802a9d1ef2b58b
|
||||
DIST uvicorn-0.52.0.tar.gz 97504 BLAKE2B cfd59f482ca7486216ae7d3258bd25fc8ec4817effa3ba6ecf7e018dd907ebc212c2e49f65609378723f45488a36c184777e3132a3d5217217b4ad0b0868183b SHA512 c6bf0d8e245f5aff49e118f88ec190cbf41f0e488ba0266a193687621591216c725e98c65908ff768f477b342d73578475380a1a8c781f90b3322814bee4fd30
|
||||
DIST uvicorn-0.52.0.tar.gz.provenance 9408 BLAKE2B 06d9600da36e56db84eb33da15188086f8a616e68282c3a00c5ce8ae76316bc79b2122981295609524e1b82616e703a8ea43dfc9534bd73f971ea927e0ea1c21 SHA512 2a423dd758c5c93dd3fe5321024ac05d2e31033838c2aad1e9357844d6bcfd5b2c0f3aac4c7699177aa5becaf92750c8a14a9219b1fc3112f2940cb5e21245cd
|
||||
|
||||
70
dev-python/uvicorn/uvicorn-0.52.0.ebuild
Normal file
70
dev-python/uvicorn/uvicorn-0.52.0.ebuild
Normal file
@@ -0,0 +1,70 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/Kludex/uvicorn
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Lightning-fast ASGI server implementation"
|
||||
HOMEPAGE="
|
||||
https://uvicorn.dev/
|
||||
https://github.com/Kludex/uvicorn/
|
||||
https://pypi.org/project/uvicorn/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test-rust"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/h11-0.8[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/a2wsgi[${PYTHON_USEDEP}]
|
||||
>=dev-python/httptools-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpx-0.28[${PYTHON_USEDEP}]
|
||||
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-13.0[${PYTHON_USEDEP}]
|
||||
dev-python/wsproto[${PYTHON_USEDEP}]
|
||||
test-rust? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
>=dev-python/watchfiles-0.20[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( anyio pytest-mock )
|
||||
EPYTEST_RERUNS=5
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# too long path for unix socket
|
||||
tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers
|
||||
# TODO
|
||||
'tests/protocols/test_http.py::test_close_connection_with_multiple_requests[httptools]'
|
||||
'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[httptools-max=defaults sent=defaults+1]'
|
||||
'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[h11-max=defaults sent=defaults+1]'
|
||||
# tests broken with non-ancient dev-python/websockets
|
||||
tests/protocols/test_websocket.py::test_fragmented_message_exceeding_max_size
|
||||
tests/protocols/test_websocket.py::test_fragmented_message_reassembly
|
||||
)
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
tests/benchmarks
|
||||
)
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "auto reload on file changes" dev-python/watchfiles
|
||||
}
|
||||
Reference in New Issue
Block a user