python3-pytest-httpx: New recipe

Sends responses to httpx.

Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tom Geelen
2025-11-25 00:43:01 +01:00
committed by Khem Raj
parent e730ee0c60
commit d56cd727c7
3 changed files with 26 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ PTESTS_FAST_META_PYTHON = "\
python3-pyasyncore \
python3-pyroute2 \
python3-pyserial \
python3-pytest-httpx \
python3-pytest-mock \
python3-pytest-sugar \
python3-pytoml \

View File

@@ -348,6 +348,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-pytest-forked \
python3-pytest-helpers-namespace \
python3-pytest-html \
python3-pytest-httpx \
python3-pytest-lazy-fixtures \
python3-pytest-metadata \
python3-pytest-tempdir \

View File

@@ -0,0 +1,24 @@
SUMMARY = "Send responses to httpx."
HOMEPAGE = "https://github.com/Colin-b/pytest_httpx"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=80d06bde9296c367ea063b11e9518842"
RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"
SRC_URI[sha256sum] = "d619ad5d2e67734abfbb224c3d9025d64795d4b8711116b1a13f72a251ae511f"
inherit pypi python_setuptools_build_meta ptest-python-pytest
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "\
python3-httpx (>=0.28) \
python3-pytest (>=8) \
"
RDEPENDS:${PN}-ptest += "\
python3-pytest-cov \
python3-pytest-asyncio \
"
PYPI_PACKAGE = "pytest_httpx"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"