void-packages/srcpkgs/pre-commit/template

21 lines
688 B
Bash

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