python3-typeguard: 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-10 20:08:21 +00:00
committed by Khem Raj
parent d61a246a55
commit 56014ae1a5
2 changed files with 1 additions and 15 deletions
@@ -1,3 +0,0 @@
#!/bin/sh
pytest --automake
@@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53"
SRC_URI[sha256sum] = "0d22a89d00b453b47c49875f42b6601b961757541a2e1e0ef517b6e24213c21b" SRC_URI[sha256sum] = "0d22a89d00b453b47c49875f42b6601b961757541a2e1e0ef517b6e24213c21b"
inherit pypi python_setuptools_build_meta ptest inherit pypi python_setuptools_build_meta ptest-python-pytest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
python3-core \ python3-core \
@@ -19,18 +15,11 @@ RDEPENDS:${PN} += " \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-typing-extensions \ python3-typing-extensions \
python3-unittest-automake-output \
python3-unixadmin \ python3-unixadmin \
python3-mypy \ python3-mypy \
" "
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
DEPENDS += "\ DEPENDS += "\
python3-distutils-extra-native \ python3-distutils-extra-native \
python3-setuptools-scm-native \ python3-setuptools-scm-native \