diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template index 93f631fa6a..fb8ea33d60 100644 --- a/srcpkgs/python3-ansible-lint/template +++ b/srcpkgs/python3-ansible-lint/template @@ -1,18 +1,21 @@ # Template file for 'python3-ansible-lint' pkgname=python3-ansible-lint -version=4.3.5 -revision=3 -wrksrc="ansible-lint-${version}" +version=5.2.1 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" build_style=python3-module -hostmakedepends="python3-setuptools" -depends="ansible python3-six python3-yaml python3-ruamel.yaml" +hostmakedepends="python3-setuptools_scm python3-wheel" +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/willthames/ansible-lint" -changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md" -distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz" -checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656 +homepage="https://github.com/ansible-community/ansible-lint" +distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz" +checksum=d64aca59c8d896541d379b9205b2126b851088aab0a2c2cab19ff74b184cdf1c +# 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