# Contributor: Łukasz Jendrysik # Contributor: Sören Tempel # Contributor: Takuya Noguchi # Maintainer: Fabian Affolter pkgname=ansible pkgver=2.6.3 pkgrel=0 pkgdesc="A configuration-management, deployment, task-execution, and multinode orchestration framework" url="https://ansible.com" arch="noarch" license="GPL-3.0-or-later" _py=py3 depends="python3 $_py-yaml $_py-paramiko $_py-jinja2 $_py-markupsafe $_py-crypto" makedepends="python2-dev py-setuptools" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" # secfixes: # 2.6.3-r0: # - CVE-2018-10875 build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" mkdir -p "$pkgdir"/usr/share/man/man1 install -Dm644 "$builddir"/docs/man/man1/*.1 \ "$pkgdir"/usr/share/man/man1/ mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/ install -m644 examples/* \ "$pkgdir"/usr/share/doc/$pkgname/examples/ install -m644 README.rst "$pkgdir"/usr/share/doc/$pkgname } sha512sums="f34052379b892d5dff5e170e4237d4595ecf9d951226cc928fc092e253f5fa9f492a6e953ff09ed63b19ddb0f2b8df66ac738c2f48923e6d5b1dcc96fc2799c9 ansible-2.6.3.tar.gz"