mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-24 09:08:24 +00:00
ruff is built with maturin, so inherit the python_maturin class. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
20 lines
636 B
BlitzBasic
20 lines
636 B
BlitzBasic
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] = "5bb796c5112e9fb9527f2ef2faa0a130d6312d19de92bcfaddd70dbb2d41020f"
|
|
|
|
inherit pypi python_maturin cargo-update-recipe-crates
|
|
|
|
CARGO_SRC_DIR = "rust"
|
|
|
|
require ${BPN}-crates.inc
|
|
|
|
INSANE_SKIP:${PN} = "already-stripped"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|