mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
 | |
| # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
 | |
| pkgname=ansible-lint
 | |
| pkgver=6.14.1
 | |
| pkgrel=0
 | |
| pkgdesc="check ansible playbooks"
 | |
| url="https://github.com/ansible/ansible-lint"
 | |
| arch="noarch"
 | |
| options="!check"
 | |
| license="MIT"
 | |
| depends="
 | |
| 	ansible-core
 | |
| 	git
 | |
| 	py3-ansible-compat
 | |
| 	py3-filelock
 | |
| 	py3-jinja2
 | |
| 	py3-jsonschema
 | |
| 	py3-packaging
 | |
| 	py3-rich
 | |
| 	py3-ruamel.yaml
 | |
| 	py3-wcmatch
 | |
| 	py3-yaml
 | |
| 	python3
 | |
| 	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 3 3>&1 >&2
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	pytest
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 -m installer -d "$pkgdir" \
 | |
| 		dist/ansible_lint-$pkgver-py3-none-any.whl
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 670a758215543447cf34003345963ed9b7d306fd0d8db8e97edbfc9c7ebb0425ef02f5bec2f63460734ea3dd85e7eaa01b840e68aebc4820ab5c9e8660c1d83e  ansible-lint-6.14.1.tar.gz
 | |
| "
 |