dev-python/respx: Bump to 0.23.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-09 06:54:29 +02:00
parent 93166beb25
commit 3dc8b588d8
2 changed files with 45 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST respx-0.22.0.gh.tar.gz 432547 BLAKE2B 60fb516b3793faeea8f236c3ccfae7dcf20087eb8af8f1fb8c128de454b9fa395f4c7ed6fc5c94c59eff225525de6bc7c2b89bedf882028076fa9fb668a46ac9 SHA512 3cc84edced79475764b00369b5926bb5a74627b3f0c966fdf4e96a1a5944b8ea2fccaa39f77ebde62324762cb4ff5e0b611c910093fc3010e8c8e1dbbbe678e3
DIST respx-0.23.0.gh.tar.gz 433626 BLAKE2B d0afa1befc8ad4209684893c638a5d958e74a5e0f33a5829d31ee549fb8758ec2a56eec230a07520f9d6fb22e527fbd9bb15695f12c07968097d137e066f7881 SHA512 1b0f3d821af8105ef13839b9e67a7c287b79ee4628cba89991c240d38bac1caedacf1f0a0df2aea6c9452a713daaca491955867bec10189861afa4ae34b0aa95
DIST respx-0.23.1.gh.tar.gz 433870 BLAKE2B 8f7985ed964ef397f10eb343c777c2b140d1df1e2cd4481309d7229c2f77e61506bb3d59c9dc050ce02fad2d1f2b59186d1681c8dabcf710f580acdfe55c73d0 SHA512 eff24c815b91c757435c211ec6c1ee5478729ddf21f03c88b19242ed3f70ea3ffe95fa1b07f6e5afed3eb36f5bf283ba2a875451257fa65a2b6a20eec220efe0

View File

@@ -0,0 +1,44 @@
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
DESCRIPTION="Mock HTTPX with awesome request patterns and response side effects"
HOMEPAGE="
https://lundberg.github.io/respx/
https://pypi.org/project/respx/
https://github.com/lundberg/respx/
"
# no tests in pypi sdist
SRC_URI="
https://github.com/lundberg/respx/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/httpx-0.28.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/flask[${PYTHON_USEDEP}]
dev-python/httpcore[${PYTHON_USEDEP}]
dev-python/starlette[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest
python_test() {
epytest -o addopts=
}