python3-trustme: update recipe to use the ptest-python-pytest class

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Derek Straka
2025-01-10 20:08:22 +00:00
committed by Khem Raj
parent 56014ae1a5
commit 5f737ede0e
2 changed files with 1 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
#!/bin/sh
pytest --automake

View File

@@ -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/
}