summaryrefslogtreecommitdiffstats
path: root/testing/py-appliancekit-ng/APKBUILD
blob: aee23d7a2847554f1ff693fd07ef6d2b48c62933 (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.4.0
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="e14904dfc409bab59c3ae832d5221415  ApplianceKit-NG-0.4.0.tar.gz"
sha256sums="f2c77b9ee2c2f3e452855d0fb2ab9a74ae352bc0de50d183b36cfabf9bc99377  ApplianceKit-NG-0.4.0.tar.gz"
sha512sums="7be54ff966adbef4d3cdad60d6c0c0bc34b06635025730d5eff42e34602a0d07d7aaf4c5e70d15211113795e869af98b7b5b408664c236f7aac0110eac1a4c1d  ApplianceKit-NG-0.4.0.tar.gz"