dev-python/starlette: Bump to 1.6.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-08-09 04:02:21 +02:00
parent 79673937fe
commit 3c0beaa917
2 changed files with 59 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST starlette-1.2.1.gh.tar.gz 2704768 BLAKE2B 6d50be60483f50a025f0a37f35d39c2a8f230628edd9b19706d99cb13b6fdb98ea680637108c15c52073fddb02ac2839554e0db55cd4e6cb86867e230dfc7dcc SHA512 92e3230af0082aeb4dcd9eb733f14b71613b1be01857d7642455d29539b3bbc97301a2fb801415ce9c106af77ef1f3baaf36dd44812d5e95460498cdf51b7c60
DIST starlette-1.3.1.gh.tar.gz 2706241 BLAKE2B c2d8834dd477072d9f02f3cf0bb1b106331eae98f281a471d123d19d0054165b9d68066df323828b7b5bbd4525da9603509d8fffc25074c95f345a015ff973c4 SHA512 962d46da98e5c198056462cd9b847849f639029f331bed4d516a7437fdc7dcf6f9977cc6c83a4474f291d8b78453ed88ce555fa2a386f0a98e1d5ceb22f34d7c
DIST starlette-1.4.1.gh.tar.gz 2712399 BLAKE2B 8794cb53e4aae60f38471933ac5b7f3af8fa88aa0f155e48803f44b04a8d5f19e341cd21397649b860c967ef654d6ca26b74bb521d66592a2f0af6d953c759f4 SHA512 6be55442142eb60906369636a843b98cf6a1291554014af06206f5d7f8d3a2f9339a24645de1d2ceb70cb7cd06edc76255140fe4a59f2c698d8e7091654c3083
DIST starlette-1.6.0.gh.tar.gz 2720742 BLAKE2B d8e72166045fdafdced1367b2f42ca4117c891577b9b0008590bd62b2d32a61eecf00f406c510511602a88d72908cb94ec3b6bb63f03027b99e7c31ab5b2a9cc SHA512 b415a5fde7572a1ee1965c7fdaeb0cb5a9b5f7ab8471f3085de730141f531302e7eb0fb61546c65af54f7d8a7a5a49ff2e2f03b544b99358dcaa499082b5d3bd

View File

@@ -0,0 +1,58 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1
MY_P=${P/_p/.post}
DESCRIPTION="The little ASGI framework that shines"
HOMEPAGE="
https://www.starlette.io/
https://github.com/Kludex/starlette/
https://pypi.org/project/starlette/
"
# no docs or tests in sdist, as of 0.27.0
SRC_URI="
https://github.com/Kludex/starlette/archive/${PV/_p/.post}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86"
# TODO: default to httpx2? add some flags?
RDEPEND="
<dev-python/anyio-5[${PYTHON_USEDEP}]
>=dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
<dev-python/httpx-0.29[${PYTHON_USEDEP}]
>=dev-python/httpx-0.22.0[${PYTHON_USEDEP}]
dev-python/itsdangerous[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
>=dev-python/python-multipart-0.0.18[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
>=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}]
' 3.11)
"
BDEPEND="
test? (
>=dev-python/pytest-8[${PYTHON_USEDEP}]
dev-python/httpx2[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( anyio )
: ${EPYTEST_TIMEOUT:-180}
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# Unpackaged 'databases' dependency
tests/test_database.py
)