# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: 
pkgname=jinja2-cli
pkgver=0.6.0
pkgrel=0
pkgdesc="CLI for Jinja2"
url=https://github.com/mattrobenolt/jinja2-cli
arch=noarch
license=BSD
depends="python py-jinja2"
makedepends=py-setuptools
source=https://files.pythonhosted.org/packages/source/j/$pkgname/$pkgname-$pkgver.tar.gz

builddir=$srcdir/$pkgname-$pkgver

build() {
	cd "$builddir"
	./setup.py build
}

check() {
	cd "$builddir"
	./setup.py test
}

package() {
	cd "$builddir"
	./setup.py install --root "$pkgdir"
}

sha512sums="6f0cbf17d8c3c9ac7720cbd16b08114b97e3f420c41f270d80ac7cedb42906da5cd272bf7d929dfcf2113b1727e61181ba26b79610d09afa7f3684b31d957506  jinja2-cli-0.6.0.tar.gz"
