mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-17 15:20:32 +00:00
python3-asgiref: 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
|
||||
@@ -4,27 +4,19 @@ SECTION = "devel/python"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
|
||||
|
||||
SRC_URI += "file://run-ptest \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "c343bd80a0bec947a9860adb4c432ffa7db769836c64238fc34bdc3fec84d590"
|
||||
|
||||
export BUILD_SYS
|
||||
export HOST_SYS
|
||||
|
||||
inherit pypi ptest setuptools3
|
||||
inherit pypi ptest-python-pytest setuptools3
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-asyncio \
|
||||
python3-io \
|
||||
python3-multiprocessing \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
python3-pytest-asyncio \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user