[meta-python][PATCH 1/2] python3-pytest-httpserver: Add recipe

Leon Anavi <[email protected]> Wed, 29 Jul 2026 16:25:06 +0300
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
Add recipe for pytest_httpserver, a HTTP server for pytest.
Changelog for release 1.1.5:

- Add bake() method for pre-configured request expectations

This work was sponsored by GOVCERT.LU.

Signed-off-by: Leon Anavi <[email protected]>
---
 .../python/python3-pytest-httpserver_1.1.5.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-httpserver_1.1.5.bb

diff --git a/meta-python/recipes-devtools/python/python3-pytest-httpserver_1.1.5.bb b/meta-python/recipes-devtools/python/python3-pytest-httpserver_1.1.5.bb
new file mode 100644
index 0000000000..4421260005
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-httpserver_1.1.5.bb
@@ -0,0 +1,19 @@
+SUMMARY = "HTTP server for pytest to test http clients"
+DESCRIPTION = "HTTP server for pytest to test http clients"
+HOMEPAGE = "https://github.com/csernazs/pytest-httpserver"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7f54416ccc5478427995b27e5ef38e92"
+
+SRC_URI[sha256sum] = "dc3d82e1fe00e491829d8939c549bf4bd9b39a260f87113c619b9d517c2f8ff1"
+
+PYPI_PACKAGE = "pytest_httpserver"
+
+inherit pypi python_poetry_core ptest-python-pytest
+
+RDEPENDS:${PN}-ptest += " \
+        python3-requests \
+"
+
+RDEPENDS:${PN} += " \
+        python3-werkzeug \
+"
-- 
2.47.3