python3-pint: 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-17 22:59:01 +00:00
committed by Khem Raj
parent cebf92f51a
commit 4ede2afe4e
2 changed files with 2 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
inherit pypi ptest python_setuptools_build_meta
inherit pypi ptest-python-pytest python_setuptools_build_meta
SRC_URI[sha256sum] = "35275439b574837a6cd3020a5a4a73645eb125ce4152a73a2f126bf164b91b80"
@@ -14,9 +14,7 @@ DEPENDS += "python3-setuptools-scm-native"
BBCLASSEXTEND = "native nativesdk"
SRC_URI += " \
file://run-ptest \
"
PTEST_PYTEST_DIR = "pint"
RDEPENDS:${PN} += " \
python3-setuptools \
@@ -30,14 +28,8 @@ RDEPENDS:${PN}-ptest += " \
python3-flexcache \
python3-flexparser \
python3-misc \
python3-pytest \
python3-pytest-benchmark \
python3-pytest-subtests \
python3-statistics \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/testsuite
cp -rf ${S}/pint/* ${D}${PTEST_PATH}/
}