diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-17 20:30:22 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-17 16:39:41 -0800 |
| commit | 645907c41aa7ee851df1831654dc89eda885c83f (patch) | |
| tree | 2fadc812fa65e6aa37c80f6e0b50ab0b95e7eeae /meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb | |
| parent | c9b900439908d834a16eec9257ac77e3e3a97597 (diff) | |
| download | meta-openembedded-645907c41aa7ee851df1831654dc89eda885c83f.tar.gz | |
python3-pydantic: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb index 019781d51b..cf211972da 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb | |||
| @@ -9,7 +9,7 @@ HOMEPAGE = "https://github.com/samuelcolvin/pydantic" | |||
| 9 | LICENSE = "MIT" | 9 | LICENSE = "MIT" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" | 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" |
| 11 | 11 | ||
| 12 | inherit pypi python_hatchling | 12 | inherit pypi python_hatchling ptest-python-pytest |
| 13 | 13 | ||
| 14 | SRC_URI[sha256sum] = "278b38dbbaec562011d659ee05f63346951b3a248a6f3642e1bc68894ea2b4ff" | 14 | SRC_URI[sha256sum] = "278b38dbbaec562011d659ee05f63346951b3a248a6f3642e1bc68894ea2b4ff" |
| 15 | 15 | ||
| @@ -35,8 +35,6 @@ RDEPENDS:${PN} += "\ | |||
| 35 | python3-zoneinfo \ | 35 | python3-zoneinfo \ |
| 36 | " | 36 | " |
| 37 | 37 | ||
| 38 | inherit ptest | ||
| 39 | SRC_URI += "file://run-ptest" | ||
| 40 | RDEPENDS:${PN}-ptest += "\ | 38 | RDEPENDS:${PN}-ptest += "\ |
| 41 | python3-ansi2html \ | 39 | python3-ansi2html \ |
| 42 | python3-coverage \ | 40 | python3-coverage \ |
| @@ -50,17 +48,15 @@ RDEPENDS:${PN}-ptest += "\ | |||
| 50 | python3-mypy \ | 48 | python3-mypy \ |
| 51 | python3-packaging \ | 49 | python3-packaging \ |
| 52 | python3-pydoc \ | 50 | python3-pydoc \ |
| 53 | python3-pytest \ | ||
| 54 | python3-pytest-codspeed \ | 51 | python3-pytest-codspeed \ |
| 55 | python3-pytest-mock \ | 52 | python3-pytest-mock \ |
| 56 | python3-pytz \ | 53 | python3-pytz \ |
| 57 | python3-rich \ | 54 | python3-rich \ |
| 58 | python3-sqlalchemy \ | 55 | python3-sqlalchemy \ |
| 59 | python3-unittest-automake-output \ | ||
| 60 | python3-unixadmin \ | 56 | python3-unixadmin \ |
| 61 | " | 57 | " |
| 62 | 58 | ||
| 63 | do_install_ptest() { | 59 | do_install_ptest:append() { |
| 64 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ | 60 | cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ |
| 65 | # Requires 'ruff' (python3-ruff) which we cannot build | 61 | # Requires 'ruff' (python3-ruff) which we cannot build |
| 66 | # until we have Rust 1.71+ in oe-core | 62 | # until we have Rust 1.71+ in oe-core |
