void-packages/srcpkgs/pre-commit/template
Joseph Benden b8b4a58e9e pre-commit: update to 2.18.1
Signed-off-by: Joseph Benden <joe@benden.us>
2022-04-07 19:41:47 +02:00

19 lines
614 B
Bash

# Template file for 'pre-commit'
pkgname=pre-commit
version=2.18.1
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=5d445ee1fa8738d506881c5d84f83c62bb5be6b2838e32207433647e8e5ebe10
make_check=no # No tests available
post_install() {
vlicense LICENSE
}