python3-freezegun: 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:31 +00:00 committed by Khem Raj
parent 335ff5abc8
commit 8aae0a1ec5
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 1 additions and 12 deletions

View File

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

View File

@ -5,24 +5,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe"
SRC_URI[sha256sum] = "b29dedfcda6d5e8e083ce71b2b542753ad48cfec44037b3fc79702e2980a89e9"
inherit pypi python_setuptools_build_meta ptest
inherit pypi python_setuptools_build_meta ptest-python-pytest
SRC_URI += " \
file://run-ptest \
file://1777174bb97c0b514033a09b820078b0d117f4a8.patch \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-sqlite3 \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} = "\
python3-asyncio \
python3-dateutil \