Message ID | 20250130215738.3280576-7-derek@asterius.io |
---|---|
State | Accepted |
Headers | show |
Series | [meta-python,01/23] python3-inflection: update recipe to use the ptest-python-pytest class | expand |
diff --git a/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest b/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-marshmallow/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake 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 = "\ SRC_URI[sha256sum] = "eb36762a1cc76d7abf831e18a3a1b26d3d481bbc74581b8e532a3d3a8115e1cb" -inherit python_flit_core pypi ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit python_flit_core pypi ptest-python-pytest RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytz \ python3-simplejson \ - python3-unittest-automake-output \ python3-zoneinfo \ python3-tzdata \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - rm -rf ${S}/tests/mypy_test_cases - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +do_install_ptest:append () { + rm -rf ${D}${PTEST_PATH}/tests/mypy_test_cases } RDEPENDS:${PN} += " \
Signed-off-by: Derek Straka <derek@asterius.io> --- .../python/python3-marshmallow/run-ptest | 3 --- .../python/python3-marshmallow_3.26.0.bb | 14 +++----------- 2 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-marshmallow/run-ptest