diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-05-27 13:13:15 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2013-05-27 14:11:06 +0200 |
commit | f73d3c88a9344598edb3c35b00a0a17c4e5da456 (patch) | |
tree | bf52dcf905184567b8e1da813574cf316008a8d5 /main/ansible | |
parent | abe640f11f66ff47f30a9c837074ebf3836b41b6 (diff) | |
download | aports-f73d3c88a9344598edb3c35b00a0a17c4e5da456.tar.bz2 aports-f73d3c88a9344598edb3c35b00a0a17c4e5da456.tar.xz |
main/ansible: upgrade to 1.1
Diffstat (limited to 'main/ansible')
-rw-r--r-- | main/ansible/APKBUILD | 47 |
1 files changed, 15 insertions, 32 deletions
diff --git a/main/ansible/APKBUILD b/main/ansible/APKBUILD index 6c1a02a6c..cb0ea3a76 100644 --- a/main/ansible/APKBUILD +++ b/main/ansible/APKBUILD @@ -1,30 +1,18 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=ansible -pkgver=1.0 -pkgrel=1 -pkgdesc="A configuration-management, deployment, task-execution, and multinode orchestration framework" -url="http://ansible.github.com/" -arch="noarch" -license="GPL3+" -depends="python py-yaml py-paramiko py-jinja2" -depends_dev="" +pkgver=1.1 +pkgrel=0 +pkgdesc='Configuration-management, deployment, task-execution, and multinode orchestration framework' +url='http://ansible.cc' +arch='noarch' +license='GPL3' +depends='python py-yaml py-paramiko py-jinja2' makedepends="python-dev" -install="" subpackages="$pkgname-doc" -source="https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz" +source="http://ansible.cc/releases/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - build() { cd "$_builddir" python setup.py build || return 1 @@ -33,22 +21,17 @@ build() { package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 - mkdir -p "$pkgdir"/etc/$pkgname - install -m755 -D "$_builddir"/examples/hosts \ - "$pkgdir"/etc/$pkgname/hosts || return 1 - install -m755 -D "$_builddir"/examples/ansible.cfg \ - "$pkgdir"/etc/$pkgname/ansible.cfg || return 1 - mkdir -p "$pkgdir"/usr/share/$pkgname - install -m755 -D "$_builddir"/library/* \ - "$pkgdir"/usr/share/$pkgname/ || return 1 + + install -d $pkgdir/usr/share/ansible || return 1 + cp ./library/* $pkgdir/usr/share/ansible/ || return 1 _manpages="$pkgname-playbook.1 $pkgname.1" for _manpage in $_manpages; do - install -m644 -D "$_builddir"/docs/man/man1/$_manpage \ + install -Dm644 "$_builddir"/docs/man/man1/$_manpage \ "$pkgdir"/usr/share/man/man1/$_manpage || return 1 done } -md5sums="9184385fdf22c3516ce831a229f7d945 v1.0.tar.gz" -sha256sums="6e9bba5eef2575284bfc533c0cc751468d7a07dd608845437c2f96fc57653a54 v1.0.tar.gz" -sha512sums="d5f84184cb7c0bc086ee726188d5e13533172cb219b6dde0a570b165540f08f64ca708b515e52fb95b1675755f1f90550a962c3b51fd085763389daa12ec971a v1.0.tar.gz" +md5sums="29059e7738212392d7c23db8c8f91019 ansible-1.1.tar.gz" +sha256sums="5e7d2a46715484abcd2f59f846fb12699d64b420400cca4224ae6ec358f2d0a1 ansible-1.1.tar.gz" +sha512sums="a32f32201782cf763fa442d12b778aaef41fe3d9e0a06864e8fa4b13e0a0bad66105d59b71b4e9981b4b080f4b79479bde33f3afb9e98bc4e33271453451300c ansible-1.1.tar.gz" |