mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 09:32:12 +02:00
python3-idna: enable ptest
(From OE-Core rev: 4b15fd105f8f84f55f1da1724a0ea2f06a88c4b5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d4c0282f2b
commit
0f2f18c738
3
meta/recipes-devtools/python/python3-idna/run-ptest
Normal file
3
meta/recipes-devtools/python/python3-idna/run-ptest
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
python3 -mputao.unittest discover --top-level-directory . --start-directory tests
|
||||
@@ -5,8 +5,15 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=204c0612e40a4dd46012a78d02c80fb1"
|
||||
|
||||
SRC_URI[sha256sum] = "028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc"
|
||||
|
||||
inherit pypi python_flit_core
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
inherit pypi python_flit_core ptest
|
||||
|
||||
do_install_ptest() {
|
||||
cp -r ${S}/tests ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} += "python3-codecs"
|
||||
RDEPENDS:${PN}-ptest += "python3-unittest-automake-output"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user