# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=py3-mako _pkgname=Mako _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" pkgver=1.1.3 pkgrel=0 pkgdesc="Fast templating language for Python" url="http://www.makotemplates.org/" arch="noarch" # Certified net clean license="MIT" depends="python3" makedepends="python3-dev" checkdepends="py3-markupsafe py3-mock py3-pbr py3-pluggy py3-py py3-pytest py3-six" source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { python3 setup.py build } check() { py.test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="a9b94fa34a61e7794b6e4549fa0bada6ff84dfb0d9edb8d5c7f9b95d12184fa4499f42303cfee720b576a9f7e986a57d91ad3aeb26c9f93154dbc08fb2975952 Mako-1.1.3.tar.gz"