diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb b/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb new file mode 100644 index 0000000000..b7709aa1ca --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-covdefaults_2.3.0.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | SUMMARY = "A coverage plugin to provide sensible default settings" | ||
| 2 | HOMEPAGE = "https://github.com/asottile/covdefaults" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=a3da826da635201a80d2fb40f3034929" | ||
| 5 | |||
| 6 | # Use GitHub SRC_URI, as pypi package does not include tests | ||
| 7 | SRC_URI += " \ | ||
| 8 | git://github.com/asottile/covdefaults.git;branch=main;protocol=https \ | ||
| 9 | file://run-ptest \ | ||
| 10 | " | ||
| 11 | |||
| 12 | SRCREV = "007f5aff5d1c817883385a5f61f742dd11776dc6" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit setuptools3 ptest | ||
| 17 | |||
| 18 | RDEPENDS:${PN} += " \ | ||
| 19 | ${PYTHON_PN}-coverage \ | ||
| 20 | " | ||
| 21 | |||
| 22 | RDEPENDS:${PN}-ptest += " \ | ||
| 23 | ${PYTHON_PN}-pytest \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install_ptest() { | ||
| 27 | install -d ${D}${PTEST_PATH} | ||
| 28 | cp -rf ${S}/tests ${D}${PTEST_PATH} | ||
| 29 | } | ||
| 30 | |||
| 31 | BBCLASSEXTEND = "native nativesdk" | ||
