aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-appliancekit-ng/APKBUILD
blob: abeaa239a0f860a8db5e13edb8e333e40913d897 (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
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="27af8896396ad5a3c0db06721367b27c  ApplianceKit-NG-0.3.tar.gz"
sha256sums="b3dd66f211805f4299add5138a3a7a47a5a5358286342a3011b9c2d8e681933a  ApplianceKit-NG-0.3.tar.gz"
sha512sums="7ef48b81b1d4fa8ab636d51ffa5661750774887cea010e38a5f4e75db50e35d6f6186ac6fc0dc31fdd23186794181c424c165b403b6119562e7c6735c9cd50ff  ApplianceKit-NG-0.3.tar.gz"