# Template file for 'python3-cheetah3'
pkgname=python3-cheetah3
version=3.4.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
checkdepends="python3-Markdown python3-Pygments"
short_desc="Python-powered template engine and code generator"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="MIT"
homepage="http://www.cheetahtemplate.org/"
distfiles="${PYPI_SITE}/C/CT3/ct3-${version}.tar.gz"
checksum=ddc493b775b02b09737b1fb628a973dbe9aa91d694045a6764a8e3f5296fa1eb
conflicts="python-cheetah>=0"

do_check() {
	cp build/lib*/Cheetah/*.so Cheetah
	PATH="./bin:${PATH}" PYTHONPATH="." python3 Cheetah/Tests/Test.py
}

post_install() {
	vlicense LICENSE
}
