# Contributor: Fabian Affolter # Maintainer: Fabian Affolter 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"