blob: 6dca3b70d8a19d9b1db9222ec92da44ebfb182a0 (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible-lint
pkgver=6.9.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-filelock
py3-packaging
py3-rich
py3-ruamel.yaml
py3-tenacity
py3-tomli
py3-typing-extensions
py3-wcmatch
py3-yaml
py3-ansible-compat
py3-jsonschema
yamllint
"
makedepends="
py3-gpep517
py3-installer
py3-setuptools
py3-setuptools_scm
py3-wheel
"
checkdepends="
py3-flaky
py3-psutil
py3-pytest
py3-pytest-cov
py3-pytest-xdist
yamllint
"
source="ansible-lint-$pkgver.tar.gz::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
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 1
}
check() {
pytest
}
package() {
python3 -m installer -d "$pkgdir" \
dist/ansible_lint-$pkgver-py3-none-any.whl
}
sha512sums="
eaf255c53fb8355b06e7013f6676a09e2d7e67aa332306448f530c345925c80ff5ea54c580f7f6720a25ebed9e8deb4c0a8e4e22af4183e8a8ef7b6999be6099 ansible-lint-6.9.1.tar.gz
"
|