dev-python/starlette: Bump to 0.48.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-09-14 04:29:54 +02:00
parent 3ad80f8815
commit 23aa90e5f3
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
3 changed files with 58 additions and 1 deletions

View File

@ -1,2 +1,3 @@
DIST starlette-0.47.2.gh.tar.gz 2583977 BLAKE2B dbb7dbbd8e5b7092c37d5c169d9a82c5739335bcc6766e04f0b639559b1c3b6dd12bebf6feb62fb75f16af4550864e211c9f1fe3982ca115ca8e7d6cd9fbeca0 SHA512 812ac9d3eadd41a729c1b0d3ac1d6b0f369122fed450962280de252c0e8fab73fc5944991a7453ef48f920171849bfcb797d15f64302ee3645a34ae49004ee73
DIST starlette-0.47.3.gh.tar.gz 2584121 BLAKE2B 95475b30c7ff3c4bffa9740132167aaad6b2f8c3c22e655ab228d626192be10e67013ec02ab3d54950e009ca9c7630eb5a9c0458efe5dd29edbdfd7219b639a0 SHA512 f552f51df4b309578a80bced131adff25505903f9c09dbae3c26112f127b8b29d66ce1853db8dd6438b65b1a4ca72ed3abf1b0ff10870727991329e3b8e26848
DIST starlette-0.48.0.gh.tar.gz 2654804 BLAKE2B 436358d1a11748827c827fdd8ddec1f577ccad969367dc94b536604be6cd95fb7dbb8d34c17381f669a9994ebe776cf13c22d0c73979e096003e3f7eb0fc4e0a SHA512 a7cb3920bb9fb9ebed9f56ebfa392d3c2baf95a08b0f2d2e16f53f89c1259e4d755e4e6a0c5fc819e03158e2a5fe2447c3c127621e11a644b25a6328a5bbee41

View File

@ -6,7 +6,7 @@
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">encode/starlette</remote-id>
<remote-id type="github">Kludex/starlette</remote-id>
<remote-id type="pypi">starlette</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,56 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
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="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
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/trio[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( anyio )
: ${EPYTEST_TIMEOUT:-180}
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# Unpackaged 'databases' dependency
tests/test_database.py
)