summaryrefslogtreecommitdiff
path: root/testing/ansible-playbook-debugger/APKBUILD
blob: 46b2f5424a05f9787ae12b75557434ca20a804d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=ansible-playbook-debugger
pkgver=0.2.1
pkgrel=0
pkgdesc="A debugger for Ansible playbooks"
url="https://github.com/ks888/ansible-playbook-debugger"
arch="noarch"
license="GPLv3"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$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
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="af3b9b98fa080819febfefbd4a2942ce  ansible-playbook-debugger-0.2.1.tar.gz"
sha256sums="3c95f8a61aecd66ffd3770d102baa83e043f1025c40ed6eefe4c261e50ab95c6  ansible-playbook-debugger-0.2.1.tar.gz"
sha512sums="a303c7f4587ce5e243f571c6c0cce658fa94b4818a3892d2c78952a0ae104266ff908a38f8bff53a23a5938933ade82b6a7d7de20d841d3ad73815f82fdd1707  ansible-playbook-debugger-0.2.1.tar.gz"