void-packages/srcpkgs/ruff/template

20 lines
586 B
Bash

# Template file for 'ruff'
pkgname=ruff
version=0.4.7
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=ac4aa8ef072de32e3681ce7e6a126204a8ca30b0a5d512b0c84fb4d116223c41
post_install() {
vlicense LICENSE
}