ruff: update to 0.1.3.

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 <cam@nohom.org>
This commit is contained in:
icp 2023-10-26 23:12:28 +05:30 committed by classabbyamp
parent a383a1b133
commit fdf57edfe0

View file

@ -1,17 +1,18 @@
# Template file for 'ruff' # Template file for 'ruff'
pkgname=ruff pkgname=ruff
version=0.1.0 version=0.1.3
revision=1 revision=1
build_style=cargo build_style=python3-pep517
configure_args="--bin ruff" build_helper="rust"
make_install_args="--path crates/ruff_cli" hostmakedepends="maturin cargo"
makedepends="rust-std"
short_desc="Extremely fast Python linter, written in Rust" short_desc="Extremely fast Python linter, written in Rust"
maintainer="icp <pangolin@vivaldi.net>" maintainer="icp <pangolin@vivaldi.net>"
license="MIT" license="MIT"
homepage="https://docs.astral.sh/ruff/" homepage="https://docs.astral.sh/ruff/"
changelog="https://raw.githubusercontent.com/astral-sh/ruff/main/CHANGELOG.md" 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" distfiles="https://github.com/astral-sh/ruff/archive/refs/tags/v${version}.tar.gz"
checksum=b6f1467505acc99dcec7d67ff9dbcd00c63a39f338e09705a90a90205c8553d4 checksum=448936202951954870293450abd34868ed40aba0af7775274e0b57fc6a061661
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE