26 lines
887 B
Bash
26 lines
887 B
Bash
# Template file for 'python-cheetah'
|
|
pkgname=python-cheetah
|
|
version=2.4.4
|
|
revision=5
|
|
wrksrc="Cheetah-${version}"
|
|
build_style=python2-module
|
|
pycompile_module="Cheetah"
|
|
hostmakedepends="python-setuptools"
|
|
makedepends="python-devel"
|
|
depends="python-Markdown"
|
|
short_desc="Python-powered template engine and code generator"
|
|
maintainer="Juan RP <xtraeme@voidlinux.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
|
|
}
|