python3-ansible-lint: fix build

This commit is contained in:
Andrew J. Hesford 2022-05-16 10:34:25 -04:00
parent aeb10e2e81
commit c31f9aff14

View file

@ -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
}