Skip to contentSkip to conversation

python3-autoflake: add recipe for v2.2.1

PATCH New Richard Leitner 1 participant 1 message Sep 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-autoflake: add recipe for v2.2.1

autoflake is a python library which removes unused imports and unused variables from Python code. This recipe uses pypi as source:

https://pypi.org/project/autoflake/

---
 .../python/python3-autoflake_2.2.1.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-autoflake_2.2.1.bb
meta-python/recipes-devtools/python/python3-autoflake_2.2.1.bb new file +12 -0
new file mode 100644
index 000000000..7b7430866
@@ -0,0 +1,12 @@
+SUMMARY = "Removes unused imports and unused variables"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=88246be6a34c1496c253f58599f3db85"
+
+SRC_URI[sha256sum] = "62b7b6449a692c3c9b0c916919bbc21648da7281e8506bcf8d3f8280e431ebc1"
+
+inherit pypi python_hatchling
+
+RDEPENDS:${PN} += "python3-pyflakes"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.40.1