void-packages/srcpkgs/pre-commit/template

21 lines
688 B
Bash

# Template file for 'pre-commit'
pkgname=pre-commit
version=2.21.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="nodeenv python3-cfgv python3-identify python3-yaml
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=31ef31af7e474a8d8995027fefdfcf509b5c913ff31f2015b4ec4beb26a6f658
make_check=no # unpackaged: pytest-env re-assert
post_install() {
vlicense LICENSE
}