void-packages/srcpkgs/python3-cheetah3/template
2019-04-17 14:27:55 -03:00

25 lines
872 B
Bash

# Template file for 'python3-cheetah3'
pkgname=python3-cheetah3
version=3.2.1
revision=1
wrksrc="Cheetah3-${version}"
build_style=python3-module
pycompile_module="Cheetah"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
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=685f961d2761e140bfea67156a013313acda66a229edc6c8708b71d9080ece9c
alternatives="python-cheetah:cheetah:/usr/bin/cheetah3
python-cheetah:cheetah-analyze:/usr/bin/cheetah-analyze3
python-cheetah:cheetah-compile:/usr/bin/cheetah-compile3"
post_install() {
mv ${DESTDIR}/usr/bin/cheetah{,3}
mv ${DESTDIR}/usr/bin/cheetah-analyze{,3}
mv ${DESTDIR}/usr/bin/cheetah-compile{,3}
vlicense LICENSE
}