aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-aiohttp-jinja2/APKBUILD
blob: ae2e6b99b9a19dcd0bb7b9cc35bab17c292c6652 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-jinja2
_pkgname=aiohttp_jinja2
pkgver=0.14.0
pkgrel=0
pkgdesc="Jinja2 template renderer for aiohttp"
url="https://github.com/aio-libs/aiohttp-jinja2"
arch="noarch"
license="Apache-2.0"
depends="py3-aiohttp py3-jinja2"
makedepends="python3-dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-jinja2/archive/v$pkgver.tar.gz"
builddir="$srcdir"/aiohttp-jinja2-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build || return 1
}

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

sha512sums="5a0817908ef88de93425e1589acafb3454fe9aebb4eba5b7aa5685c91e257caccb273433d5de746056674121cc8376bd5013ca25d340d78ff8beef7e8b35c548  aiohttp_jinja2-0.14.0.tar.gz"