From 399675eb7b3d3885b96897879071a7bcae1965bc Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Thu, 30 Jan 2025 21:57:20 +0000 Subject: python3-msgpack: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-msgpack_1.1.0.bb | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb b/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb index eb04dc2e0f..cf755517e7 100644 --- a/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-msgpack_1.1.0.bb @@ -2,7 +2,9 @@ SUMMARY = "MessagePack (de)serializer" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest + +PTEST_PYTEST_DIR = "test" SRC_URI[sha256sum] = "dd432ccc2c72b914e4cb77afce64aab761c1137cc698be3984eee260bcb2896e" @@ -11,17 +13,3 @@ RDEPENDS:${PN}:class-target += "\ " BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} -- cgit v1.2.3-54-g00ecf