# Template file for 'python3-ansible-lint' pkgname=python3-ansible-lint version=6.2.2 revision=1 wrksrc="${pkgname/python3-/}-${version}" build_style=python3-pep517 hostmakedepends="python3-wheel python3-setuptools_scm" 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 " # 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=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d # 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() { vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml }