diff mbox series

[patchtest,09/11] python3-mccabe: add recipe

Message ID 20230517202244.1612047-10-tgamblin@baylibre.com
State New
Headers show
Series patchtest: layer updates | expand

Commit Message

Trevor Gamblin May 17, 2023, 8:22 p.m. UTC
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
diff mbox series

Patch

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"