python3-ansible-lint: fix build
This commit is contained in:
parent
aeb10e2e81
commit
c31f9aff14
1 changed files with 3 additions and 5 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'python3-ansible-lint'
|
# Template file for 'python3-ansible-lint'
|
||||||
pkgname=python3-ansible-lint
|
pkgname=python3-ansible-lint
|
||||||
version=6.0.2
|
version=6.0.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/python3-/}-${version}"
|
wrksrc="${pkgname/python3-/}-${version}"
|
||||||
build_style=python3-pep517
|
build_style=python3-pep517
|
||||||
make_install_target="ansible_lint-${version}-py3-none-any.whl"
|
hostmakedepends="python3-wheel python3-setuptools_scm"
|
||||||
hostmakedepends="python3-wheel python3-toml"
|
|
||||||
depends="ansible-core python3-yamllint python3-six python3-yaml
|
depends="ansible-core python3-yamllint python3-six python3-yaml
|
||||||
python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch
|
python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch
|
||||||
python3-ansible-compat"
|
python3-ansible-compat"
|
||||||
|
@ -26,6 +25,5 @@ checksum=b539bc22d13e6de0cc2e25758e1d28b2bc01561a414ae37ceda3708b5a2a79ed
|
||||||
make_check=no
|
make_check=no
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
# scm versioning is broken in this release
|
vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
|
||||||
vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue