python3-ansible-lint: update to 6.0.2.

This commit is contained in:
Jan Christian Grünhage 2022-03-14 08:38:12 +01:00 committed by Leah Neukirchen
parent 15c59d777e
commit 302cd0dcae

View file

@ -1,18 +1,25 @@
# Template file for 'python3-ansible-lint'
pkgname=python3-ansible-lint
version=5.4.0
version=6.0.2
revision=1
wrksrc="${pkgname/python3-/}-${version}"
build_style=python3-pep517
make_install_target="ansible_lint-${version}-py3-none-any.whl"
hostmakedepends="python3-wheel python3-toml"
depends="ansible-core python3-yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
depends="ansible-core python3-yamllint python3-six python3-yaml
python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch
python3-ansible-compat"
short_desc="Linter for Ansible files"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
# Note about licensing from upstream:
# The ansible-lint project is distributed as GPLv3 due to use of GPLv3 runtime
# dependencies, like ansible and yamllint. For historical reasons, its own
# code-base remains licensed under a more liberal MIT license and any
# contributions made are accepted as being made under original MIT license.
license="GPL-3.0-only"
homepage="https://github.com/ansible-community/ansible-lint"
distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
checksum=2160a60b4ab034c04006d701a1779340ffb0f6e28f030ff8de958e1062a88962
checksum=b539bc22d13e6de0cc2e25758e1d28b2bc01561a414ae37ceda3708b5a2a79ed
# Tests are currently broken for ansible on python 3.10
# See https://github.com/ansible/ansible/issues/74658
# and https://github.com/ansible/ansible/issues/74660
@ -22,7 +29,3 @@ post_patch() {
# scm versioning is broken in this release
vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
}
post_install() {
vlicense LICENSE
}