diff --git a/srcpkgs/python-yamllint/template b/srcpkgs/python-yamllint/template index 488749186cd..75e23d522d3 100644 --- a/srcpkgs/python-yamllint/template +++ b/srcpkgs/python-yamllint/template @@ -1,6 +1,6 @@ # Template file for 'python-yamllint' pkgname=python-yamllint -version=1.10.0 +version=1.11.0 revision=1 noarch=yes wrksrc="yamllint-${version}" @@ -8,14 +8,19 @@ build_style=python-module pycompile_module="yamllint" hostmakedepends="python-setuptools python3-setuptools" depends="python-setuptools python-yaml python-pathspec" +checkdepends="python3-yaml python3-pathspec" short_desc="Python2 linter for YAML files" maintainer="Joseph LaFreniere " homepage="https://github.com/adrienverge/yamllint" license="GPL-3" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=88634c2cfa1b8c6324b84b80ed23c538a8c6e7b4c081b0b491e067c9c75a3cc8 +checksum=55916772ada4507fea84d09f8ca7c24b2e0fc8dea6c1f2caf8328c72cc81ae6e alternatives="yamllint:yamllint:/usr/bin/yamllint2" +do_check() { + python3 setup.py test +} + python3-yamllint_package() { noarch=yes depends="python3-setuptools python3-yaml python3-pathspec"