diff mbox series

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

Message ID 20260729132507.3183917-1-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/2] python3-pytest-httpserver: Add recipe | expand

Commit Message

Leon Anavi July 29, 2026, 1:25 p.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../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 mbox series

Patch

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 \
+"