[arch-commits] Commit in ansible/repos/community-any (PKGBUILD PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Fri Sep 12 11:13:34 UTC 2014
Date: Friday, September 12, 2014 @ 13:13:34
Author: bpiotrowski
Revision: 118857
archrelease: copy trunk to community-any
Added:
ansible/repos/community-any/PKGBUILD
(from rev 118856, ansible/trunk/PKGBUILD)
Deleted:
ansible/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 47 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-12 11:13:28 UTC (rev 118856)
+++ PKGBUILD 2014-09-12 11:13:34 UTC (rev 118857)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Chris <seitz.christoph at gmail.com>
-# Contributor: m0ikz <ndelatorre at moikz.com.ar>
-# Contributor: atweiden <archbaum at gmail.com>
-
-pkgname=ansible
-pkgver=1.7.1
-pkgrel=2
-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')
-
-prepare() {
- find $pkgname-$pkgver -type f -name \*.py -exec sed -i '1s:python$:&2:' {} +
-}
-
-build() {
- cd $pkgname-$pkgver
- python2 setup.py build
-}
-
-package() {
- cd $pkgname-$pkgver
- python2 setup.py install -O1 --root="$pkgdir"
-
- 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 118856, ansible/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-09-12 11:13:34 UTC (rev 118857)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Chris <seitz.christoph at gmail.com>
+# Contributor: m0ikz <ndelatorre at moikz.com.ar>
+# Contributor: atweiden <archbaum at gmail.com>
+
+pkgname=ansible
+pkgver=1.7.1
+pkgrel=3
+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')
+
+prepare() {
+ find $pkgname-$pkgver -type f -name \*.py -exec sed -i '1s:python$:&2:' {} +
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python2 setup.py install -O1 --root="$pkgdir"
+
+ install -d "$pkgdir"/usr/share/ansible/doc
+ cp -dpr --no-preserve=ownership ./library/* "$pkgdir"/usr/share/ansible/
+ cp -dpr --no-preserve=ownership ./examples "$pkgdir"/usr/share/ansible/doc/
+ 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
+}
More information about the arch-commits
mailing list