python3-fastjsonschema: 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-30 21:57:35 +00:00 committed by Khem Raj
parent 2944028d80
commit b7e4a5c6c3
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 1 additions and 13 deletions

View File

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

View File

@ -8,14 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"
SRC_URI[sha256sum] = "794d4f0a58f848961ba16af7b9c85a3e88cd360df008c59aac6fc5ae9323b5d4" SRC_URI[sha256sum] = "794d4f0a58f848961ba16af7b9c85a3e88cd360df008c59aac6fc5ae9323b5d4"
SRC_URI += "file://run-ptest" inherit ptest-python-pytest pypi setuptools3
inherit ptest pypi setuptools3
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
# python3-misc for timeit.py # python3-misc for timeit.py
RDEPENDS:${PN}-ptest += "\ RDEPENDS:${PN}-ptest += "\
@ -23,11 +16,9 @@ RDEPENDS:${PN}-ptest += "\
python3-jsonschema \ python3-jsonschema \
python3-misc \ python3-misc \
python3-pylint \ python3-pylint \
python3-pytest \
python3-pytest-benchmark \ python3-pytest-benchmark \
python3-pytest-cache \ python3-pytest-cache \
python3-statistics \ python3-statistics \
python3-unittest-automake-output \
" "
RDEPENDS:${PN} += "\ RDEPENDS:${PN} += "\
python3-core \ python3-core \