From 5f737ede0e7e0a248b11c197a5f9f7bf1f72f90e Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 20:08:22 +0000 Subject: python3-trustme: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-trustme/run-ptest | 3 --- .../recipes-devtools/python/python3-trustme_1.2.1.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-trustme/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-trustme/run-ptest b/meta-python/recipes-devtools/python/python3-trustme/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-trustme/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb b/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb index 519c6b8922..bdf5a494a7 100644 --- a/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb @@ -6,11 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fb59582a4d7ecbb79dfeefa0f69932e1" SRC_URI[sha256sum] = "6528ba2bbc7f2db41f33825c8dd13e3e3eb9d334ba0f909713c8c3139f4ae47f" -inherit pypi python_hatchling python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-cryptography \ @@ -23,13 +19,6 @@ RDEPENDS:${PN}-ptest += " \ python3-attrs \ python3-pyopenssl \ python3-pyasn1-modules \ - python3-pytest \ python3-service-identity \ python3-six \ - python3-unittest-automake-output \ " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} -- cgit v1.2.3-54-g00ecf