python3-dominate: 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:38 +00:00 committed by Khem Raj
parent 3ac7852b9b
commit 82b0c7943e
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 1 additions and 15 deletions

View File

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

View File

@ -4,23 +4,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
SRC_URI[sha256sum] = "558284687d9b8aae1904e3d6051ad132dd4a8c0cf551b37ea4e7e42a31d19dc4"
inherit pypi ptest python_setuptools_build_meta
inherit pypi ptest-python-pytest python_setuptools_build_meta
SRC_URI += " \
file://58f7d7fdb171f80ed6ce97e6ca4409723975c47f.patch \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
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-numbers \
python3-threading \