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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Nov 26 17:27:35 UTC 2014


    Date: Wednesday, November 26, 2014 @ 18:27:35
  Author: bpiotrowski
Revision: 123154

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   91 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 44 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-26 17:27:27 UTC (rev 123153)
+++ PKGBUILD	2014-11-26 17:27:35 UTC (rev 123154)
@@ -1,47 +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.2
-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=('a17ce716b47f831ea9c88bdab33753fa3870c7ea8a1ee5e8c1287ca40c8498ac')
-
-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
-}

Copied: ansible/repos/community-any/PKGBUILD (from rev 123153, ansible/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-11-26 17:27:35 UTC (rev 123154)
@@ -0,0 +1,44 @@
+# $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.8
+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=('d5e4e414834e119083ee01d6a40668d9a69b044b861d78c3fdfb6beb97660b09')
+
+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 -Dm644 COPYING "$pkgdir"/usr/share/doc/ansible/COPYING
+
+  install -d "$pkgdir"/usr/share/ansible/doc
+  cp -dpr --no-preserve=ownership ./examples "$pkgdir"/usr/share/ansible/doc/
+  install -Dm644 examples/ansible.cfg "$pkgdir"/etc/ansible/ansible.cfg
+
+  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