void-packages/srcpkgs/ruff/template

20 lines
586 B
Bash

# Template file for 'ruff'
pkgname=ruff
version=0.4.8
revision=1
build_style=python3-pep517
build_helper="rust"
hostmakedepends="maturin cargo"
makedepends="rust-std"
short_desc="Fast Python linter and code formatter"
maintainer="icp <pangolin@vivaldi.net>"
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=983d61b9602b800e9118e9e52eeca4f8f2c3697e7d281e230619b39fa21e4c9b
post_install() {
vlicense LICENSE
}