diff mbox series

[meta-python,5/5] python3-textparser: Enable tests

Message ID 20260728114533.1775490-5-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
Inherit ptest-python-pytest and include tests for textparser.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../recipes-devtools/python/python3-textparser_0.26.2.bb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-textparser_0.26.2.bb b/meta-python/recipes-devtools/python/python3-textparser_0.26.2.bb
index 40276038a3..f36308f843 100644
--- a/meta-python/recipes-devtools/python/python3-textparser_0.26.2.bb
+++ b/meta-python/recipes-devtools/python/python3-textparser_0.26.2.bb
@@ -1,4 +1,5 @@ 
 DESCRIPTION = "A text parser written in the Python language."
+SUMMARY = "A text parser."
 HOMEPAGE = "https://github.com/eerimoq/textparser"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fe9942a8bba5458a9dbd11277bc347ad"
@@ -9,7 +10,13 @@  PYPI_PACKAGE = "textparser"
 
 DEPENDS += "python3-setuptools-scm-native"
 
-inherit pypi python_setuptools_build_meta
+RDEPENDS:${PN}-ptest += "\
+   python3-mypy \
+   python3-ruff \
+   python3-coverage \
+"
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest
 
 CLEANBROKEN = "1"