aboutsummaryrefslogblamecommitdiffstats
path: root/community/ansible-lint/APKBUILD
blob: f79911b7115a3f17b4f90136262f138e8abd9366 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               
                    

              
                                           
                                             

             




                                                                                         

                                                                         

         
                              


           
                                                               

 
         
                             

 
                                                                                                                                                                         
                                                                                                                                                           
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible-lint
pkgver=4.1.1a1
pkgrel=0
pkgdesc="A tool to check ansible playbooks"
url="https://github.com/ansible/ansible-lint"
arch="noarch"
license="MIT"
depends="ansible py3-yaml py3-six py3-ruamel.yaml py3-setuptools"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/a/$pkgname/$pkgname-$pkgver.tar.gz
	10-python3-shebang.patch
	"
provides="py3-ansible-lint=$pkgver-r$pkgrel" # for backward compatibility
replaces="py3-ansible-lint" # for backward compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

check() {
	python3 setup.py test
}

sha512sums="75ebc5d10235ca81222794412211fb5328f2bc0ad25abe0f3ff991f28b61b4b34a260bfed94433bc9e0f19f3f3dfc401f6d750d6f6feee6beb0ff74993be6a5f  ansible-lint-4.1.1a1.tar.gz
4a8dbbc51f686985ba857aff4063c8f2078af4d9b4134d799017cca958d85e59e0f9985f8e1bb16c6e1110f2586119d33c31364e31722b343de15376e4a8dd2d  10-python3-shebang.patch"