# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=py-appliancekit-ng pkgver=0.6 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="4595fd99aecd77bda8c5c882a0b272dc ApplianceKit-NG-0.6.tar.gz" sha256sums="d7542824f90e421718d8b114bf9b1673c7b636c36bf6a8f51f59abe36c2527ce ApplianceKit-NG-0.6.tar.gz" sha512sums="d112a6fa26775faed36d9e4d77c4e47f4c44e0442cddec4e7994012ee5d58d58a30462288f350c049d56dece9fee9c0d02a0ef8dd1ffafeddd7239a0e6921ed9 ApplianceKit-NG-0.6.tar.gz"