summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
diff options
context:
space:
mode:
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.bb42
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 @@
1SUMMARY = "Provides the core functionality for pydantic validation and serialization."
2DESCRIPTION = "This package provides the core functionality for \
3pydantic validation and serialization.\
4\
5Pydantic-core is currently around 17x faster than pydantic V1."
6HOMEPAGE = "https://github.com/pydantic/pydantic-core"
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c"
10
11SRC_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"
13SRC_URI[sha256sum] = "1cac689f80a3abab2d3c0048b29eea5751114054f032a941a32de4c852c59cad"
14
15DEPENDS = "python3-maturin-native python3-typing-extensions"
16
17require ${BPN}-crates.inc
18
19inherit pypi cargo-update-recipe-crates python_maturin
20
21PYPI_PACKAGE = "pydantic_core"
22
23RDEPENDS:${PN} += "python3-typing-extensions"
24
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-pytest-timeout \
35 python3-pytest-benchmark \
36 python3-unittest-automake-output \
37"
38
39do_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}