diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-31 22:13:47 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-01 21:54:56 -0700 |
| commit | 2694eb1fe0d929a590d9f7189942444f66f9ba63 (patch) | |
| tree | 651a14b99e286ac66edf7fc0f122c2b18a712ad3 /meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb | |
| parent | a8823315bb3d08029dee5068ec7b11a6a323ecb7 (diff) | |
| download | meta-openembedded-2694eb1fe0d929a590d9f7189942444f66f9ba63.tar.gz | |
python3-pydantic-core: Upgrade to 2.33.0 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb new file mode 100644 index 0000000000..11bcbd259c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb | |||
| @@ -0,0 +1,48 @@ | |||
| 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 | require ${BPN}-crates.inc | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "40eb8af662ba409c3cbf4a8150ad32ae73514cd7cb1f1a2113af39763dd616b3" | ||
| 14 | |||
| 15 | DEPENDS = "python3-maturin-native python3-typing-extensions" | ||
| 16 | |||
| 17 | inherit pypi cargo-update-recipe-crates python_maturin ptest-python-pytest | ||
| 18 | |||
| 19 | PYPI_PACKAGE = "pydantic_core" | ||
| 20 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 21 | |||
| 22 | RDEPENDS:${PN} += " \ | ||
| 23 | python3-compression \ | ||
| 24 | python3-typing-extensions \ | ||
| 25 | " | ||
| 26 | |||
| 27 | INSANE_SKIP:${PN} = "already-stripped" | ||
| 28 | |||
| 29 | # python3-misc is for Lib/timeit.py which is not split out elsewhere | ||
| 30 | RDEPENDS:${PN}-ptest += "\ | ||
| 31 | python3-dateutil \ | ||
| 32 | python3-dirty-equals \ | ||
| 33 | python3-hypothesis \ | ||
| 34 | python3-inline-snapshot \ | ||
| 35 | python3-misc \ | ||
| 36 | python3-pytest-mock \ | ||
| 37 | python3-pytest-timeout \ | ||
| 38 | python3-pytest-benchmark \ | ||
| 39 | python3-tzdata \ | ||
| 40 | python3-zoneinfo \ | ||
| 41 | " | ||
| 42 | |||
| 43 | do_install_ptest:append () { | ||
| 44 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | ||
| 45 | 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 | ||
| 46 | } | ||
| 47 | |||
| 48 | BBCLASSEXTEND = "native nativesdk" | ||
