[arch-commits] Commit in ansible/repos/community-any (PKGBUILD PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Aug 27 15:41:45 UTC 2014


    Date: Wednesday, August 27, 2014 @ 17:41:45
  Author: bpiotrowski
Revision: 117968

archrelease: copy trunk to community-any

Added:
  ansible/repos/community-any/PKGBUILD
    (from rev 117967, ansible/trunk/PKGBUILD)
Deleted:
  ansible/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   95 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 49 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-08-27 15:41:38 UTC (rev 117967)
+++ PKGBUILD	2014-08-27 15:41:45 UTC (rev 117968)
@@ -1,46 +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=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:

Copied: ansible/repos/community-any/PKGBUILD (from rev 117967, ansible/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-08-27 15:41:45 UTC (rev 117968)
@@ -0,0 +1,49 @@
+# $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:




More information about the arch-commits mailing list