mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-17 22:48:28 +00:00
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:
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
@@ -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/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user