python3-arrow: 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-31 01:39:27 +00:00 committed by Khem Raj
parent f10035ce58
commit ac5c6a157c
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

@ -6,26 +6,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=14a2e29a9d542fb9052d75344d67619d"
SRC_URI[sha256sum] = "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85"
inherit pypi python_flit_core ptest
SRC_URI += " \
file://run-ptest \
"
inherit pypi python_flit_core ptest-python-pytest
RDEPENDS:${PN}-ptest += " \
python3-dateutil-zoneinfo \
python3-pytest \
python3-pytest-mock \
python3-pytz \
python3-simplejson \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} += " \
python3-compression \
python3-dateutil \