diff options
| author | Derek Straka <derek@asterius.io> | 2025-01-30 21:57:22 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-01-30 14:15:34 -0800 |
| commit | 25a4213b12313791c3e80c7186153e8a7b81a3d9 (patch) | |
| tree | fe05562ba37203fc0b442fcde61012bce1df3991 /meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb | |
| parent | 5678e949e6669fceeaa9af1ff0af8d84fb1241c9 (diff) | |
| download | meta-openembedded-25a4213b12313791c3e80c7186153e8a7b81a3d9.tar.gz | |
python3-marshmallow: 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-marshmallow_3.26.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb b/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb index a421a93e4c..bde3819379 100644 --- a/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb +++ b/meta-python/recipes-devtools/python/python3-marshmallow_3.26.0.bb | |||
| @@ -8,25 +8,17 @@ LIC_FILES_CHKSUM = "\ | |||
| 8 | 8 | ||
| 9 | SRC_URI[sha256sum] = "eb36762a1cc76d7abf831e18a3a1b26d3d481bbc74581b8e532a3d3a8115e1cb" | 9 | SRC_URI[sha256sum] = "eb36762a1cc76d7abf831e18a3a1b26d3d481bbc74581b8e532a3d3a8115e1cb" |
| 10 | 10 | ||
| 11 | inherit python_flit_core pypi ptest | 11 | inherit python_flit_core pypi ptest-python-pytest |
| 12 | |||
| 13 | SRC_URI += " \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | 12 | ||
| 17 | RDEPENDS:${PN}-ptest += " \ | 13 | RDEPENDS:${PN}-ptest += " \ |
| 18 | python3-pytest \ | ||
| 19 | python3-pytz \ | 14 | python3-pytz \ |
| 20 | python3-simplejson \ | 15 | python3-simplejson \ |
| 21 | python3-unittest-automake-output \ | ||
| 22 | python3-zoneinfo \ | 16 | python3-zoneinfo \ |
| 23 | python3-tzdata \ | 17 | python3-tzdata \ |
| 24 | " | 18 | " |
| 25 | 19 | ||
| 26 | do_install_ptest() { | 20 | do_install_ptest:append () { |
| 27 | install -d ${D}${PTEST_PATH}/tests | 21 | rm -rf ${D}${PTEST_PATH}/tests/mypy_test_cases |
| 28 | rm -rf ${S}/tests/mypy_test_cases | ||
| 29 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 30 | } | 22 | } |
| 31 | 23 | ||
| 32 | RDEPENDS:${PN} += " \ | 24 | RDEPENDS:${PN} += " \ |
