python3-ruff: build with maturin

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>
This commit is contained in:
Ross Burton authored and Khem Raj committed 2026-10-23 08:54:05 -07:00
1 parent d2c99857c3
commit 58b59c7c86
1 file changed
+1 -3
@@ -4,13 +4,11 @@ HOMEPAGE = "https://docs.astral.sh/ruff/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e679ca4f742cbfa29ab6a499529c2d39"
DEPENDS += "python3-maturin-native"
SRC_URI += "file://0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch"
SRC_URI[sha256sum] = "5bb796c5112e9fb9527f2ef2faa0a130d6312d19de92bcfaddd70dbb2d41020f"
inherit pypi python_setuptools3_rust cargo-update-recipe-crates
inherit pypi python_maturin cargo-update-recipe-crates
CARGO_SRC_DIR = "rust"