void-packages/srcpkgs/python3-cheetah3/template

27 lines
774 B
Bash

# Template file for 'python3-cheetah3'
pkgname=python3-cheetah3
version=3.2.6.post2
revision=2
wrksrc="Cheetah3-${version}"
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/Cheetah3/Cheetah3-${version}.tar.gz"
checksum=63157d7a00a273b59676b5be5aa817c75c37efc88478231f1a160f4cfb7f7878
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
}