1 # Template file for 'ruff'
5 build_style=python3-pep517
6 build_helper="rust qemu"
7 hostmakedepends="maturin cargo"
9 short_desc="Fast Python linter and code formatter"
10 maintainer="icp <pangolin@vivaldi.net>"
12 homepage="https://docs.astral.sh/ruff/"
13 changelog="https://raw.githubusercontent.com/astral-sh/ruff/main/CHANGELOG.md"
14 distfiles="https://github.com/astral-sh/ruff/archive/refs/tags/${version}.tar.gz"
15 checksum=7ac2fd49222dc31aac0f97a40ea5d1d74dee9a1228ff5d62d603359713d8e0d1
19 for shell in bash fish zsh; do
20 vtargetrun "$DESTDIR"/usr/bin/ruff generate-shell-completion $shell > ruff.$shell
21 vcompletion ruff.$shell $shell