From 204b8f1a3435c3476b9132247ac423354676fb7e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 19 Nov 2025 13:56:51 -0800 Subject: [PATCH] python3-parsimonious: Add ptest support Signed-off-by: Khem Raj --- .../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 --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"