From 217c9d3d1df4dbcc7d97dcb95257076300934a1e Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 31 Jan 2025 01:39:32 +0000 Subject: python3-cbor2: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-cbor2/run-ptest | 3 --- meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb | 12 +----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-cbor2/run-ptest (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest b/meta-python/recipes-devtools/python/python3-cbor2/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-cbor2/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb index 6dd9f0cd15..834bad6865 100644 --- a/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb +++ b/meta-python/recipes-devtools/python/python3-cbor2_5.6.5.bb @@ -4,21 +4,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" DEPENDS += "python3-setuptools-scm-native" SRC_URI[sha256sum] = "b682820677ee1dbba45f7da11898d2720f92e06be36acec290867d5ebf3d7e09" -SRC_URI += " \ - file://run-ptest \ -" - -inherit pypi python_setuptools_build_meta ptest -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit pypi python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN}-ptest += " \ python3-hypothesis \ - python3-pytest \ - python3-unittest-automake-output \ python3-unixadmin \ " RDEPENDS:${PN} += " \ -- cgit v1.2.3-54-g00ecf