void-packages/srcpkgs/python3-yamllint/template
2020-10-10 10:22:46 -04:00

20 lines
658 B
Bash

# Template file for 'python3-yamllint'
pkgname=python3-yamllint
version=1.15.0
revision=4
wrksrc="yamllint-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pathspec python3-setuptools python3-yaml"
checkdepends="python3-pathspec python3-yaml"
short_desc="Python3 linter for YAML files"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="GPL-3.0-or-later"
homepage="https://github.com/adrienverge/yamllint"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
conflicts="python-yamllint>=0"
do_check() {
python3 setup.py test
}