diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb | 8 |
2 files changed, 2 insertions, 9 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest b/meta-python/recipes-devtools/python/python3-pydantic/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
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 |
