void-packages/srcpkgs/python3-cheetah3/template

27 lines
768 B
Bash

# Template file for 'python3-cheetah3'
pkgname=python3-cheetah3
version=3.2.6
revision=1
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=f1c2b693cdcac2ded2823d363f8459ae785261e61c128d68464c8781dba0466b
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
}