24 lines
831 B
Bash
24 lines
831 B
Bash
# Template file for 'python3-ansible-lint'
|
|
pkgname=python3-ansible-lint
|
|
version=4.3.5
|
|
revision=2
|
|
wrksrc="ansible-lint-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="ansible python3-six python3-yaml python3-ruamel.yaml"
|
|
short_desc="Linter for Ansible files"
|
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
|
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
|
|
|
|
post_patch() {
|
|
# scm versioning is broken in this release
|
|
vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|