dev-python/cross-web: add 0.7.0 0.6.0, drop 0.4.1

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2026-06-04 14:35:11 +02:00
parent 82753deef5
commit ada09dfbc9
3 changed files with 68 additions and 7 deletions

View File

@@ -1 +1,2 @@
DIST cross_web-0.4.1.tar.gz 157385 BLAKE2B be861d08154b766bfde1c49cd8e086991706a7e63bd1b0a787346b62a7cde0eb872521a9f6fed25d19ad77bf56ee4bee27fceb8075f2707e9422f3003356e9bb SHA512 ace491ccb9ae102db8918cf6854021530f1b608d55f00055f15f159b71effc5bf37711aa3fe607c13042d6848adb2b39672d8ef528f993ace790db0e2ef1c457 DIST cross_web-0.6.0.tar.gz 331315 BLAKE2B 24ff3e1292e5a418e33c229d40c32a07a2d93ec35e5e1a3e5c0296733dab29af15a20eed1aeef9541f8341382d99e3bf206eb69f86383d1271c5cfc947b9d959 SHA512 0a05048d213d9bf4a95942e94f508909fb7b768a91804352be0710c54e29eecee5d0191612d4396f50b7b605e7ac454c002fc38263833fe05e27717622b54535
DIST cross_web-0.7.0.tar.gz 332407 BLAKE2B d0767e347baa127ce8ef703f7580d2ead7254c6fb056ef8c161a9b9ee2c8f1d43634b0c70a2a5db0d2337e4a23fdee593de8115815a39d32afb6fe60bfaecd47 SHA512 6758e6b0c1b51d3dd73cef7ac947743d5b327f3633c107685b3ebb6f6ed3ad4665e5a837013e575bd2f4831f527a1d804eaac800fff3ac0b3295e382eada464b

View File

@@ -4,7 +4,7 @@
EAPI=8 EAPI=8
DISTUTILS_USE_PEP517=hatchling DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..13} ) PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi inherit distutils-r1 pypi
@@ -33,14 +33,21 @@ BDEPEND="
>=dev-python/starlette-0.46.1[${PYTHON_USEDEP}] >=dev-python/starlette-0.46.1[${PYTHON_USEDEP}]
>=dev-python/werkzeug-2.3[${PYTHON_USEDEP}] >=dev-python/werkzeug-2.3[${PYTHON_USEDEP}]
>=dev-python/yarl-1.9[${PYTHON_USEDEP}] >=dev-python/yarl-1.9[${PYTHON_USEDEP}]
>=dev-python/chalice-1.20[${PYTHON_USEDEP}]
>=dev-python/litestar-2.0[${PYTHON_USEDEP}] >=dev-python/litestar-2.0[${PYTHON_USEDEP}]
) )
" "
EPYTEST_IGNORE=( # chalice seems dead upstream, avoid it for an easier py3.14 transition
# avoid unpackaged test dependencies EPYTEST_DESELECT=(
tests/request/test_sanic.py # unpackaged sanic
"tests/testing/clients/test_http_clients.py::test_request_adapter_json[http_client_config8]"
"tests/testing/clients/test_http_clients.py::test_request_adapter_form_data[http_client_config8]"
) )
EPYTEST_PLUGINS=( pytest-asyncio ) EPYTEST_IGNORE=(
# unpackaged sanic
tests/request/test_sanic.py
# avoid chalice
tests/request/test_chalice.py
)
EPYTEST_PLUGINS=( pytest-asyncio pytest-django )
distutils_enable_tests pytest distutils_enable_tests pytest

View File

@@ -0,0 +1,53 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="A library for working with web frameworks"
HOMEPAGE="
https://github.com/usecross/cross-web/
https://pypi.org/project/cross-web/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/typing-extensions-4.14.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/aiohttp-3.9[${PYTHON_USEDEP}]
>=dev-python/django-4.2[${PYTHON_USEDEP}]
>=dev-python/fastapi-0.115.12[${PYTHON_USEDEP}]
>=dev-python/flask-2.3[${PYTHON_USEDEP}]
>=dev-python/httpx-0.28.1[${PYTHON_USEDEP}]
>=dev-python/python-multipart-0.0.20[${PYTHON_USEDEP}]
>=dev-python/quart-0.19[${PYTHON_USEDEP}]
>=dev-python/starlette-0.46.1[${PYTHON_USEDEP}]
>=dev-python/werkzeug-2.3[${PYTHON_USEDEP}]
>=dev-python/yarl-1.9[${PYTHON_USEDEP}]
>=dev-python/litestar-2.0[${PYTHON_USEDEP}]
)
"
# chalice seems dead upstream, avoid it for an easier py3.14 transition
EPYTEST_DESELECT=(
# unpackaged sanic
"tests/testing/clients/test_http_clients.py::test_request_adapter_json[http_client_config8]"
"tests/testing/clients/test_http_clients.py::test_request_adapter_form_data[http_client_config8]"
)
EPYTEST_IGNORE=(
# unpackaged sanic
tests/request/test_sanic.py
# avoid chalice
tests/request/test_chalice.py
)
EPYTEST_PLUGINS=( pytest-asyncio pytest-django )
distutils_enable_tests pytest