diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb deleted file mode 100644 index c5ce1ff110..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | SUMMARY = "Provides the core functionality for pydantic validation and serialization." | ||
2 | DESCRIPTION = "This package provides the core functionality for \ | ||
3 | pydantic validation and serialization.\ | ||
4 | \ | ||
5 | Pydantic-core is currently around 17x faster than pydantic V1." | ||
6 | HOMEPAGE = "https://github.com/pydantic/pydantic-core" | ||
7 | |||
8 | LICENSE = "MIT" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" | ||
10 | |||
11 | SRC_URI += "file://0001-Bumps-pyo3-https-github.com-pyo3-pyo3-from-0.20.2-to.patch \ | ||
12 | file://0001-Fix-generate_self_schema-for-Python-3.12-1299.patch" | ||
13 | SRC_URI[sha256sum] = "1cac689f80a3abab2d3c0048b29eea5751114054f032a941a32de4c852c59cad" | ||
14 | |||
15 | DEPENDS = "python3-maturin-native python3-typing-extensions" | ||
16 | |||
17 | require ${BPN}-crates.inc | ||
18 | |||
19 | inherit pypi cargo-update-recipe-crates python_maturin | ||
20 | |||
21 | PYPI_PACKAGE = "pydantic_core" | ||
22 | |||
23 | RDEPENDS:${PN} += "python3-typing-extensions" | ||
24 | |||
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-pytest-timeout \ | ||
35 | python3-pytest-benchmark \ | ||
36 | python3-unittest-automake-output \ | ||
37 | " | ||
38 | |||
39 | do_install_ptest() { | ||
40 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | ||
41 | sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest | ||
42 | } | ||