-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathtemplate
More file actions
31 lines (30 loc) · 1.43 KB
/
Copy pathtemplate
File metadata and controls
31 lines (30 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Template file for 'python3-ansible-lint'
pkgname=python3-ansible-lint
version=26.4.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel python3-setuptools_scm"
depends="python3-ansible-compat ansible-core black python3-filelock
python3-importlib_metadata python3-jsonschema python3-packaging
python3-pathspec python3-yaml python3-rich python3-ruamel.yaml
python3-subprocess-tee python3-wcmatch python3-yamllint python3-cffi
python3-cryptography python3-distro python3-referencing"
checkdepends="${depends} python3-jmespath python3-license-expression
python3-mypy python3-netaddr pylint
python3-pytest python3-pytest-mock python3-pytest-xdist"
short_desc="Linter for Ansible files"
maintainer="Orphaned <orphan@voidlinux.org>"
# 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=29e0438f8af685a4fec96f9ea3404a3beb50d2911bc8df43f283256954ceea5b
# cba anymore, the list of failing tests changes with every update
make_check="no"
post_patch() {
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}