new recipe: python3-pytest-httpx
PATCH 1/1 new recipe: python3-pytest-httpx
Description: Send responses to httpx.
Signed-off-by Tom Geelen <[email protected]>
--- .../ptest-packagelists-meta-python.inc | 1 + .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-pytest-httpx_0.35.0.bb | 24 +++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytest-httpx_0.35.0.bb
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
@@ -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 \
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
@@ -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 \
meta-python/recipes-devtools/python/python3-pytest-httpx_0.35.0.bb new file +24 -0
@@ -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 <[email protected]>" + +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}"
Signature · 1 line
2.43.0