summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb15
2 files changed, 18 insertions, 0 deletions
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
3pytest --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}"
23RDEPENDS:${PN} += "python3-typing-extensions" 23RDEPENDS:${PN} += "python3-typing-extensions"
24 24
25INSANE_SKIP:${PN} = "already-stripped" 25INSANE_SKIP:${PN} = "already-stripped"
26
27inherit ptest
28SRC_URI += "file://run-ptest"
29RDEPENDS:${PN}-ptest += "\
30 python3-dirty-equals \
31 python3-hypothesis \
32 python3-pytest \
33 python3-pytest-mock \
34 python3-unittest-automake-output \
35"
36
37do_install_ptest() {
38 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
39 rm -rf ${D}${PTEST_PATH}/tests/benchmarks
40}