summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb
new file mode 100644
index 0000000000..0c3a0dec55
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "An extremely fast Python linter and code formatter, written in Rust."
+SUMMARY = "An extremely fast Python linter and code formatter"
+HOMEPAGE = "https://docs.astral.sh/ruff/"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e679ca4f742cbfa29ab6a499529c2d39"
+
+SRC_URI += "file://0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch"
+
+SRC_URI[sha256sum] = "a57049c8addb3662073859bb55a7ad35aa54f8a7c9ed268911d1333c5aadaaa9"
+
+inherit pypi python_maturin cargo-update-recipe-crates
+
+CARGO_SRC_DIR = "rust"
+
+require ${BPN}-crates.inc
+
+INSANE_SKIP:${PN} = "already-stripped"
+
+BBCLASSEXTEND = "native nativesdk"