Message ID | 20230517201456.1608917-10-tgamblin@baylibre.com |
---|---|
State | New |
Headers | show |
Series | patchtest: layer updates | expand |
diff --git a/meta-patchtest/recipes-devtools/python/python3-mccabe_0.7.0.bb b/meta-patchtest/recipes-devtools/python/python3-mccabe_0.7.0.bb new file mode 100644 index 0000000..a2c72fc --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-mccabe_0.7.0.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "McCabe checker, plugin for flake8" +HOMEPAGE = "https://github.com/PyCQA/mccabe" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a489dc62bacbdad3335c0f160a974f0f" + +SRC_URI[sha256sum] = "348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325" + +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-pytest-runner-native"
python3-pylint requires python3-mccabe, so copy it from meta-python to avoid requiring that layer for patchtest. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> --- .../recipes-devtools/python/python3-mccabe_0.7.0.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-patchtest/recipes-devtools/python/python3-mccabe_0.7.0.bb