mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-26 21:33:57 +00:00
python3-flask: 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:
parent
60a06d274c
commit
2944028d80
@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@ -8,11 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac"
|
SRC_URI[sha256sum] = "5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac"
|
||||||
|
|
||||||
SRC_URI += " \
|
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit pypi python_setuptools_build_meta ptest
|
|
||||||
|
|
||||||
CLEANBROKEN = "1"
|
CLEANBROKEN = "1"
|
||||||
|
|
||||||
@ -27,10 +23,4 @@ RDEPENDS:${PN} = " \
|
|||||||
|
|
||||||
RDEPENDS:${PN}-ptest += "\
|
RDEPENDS:${PN}-ptest += "\
|
||||||
python3-asgiref \
|
python3-asgiref \
|
||||||
python3-pytest \
|
|
||||||
python3-unittest-automake-output \
|
|
||||||
"
|
"
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user