[arch-commits] Commit in ansible/repos/community-any (PKGBUILD PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Thu Dec 4 19:19:58 UTC 2014
Date: Thursday, December 4, 2014 @ 20:19:57
Author: bpiotrowski
Revision: 123455
archrelease: copy trunk to community-any
Added:
ansible/repos/community-any/PKGBUILD
(from rev 123454, ansible/trunk/PKGBUILD)
Deleted:
ansible/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 40 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-04 19:19:46 UTC (rev 123454)
+++ PKGBUILD 2014-12-04 19:19:57 UTC (rev 123455)
@@ -1,44 +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.8.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=('b08129cb4fe20dfc33403cc7245ea2c95999fdb9922fed7f06d4ba51ba8528b1')
-
-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
-}
Copied: ansible/repos/community-any/PKGBUILD (from rev 123454, ansible/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-12-04 19:19:57 UTC (rev 123455)
@@ -0,0 +1,40 @@
+# $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.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=('b08129cb4fe20dfc33403cc7245ea2c95999fdb9922fed7f06d4ba51ba8528b1')
+
+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