blob: 4786a581ceaf55dd976b764e23ac56972cac5ffa (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible-lint
pkgver=3.4.23
pkgrel=0
pkgdesc="A tool to check ansible playbooks"
url="https://github.com/ansible/ansible-lint"
arch="noarch"
license="MIT"
depends="ansible py3-six"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
provides="py3-ansible-lint=$pkgver-r$pkgrel" # for backward compatibility
replaces="py3-ansible-lint" # for backward compatibility
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
check() {
cd "$builddir/build/lib"
python3 -c "import ansiblelint"
}
sha512sums="b7754283943af88b8e11950b142bc36542c10d6f761a78f87d27954c62b70c77ae1d8925611d33f4daefc3c02d5fb217c419e3271eee33573a1cd48473bbf22d ansible-lint-3.4.23.tar.gz"
|