void-packages/srcpkgs/python3-cheetah3/template
John 9028aa0021 python3-cheetah3: update to 3.4.0.
https://github.com/CheetahTemplate3/cheetah3/issues/49
Author changed the name on PyPi to skip the MFA Requirement
2025-01-02 02:00:02 +01:00

25 lines
729 B
Bash

# 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
}