From f5a16c2a2d707feb802487c2cb63019ff9e48c06 Mon Sep 17 00:00:00 2001 From: icp Date: Thu, 26 Oct 2023 23:12:28 +0530 Subject: [PATCH] ruff: update to 0.1.2. Ruff should ship with a python module for consumption via Python tooling (including language servers). Adjust the build_style et al to install the python module. Co-authored-by: Cameron Nemo --- srcpkgs/ruff/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/ruff/template b/srcpkgs/ruff/template index 295d35d9bfaf6..4e8e6010043cd 100644 --- a/srcpkgs/ruff/template +++ b/srcpkgs/ruff/template @@ -1,17 +1,18 @@ # Template file for 'ruff' pkgname=ruff -version=0.1.0 +version=0.1.2 revision=1 -build_style=cargo -configure_args="--bin ruff" -make_install_args="--path crates/ruff_cli" +build_style=python3-pep517 +build_helper="rust" +hostmakedepends="maturin cargo" +makedepends="rust-std" short_desc="Extremely fast Python linter, written in Rust" maintainer="icp " license="MIT" homepage="https://docs.astral.sh/ruff/" changelog="https://raw.githubusercontent.com/astral-sh/ruff/main/CHANGELOG.md" distfiles="https://github.com/astral-sh/ruff/archive/refs/tags/v${version}.tar.gz" -checksum=b6f1467505acc99dcec7d67ff9dbcd00c63a39f338e09705a90a90205c8553d4 +checksum=2135ea2f647a17e9060a3ca10f6df2be9e37ae87c864fe79dd3c067ba6ee57b2 post_install() { vlicense LICENSE