diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template index 00d8dc40f6a..7cded1c6032 100644 --- a/srcpkgs/python3-ansible-lint/template +++ b/srcpkgs/python3-ansible-lint/template @@ -1,11 +1,10 @@ # Template file for 'python3-ansible-lint' pkgname=python3-ansible-lint version=6.0.2 -revision=1 +revision=2 wrksrc="${pkgname/python3-/}-${version}" build_style=python3-pep517 -make_install_target="ansible_lint-${version}-py3-none-any.whl" -hostmakedepends="python3-wheel python3-toml" +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" @@ -26,6 +25,5 @@ checksum=b539bc22d13e6de0cc2e25758e1d28b2bc01561a414ae37ceda3708b5a2a79ed 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 + vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml }