aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-appliancekit-ng/APKBUILD
blob: 34c650a971a9f8c12547b22d7d13cf7edc6b7d7c (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.3.3
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="b91ed75300fa3152b1d0dd10ef53ad33  ApplianceKit-NG-0.3.3.tar.gz"
sha256sums="058265165c0198ea6f260b2fba9da6cf44b877b39f274befba2f628b670bb113  ApplianceKit-NG-0.3.3.tar.gz"
sha512sums="6d0a42ee50893eec90939971e8a4457c8ee848e64cce4941c63bf806ab4ed152ded9556bc576cfc076489afb7c6825fe577dfc63b5a3777b6dcd632d571f6424  ApplianceKit-NG-0.3.3.tar.gz"