# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=ansible-lint pkgver=6.2.1 pkgrel=0 pkgdesc="check ansible playbooks" url="https://github.com/ansible/ansible-lint" arch="noarch" options="!check" license="MIT" depends=" python3 ansible-core py3-enrich py3-packaging py3-rich py3-ruamel.yaml py3-tenacity py3-tomli py3-typing-extensions py3-wcmatch py3-yaml py3-ansible-compat py3-resolvelib<0.6.0 py3-resolvelib>=0.5.4 " makedepends=" py3-build py3-installer py3-setuptools py3-wheel py3-setuptools_scm " checkdepends=" py3-flaky py3-psutil py3-pytest py3-pytest-cov py3-pytest-xdist yamllint " source="https://github.com/ansible-community/ansible-lint/archive/refs/tags/v$pkgver/ansible-lint-v$pkgver.tar.gz" provides="py3-ansible-lint=$pkgver-r$pkgrel" # for backward compatibility replaces="py3-ansible-lint" # for backward compatibility build() { export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python3 -m build --skip-dependency-check --no-isolation --wheel } check() { pytest } package() { python3 -m installer -d "$pkgdir" \ dist/ansible_lint-$pkgver-py3-none-any.whl } sha512sums=" fb3eb8485078f4b426e11dc2b67ef2987640a97552979ef7b192980f750fb798ceab843d95c5e34d0c988cd312a2b5e7b4d58d84c1c5b4f385840ff3a58ac183 ansible-lint-v6.2.1.tar.gz "