diff mbox series

[meta-python,2/2] python3-parsimonious: Add ptest support

Message ID 20251119215804.256151-2-raj.khem@gmail.com
State New
Headers show
Series [meta-python,1/2] python3-parsimonious: Switch to PEP-517 build backend | expand

Commit Message

Khem Raj Nov. 19, 2025, 9:58 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../conf/include/ptest-packagelists-meta-python.inc        | 1 +
 .../recipes-devtools/python/python3-parsimonious_0.11.0.bb | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 1b7e14b9b6..ad179ccf56 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -54,6 +54,7 @@  PTESTS_FAST_META_PYTHON = "\
     python3-outcome \
     python3-parse \
     python3-parse-type \
+    python3-parsimonious \
     python3-platformdirs \
     python3-polyline \
     python3-portalocker \
diff --git a/meta-python/recipes-devtools/python/python3-parsimonious_0.11.0.bb b/meta-python/recipes-devtools/python/python3-parsimonious_0.11.0.bb
index e9da557967..0376b5066a 100644
--- a/meta-python/recipes-devtools/python/python3-parsimonious_0.11.0.bb
+++ b/meta-python/recipes-devtools/python/python3-parsimonious_0.11.0.bb
@@ -8,6 +8,11 @@  SRC_URI[sha256sum] = "e080377d98957beec053580d38ae54fcdf7c470fb78670ba4bf8b5f9d5

 DEPENDS += "python3-setuptools-scm-native"

-inherit pypi python_setuptools_build_meta
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+PTEST_PYTEST_DIR = "parsimonious/tests"

 RDEPENDS:${PN} += "python3-regex"
+
+# ModuleNotFoundError: No module named 'timeit'
+RDEPENDS:${PN}-ptest += "python3-misc"