28 lines
1.2 KiB
Bash
28 lines
1.2 KiB
Bash
# Template file for 'python3-ansible-lint'
|
|
pkgname=python3-ansible-lint
|
|
version=6.14.3
|
|
revision=1
|
|
build_style=python3-pep517
|
|
make_install_target="dist/ansible_lint-*-*-*-*.whl"
|
|
hostmakedepends="python3-wheel python3-setuptools_scm"
|
|
depends="python3-ansible-compat ansible-core black python3-filelock
|
|
python3-jsonschema python3-packaging python3-yaml python3-rich
|
|
python3-ruamel.yaml python3-wcmatch python3-yamllint"
|
|
short_desc="Linter for Ansible files"
|
|
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
|
|
# Note about licensing from upstream:
|
|
# The ansible-lint project is distributed as GPLv3 due to use of GPLv3 runtime
|
|
# dependencies, like ansible and yamllint. For historical reasons, its own
|
|
# code-base remains licensed under a more liberal MIT license and any
|
|
# contributions made are accepted as being made under original MIT license.
|
|
license="GPL-3.0-only"
|
|
homepage="https://github.com/ansible/ansible-lint"
|
|
distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
|
|
checksum=73ec59929b6214f6d2ce5858c22c64e3a1daba7b8cdc1271833bb6d3c7155449
|
|
# cba anymore, the list of failing tests changes with every update
|
|
make_check="no"
|
|
|
|
post_patch() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
|
|
}
|