Date: Friday, August 15, 2014 @ 00:04:12 Author: bpiotrowski Revision: 117403
archrelease: copy trunk to community-any Added: ansible/repos/community-any/PKGBUILD (from rev 117402, ansible/trunk/PKGBUILD) Deleted: ansible/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-08-14 22:04:02 UTC (rev 117402) +++ PKGBUILD 2014-08-14 22:04:12 UTC (rev 117403) @@ -1,46 +0,0 @@ -# $Id$ -# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> -# Contributor: Chris <seitz.christ...@gmail.com> -# Contributor: m0ikz <ndelato...@moikz.com.ar> -# Contributor: atweiden <archb...@gmail.com> - -pkgname=ansible -pkgver=1.7 -pkgrel=1 -pkgdesc='Radically simple IT automation platform' -arch=('any') -url='http://www.ansible.com' -license=('GPL3') -depends=('python2' 'python2-yaml' 'python2-paramiko' 'python2-jinja') -makedepends=('asciidoc' 'fakeroot') -optdepends=('python2-pyasn1: needed for accelerated mode' - 'python2-crypto: needed for accelerated mode' - 'python2-keyczar: needed for accelerated mode') -backup=('etc/ansible/ansible.cfg') -source=(http://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz) -sha256sums=('3dc7174d8fe3f6c3cb13b988e620a52d4d8cae3b7922a46f59005a728821679e') - -build() { - cd $pkgname-$pkgver - python2 setup.py build -} - -package() { - cd $pkgname-$pkgver - python2 setup.py install -O1 --root="$pkgdir" - find "$pkgdir/usr/lib" -type f -name \*.py -exec sed -i '1s:python$:&2:' {} + - - install -d "$pkgdir/usr/share/ansible" - cp -dpr --no-preserve=ownership ./library/* "$pkgdir/usr/share/ansible/" - cp -dpr --no-preserve=ownership ./examples "$pkgdir/usr/share/ansible" - install -Dm644 examples/ansible.cfg "$pkgdir/etc/ansible/ansible.cfg" - - install -Dm644 README.md "$pkgdir/usr/share/doc/ansible/README.md" - install -Dm644 COPYING "$pkgdir/usr/share/doc/ansible/COPYING" - - install -d "$pkgdir/usr/share/man/man1" - cp -dpr --no-preserve=ownership docs/man/man1/*.1 "$pkgdir/usr/share/man/man1" -} - -# vim:set ts=2 sw=2 et: Copied: ansible/repos/community-any/PKGBUILD (from rev 117402, ansible/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-08-14 22:04:12 UTC (rev 117403) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Chris <seitz.christ...@gmail.com> +# Contributor: m0ikz <ndelato...@moikz.com.ar> +# Contributor: atweiden <archb...@gmail.com> + +pkgname=ansible +pkgver=1.7.1 +pkgrel=1 +pkgdesc='Radically simple IT automation platform' +arch=('any') +url='http://www.ansible.com' +license=('GPL3') +depends=('python2' 'python2-yaml' 'python2-paramiko' 'python2-jinja') +makedepends=('asciidoc' 'fakeroot') +optdepends=('python2-pyasn1: needed for accelerated mode' + 'python2-crypto: needed for accelerated mode' + 'python2-keyczar: needed for accelerated mode') +backup=('etc/ansible/ansible.cfg') +source=(http://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz) +sha256sums=('d1dedd0808a138a8a0945197d38ba56123503e2440f44fe3d67c0b4bbf719572') + +build() { + cd $pkgname-$pkgver + python2 setup.py build +} + +package() { + cd $pkgname-$pkgver + python2 setup.py install -O1 --root="$pkgdir" + find "$pkgdir/usr/lib" -type f -name \*.py -exec sed -i '1s:python$:&2:' {} + + + install -d "$pkgdir/usr/share/ansible" + cp -dpr --no-preserve=ownership ./library/* "$pkgdir/usr/share/ansible/" + cp -dpr --no-preserve=ownership ./examples "$pkgdir/usr/share/ansible" + install -Dm644 examples/ansible.cfg "$pkgdir/etc/ansible/ansible.cfg" + + install -Dm644 README.md "$pkgdir/usr/share/doc/ansible/README.md" + install -Dm644 COPYING "$pkgdir/usr/share/doc/ansible/COPYING" + + install -d "$pkgdir/usr/share/man/man1" + cp -dpr --no-preserve=ownership docs/man/man1/*.1 "$pkgdir/usr/share/man/man1" +} + +# vim:set ts=2 sw=2 et: