aboutsummaryrefslogtreecommitdiffstats
path: root/main/ansible/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-16 01:21:38 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-16 01:21:38 +0200
commita9aeeeb785933b7a2f3df4aed1f3ff76f2d6c381 (patch)
tree95969dea61b95cb68365251dcf20d85ae82e381e /main/ansible/APKBUILD
parent994954f8b2f6f824d96dcf115875fc385b5bbdea (diff)
downloadaports-a9aeeeb785933b7a2f3df4aed1f3ff76f2d6c381.tar.bz2
aports-a9aeeeb785933b7a2f3df4aed1f3ff76f2d6c381.tar.xz
main/ansible: upgrade to 2.1.1.0
Diffstat (limited to 'main/ansible/APKBUILD')
-rw-r--r--main/ansible/APKBUILD29
1 files changed, 9 insertions, 20 deletions
diff --git a/main/ansible/APKBUILD b/main/ansible/APKBUILD
index c52444e39c..a238cceafd 100644
--- a/main/ansible/APKBUILD
+++ b/main/ansible/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible
-pkgver=2.1.0.0
+pkgver=2.1.1.0
pkgrel=0
pkgdesc="A configuration-management, deployment, task-execution, and multinode orchestration framework"
url="http://ansible.com"
@@ -11,31 +11,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
- "
-
-_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
-}
+source="$pkgname-$pkgver.tar.gz::http://releases.ansible.com/ansible/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
mkdir -p "$pkgdir"/usr/share/man/man1
- install -Dm644 "$_builddir"/docs/man/man1/*.1 \
+ install -Dm644 "$builddir"/docs/man/man1/*.1 \
"$pkgdir"/usr/share/man/man1/ || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples
@@ -50,6 +39,6 @@ package() {
"$pkgdir"/usr/share/doc/$pkgname/README.extras.md || return 1
}
-md5sums="9d8bd04d3f0032c1948c5b2bf0b3b048 ansible-2.1.0.0.tar.gz"
-sha256sums="403443b55f6522cf86f9b41544a9b6b81f7d27f088446e85334d5d7a6317ccad ansible-2.1.0.0.tar.gz"
-sha512sums="8601325098b70469cf908ce09c075334952774519a4331f109b6aa0568fc718bb347ea4d06389277e41ce54270b19dca01815f46071d8e638e0cd751957f20c7 ansible-2.1.0.0.tar.gz"
+md5sums="d2521bc6416d07996e924fdd2d1fa6a2 ansible-2.1.1.0.tar.gz"
+sha256sums="61e739c123923ba90169f42c54e5f51df759ed40b4e332a7160d7db963d5678b ansible-2.1.1.0.tar.gz"
+sha512sums="c6537736fc3776d885fad04d02d0ec3b95e331d988fe4a696be90a7f4b1fa30ff8cbb34701f80857dbdcc049356d501ff2f613f65d2287b2d7b20c08cd7b1cd5 ansible-2.1.1.0.tar.gz"