aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jinja2-cli/APKBUILD
blob: 7abe6a38e57adcda15c632f0af2b49a7f567e605 (plain) (blame)
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
# 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"