# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-chameleon pkgver=3.6.2 pkgrel=1 pkgdesc="A Fast Python HTML/XML Template Compiler" url="https://chameleon.readthedocs.org" arch="noarch" license="BSD-3-Clause AND BSD-4-Clause AND Python-2.0 AND ZPL-2.1" depends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/malthe/chameleon/archive/$pkgver.tar.gz" builddir="$srcdir"/chameleon-$pkgver replaces="py-chameleon" # Backwards compatibility provides="py-chameleon=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="887d7b31b14ee18f31fe5f5405914e0137e507f7f936763ee1a2ed09d887416d9399db50dc9a9d2137f6815cbe9dfec8729918264601b09faa5fb4ebf9b855df py3-chameleon-3.6.2.tar.gz"