mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
30 lines
711 B
BlitzBasic
30 lines
711 B
BlitzBasic
SUMMARY = "A coverage plugin to provide sensible default settings"
|
|
HOMEPAGE = "https://github.com/asottile/covdefaults"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=a3da826da635201a80d2fb40f3034929"
|
|
|
|
# Use GitHub SRC_URI, as pypi package does not include tests
|
|
SRC_URI += " \
|
|
git://github.com/asottile/covdefaults.git;branch=main;protocol=https \
|
|
file://run-ptest \
|
|
"
|
|
|
|
SRCREV = "007f5aff5d1c817883385a5f61f742dd11776dc6"
|
|
|
|
|
|
inherit setuptools3 ptest
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-coverage \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-pytest \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}
|
|
cp -rf ${S}/tests ${D}${PTEST_PATH}
|
|
}
|