# Contributor: Łukasz Jendrysik # Contributor: Sören Tempel # Contributor: Takuya Noguchi # Maintainer: Fabian Affolter setvar pkgname = 'ansible' setvar pkgver = '2.4.0.0' setvar pkgrel = '0' setvar pkgdesc = ""A configuration-management, deployment, task-execution, and multinode orchestration framework"" setvar url = ""https://ansible.com"" setvar arch = ""noarch"" setvar license = ""GPL3+"" setvar _py = 'py2' setvar depends = ""python2 $_py-yaml $_py-paramiko $_py-jinja2 $_py-markupsafe $_py-crypto"" setvar makedepends = ""python2-dev py-setuptools"" setvar subpackages = ""$pkgname-doc"" setvar source = ""$pkgname-$pkgver.tar.gz::https://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir python2 setup.py build } proc package { cd $builddir python2 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.md "$pkgdir"/usr/share/doc/$pkgname } setvar sha512sums = ""78717b19599bdd46a7285b0b2a4c9d0d5b4cb86fd41dcf0b3340cf65945a55fae4508097058098fbeab871422c31d4f37ab4cd149abfd0af5add6004f65a207b ansible-2.4.0.0.tar.gz""