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

@@ -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}"