aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-appliancekit-ng/APKBUILD
blob: e25f46b75f51d32a5bba101c49cd5393baf8476d (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: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-appliancekit-ng
pkgver=0.6.2
pkgrel=0
pkgdesc="abstract appliance image builder"
url="http://bitbucket.org/tortoiselabs/appliancekit-ng"
arch="noarch"
license="ISC"
depends="python py-jinja2"
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/A/ApplianceKit-NG/ApplianceKit-NG-$pkgver.tar.gz"

_builddir="$srcdir"/ApplianceKit-NG-$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="4252971aa61f47c4f96946f986d00de3  ApplianceKit-NG-0.6.2.tar.gz"
sha256sums="a61e82b00ea44f9225d274128d9e9344a7937bb7711f426a1909f76996bb4e2c  ApplianceKit-NG-0.6.2.tar.gz"
sha512sums="c6d1266f6e6861081653d79c88ef24de0b913727b9cfc41b1ac7cde2cc6c7e8e860bd0ee45aac1c257682edb6073e41701e18cc906c53d7b26926bc9de548ca0  ApplianceKit-NG-0.6.2.tar.gz"