python-cheetah: add python-cheetah alternative

This commit is contained in:
Piotr Wójcik 2019-02-14 18:23:44 +01:00 committed by maxice8
parent 3bfd58a47f
commit 4512d435f0
1 changed files with 9 additions and 3 deletions

View File

@ -1,20 +1,26 @@
# Template file for 'python-cheetah'
pkgname=python-cheetah
version=2.4.4
revision=4
revision=5
wrksrc="Cheetah-${version}"
build_style=python2-module
pycompile_module="Cheetah"
hostmakedepends="python-setuptools"
makedepends="python-devel"
depends="python-Markdown"
pycompile_module="Cheetah"
short_desc="Python-powered template engine and code generator"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://www.cheetahtemplate.org/"
license="MIT"
homepage="http://www.cheetahtemplate.org/"
distfiles="${PYPI_SITE}/C/Cheetah/Cheetah-${version}.tar.gz"
checksum=be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550
alternatives="python-cheetah:cheetah:/usr/bin/cheetah2
python-cheetah:cheetah-analyze:/usr/bin/cheetah-analyze2
python-cheetah:cheetah-compile:/usr/bin/cheetah-compile2"
post_install() {
mv ${DESTDIR}/usr/bin/cheetah{,2}
mv ${DESTDIR}/usr/bin/cheetah-analyze{,2}
mv ${DESTDIR}/usr/bin/cheetah-compile{,2}
vlicense LICENSE
}