mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-19 23:28:38 +00:00
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:
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
@@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f0e423eea5c91e7aa21bdb70184b3e53"
|
||||
|
||||
SRC_URI[sha256sum] = "0d22a89d00b453b47c49875f42b6601b961757541a2e1e0ef517b6e24213c21b"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-core \
|
||||
@@ -19,18 +15,11 @@ RDEPENDS:${PN} += " \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-typing-extensions \
|
||||
python3-unittest-automake-output \
|
||||
python3-unixadmin \
|
||||
python3-mypy \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
||||
DEPENDS += "\
|
||||
python3-distutils-extra-native \
|
||||
python3-setuptools-scm-native \
|
||||
|
||||
Reference in New Issue
Block a user