[arch-commits] Commit in ansible/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Mon Apr 21 19:58:58 UTC 2014


    Date: Monday, April 21, 2014 @ 21:58:58
  Author: bpiotrowski
Revision: 109937

upgpkg: ansible 1.5.5-1

new upstream release

Modified:
  ansible/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-21 19:37:42 UTC (rev 109936)
+++ PKGBUILD	2014-04-21 19:58:58 UTC (rev 109937)
@@ -5,7 +5,7 @@
 # Contributor: atweiden <archbaum at gmail.com>
 
 pkgname=ansible
-pkgver=1.5.4
+pkgver=1.5.5
 pkgrel=1
 pkgdesc='Radically simple IT automation platform'
 arch=('any')
@@ -16,26 +16,23 @@
 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=('34b2f73fe4127d3b7888db262a73795661530e5aaa6b765947cd9660dd59d086')
+sha256sums=('550a9b6ceeed6bcaf5cd4c74bf171e1c2e430b0a83a8a1cc05912df34a868601')
 
 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"
-
-  python2 setup.py install -O1 --root="$pkgdir"
-
   install -Dm644 examples/ansible.cfg "$pkgdir/etc/ansible/ansible.cfg"
 
   install -Dm644 README.md "$pkgdir/usr/share/doc/ansible/README.md"
@@ -43,8 +40,6 @@
 
   install -d "$pkgdir/usr/share/man/man1"
   cp -dpr --no-preserve=ownership docs/man/man1/*.1 "$pkgdir/usr/share/man/man1"
-
-  find "$pkgdir/usr/lib" -type f -name \*.py -exec sed -i '1s:python$:&2:' {} +
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list