python3-validators: 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:15 +00:00
committed by Khem Raj
parent be00ed17a7
commit 25a337538b
2 changed files with 1 additions and 15 deletions

View File

@@ -5,26 +5,15 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59"
SRC_URI[sha256sum] = "647fe407b45af9a74d245b943b18e6a816acf4926974278f6dd617778e1e781f"
inherit pypi python_setuptools_build_meta ptest
SRC_URI += " \
file://run-ptest \
"
inherit pypi python_setuptools_build_meta ptest-python-pytest
RDEPENDS:${PN}-ptest += " \
python3-decorator \
python3-eth-hash \
python3-isort \
python3-pycryptodome \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} += " \
python3-crypt \
python3-datetime \