void-packages/srcpkgs/pre-commit/template

20 lines
614 B
Bash

# Template file for 'pre-commit'
pkgname=pre-commit
version=2.15.0
revision=1
wrksrc="pre_commit-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="nodeenv python3-cfgv python3-identify python3-yaml python3-toml"
short_desc="Framework for multi-language pre-commit hooks"
maintainer="Joseph Benden <joe@benden.us>"
license="MIT"
homepage="https://pre-commit.com/"
distfiles="${PYPI_SITE}/p/pre-commit/pre_commit-${version}.tar.gz"
checksum=3c25add78dbdfb6a28a651780d5c311ac40dd17f160eb3954a0c59da40a505a7
make_check=no # No tests available
post_install() {
vlicense LICENSE
}