diff options
Diffstat (limited to 'meta-python')
3 files changed, 19 insertions, 0 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 3272d98192..13dcb621d7 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -27,6 +27,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 27 | python3-polyline \ | 27 | python3-polyline \ |
| 28 | python3-precise-runner \ | 28 | python3-precise-runner \ |
| 29 | python3-prettytable \ | 29 | python3-prettytable \ |
| 30 | python3-pydantic-core \ | ||
| 30 | python3-pylint \ | 31 | python3-pylint \ |
| 31 | python3-ptyprocess \ | 32 | python3-ptyprocess \ |
| 32 | python3-py-cpuinfo \ | 33 | python3-py-cpuinfo \ |
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest b/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb index 8221de80b6..01f180c8cb 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb | |||
| @@ -23,3 +23,18 @@ PYPI_ARCHIVE_NAME = "pydantic_core-${PV}.${PYPI_PACKAGE_EXT}" | |||
| 23 | RDEPENDS:${PN} += "python3-typing-extensions" | 23 | RDEPENDS:${PN} += "python3-typing-extensions" |
| 24 | 24 | ||
| 25 | INSANE_SKIP:${PN} = "already-stripped" | 25 | INSANE_SKIP:${PN} = "already-stripped" |
| 26 | |||
| 27 | inherit ptest | ||
| 28 | SRC_URI += "file://run-ptest" | ||
| 29 | RDEPENDS:${PN}-ptest += "\ | ||
| 30 | python3-dirty-equals \ | ||
| 31 | python3-hypothesis \ | ||
| 32 | python3-pytest \ | ||
| 33 | python3-pytest-mock \ | ||
| 34 | python3-unittest-automake-output \ | ||
| 35 | " | ||
| 36 | |||
| 37 | do_install_ptest() { | ||
| 38 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | ||
| 39 | rm -rf ${D}${PTEST_PATH}/tests/benchmarks | ||
| 40 | } | ||
