[meta-python][PATCH 2/5] python3-pytest-examples: Add recipe

Leon Anavi <[email protected]> Tue, 28 Jul 2026 14:45:30 +0300
Newsgroups org.openembedded.lists.openembedded-devel
Message-ID <[email protected]>
Add a recipe for pytest-examples, Pytest plugin for testing examples
in docstrings and markdown files. Release v0.0.18:

- Adapts tests to pytest 8.3.4
- Increases triple quote search

This work was sponsored by GOVCERT.LU.

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

diff --git a/meta-python/recipes-devtools/python/python3-pytest-examples_0.0.18.bb b/meta-python/recipes-devtools/python/python3-pytest-examples_0.0.18.bb
new file mode 100644
index 0000000000..a4fd03cf56
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-examples_0.0.18.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Pytest plugin for testing examples in docstrings and markdown files."
+DESCRIPTION = "Pytest plugin for testing examples in docstrings and markdown files."
+HOMEPAGE = "https://github.com/pydantic/pytest-examples"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4914bbb433a7975b6b5c5f1bb48bb9d0"
+
+RDEPENDS:${PN} += "\
+    python3-pytest \
+    python3-core \
+    python3-crypt \
+    python3-io \
+    python3-black \
+    python3-ruff \
+"
+
+inherit pypi python_hatchling
+
+PYPI_PACKAGE = "pytest_examples"
+
+SRC_URI[sha256sum] = "9a464f007f805b113677a15e2f8942ebb92d7d3eb5312e9a405d018478ec9801"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.47.3