diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-04 02:35:54 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-02-04 10:19:21 +0000 |
commit | 9482a10c86ea997174b2bde6817879732bab86aa (patch) | |
tree | df9ea38a804406c076e0dd62f352bf77659fdcca /main/ansible/APKBUILD | |
parent | 1dfcbc6c8e2372345f6181b06acd94f0c184bb5e (diff) | |
download | aports-9482a10c86ea997174b2bde6817879732bab86aa.tar.bz2 aports-9482a10c86ea997174b2bde6817879732bab86aa.tar.xz |
main/ansible: backport play iteration context patch
The patch is already included upstream, but upstream didn't make a new
stable release yet and since this bug is pretty annoying I suggest that
we include this patch until upstream makes a new stable release.
See: https://github.com/ansible/ansible/pull/13793
Diffstat (limited to 'main/ansible/APKBUILD')
-rw-r--r-- | main/ansible/APKBUILD | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/main/ansible/APKBUILD b/main/ansible/APKBUILD index 00afea0782..517a4058b5 100644 --- a/main/ansible/APKBUILD +++ b/main/ansible/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=ansible pkgver=2.0.0.2 -pkgrel=0 +pkgrel=1 pkgdesc="A configuration-management, deployment, task-execution, and multinode orchestration framework" url="http://ansible.com" arch="noarch" @@ -10,9 +10,20 @@ license="GPL3+" depends="python py-yaml py-paramiko py-jinja2 py-markupsafe" makedepends="python-dev py-setuptools" subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::http://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz" +source="$pkgname-$pkgver.tar.gz::http://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz + iteration-context.patch" _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 @@ -38,6 +49,9 @@ package() { "$pkgdir"/usr/share/doc/$pkgname/README.extras.md || return 1 } -md5sums="816d0c49e084383e47a725c761a0e413 ansible-2.0.0.2.tar.gz" -sha256sums="27db0b99113fab85b1430c361c7790a0aa7f5c614c9af13362e2adbba07e5828 ansible-2.0.0.2.tar.gz" -sha512sums="bf034384849d3f065ff77982e2e47a94727fc2982f0dac8d67efda2646dcdbd52ba9cc3ddfcdb9cd8210af0935f6f42946cc8ddc659d62cccd670e5d55c7dfa0 ansible-2.0.0.2.tar.gz" +md5sums="816d0c49e084383e47a725c761a0e413 ansible-2.0.0.2.tar.gz +e745fcea8520d23386d238d249742741 iteration-context.patch" +sha256sums="27db0b99113fab85b1430c361c7790a0aa7f5c614c9af13362e2adbba07e5828 ansible-2.0.0.2.tar.gz +bc11f3095ea9b00e2855a6969bce3764137f54114f979e519e299a5584dfde62 iteration-context.patch" +sha512sums="bf034384849d3f065ff77982e2e47a94727fc2982f0dac8d67efda2646dcdbd52ba9cc3ddfcdb9cd8210af0935f6f42946cc8ddc659d62cccd670e5d55c7dfa0 ansible-2.0.0.2.tar.gz +30cc45a485a1048b3e86dea8fc30b65095326e79c0b16ab4d9ab0c8362ec3cefe352500b215858c2b150b2d9a288d3e9bca05c1354969bb16ade2ad123b3df83 iteration-context.patch" |