From 25a4213b12313791c3e80c7186153e8a7b81a3d9 Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Jan 2025 21:57:22 +0000 Subject: python3-marshmallow: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-marshmallow/run-ptest | 3 --- .../recipes-devtools/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 (limited to 'meta-python/recipes-devtools/python') 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} += " \ -- cgit v1.2.3-54-g00ecf