diff mbox series

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

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

Commit Message

Leon Anavi July 28, 2026, 11:45 a.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../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 mbox series

Patch

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"