# Template file for 'python3-ansible-lint' pkgname=python3-ansible-lint version=5.4.0 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" short_desc="Linter for Ansible files" maintainer="Jan Christian Grünhage " license="MIT" homepage="https://github.com/ansible-community/ansible-lint" distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz" checksum=2160a60b4ab034c04006d701a1779340ffb0f6e28f030ff8de958e1062a88962 # 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 make_check=no 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 }