void-packages/srcpkgs/ruff/template

20 lines
585 B
Bash

# Template file for 'ruff'
pkgname=ruff
version=0.5.1
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/${version}.tar.gz"
checksum=4e31c38d800601cb13349cb9c6b29cd0a37bb505e467abb4492a1ae255eb5a48
post_install() {
vlicense LICENSE
}