31 lines
931 B
Bash
31 lines
931 B
Bash
# Template file for 'python3-cheetah3'
|
|
pkgname=python3-cheetah3
|
|
version=3.2.4
|
|
revision=2
|
|
wrksrc="Cheetah3-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="Cheetah"
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="python3-devel"
|
|
checkdepends="tox"
|
|
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=caabb9c22961a3413ac85cd1e5525ec9ca80daeba6555f4f60802b6c256e252b
|
|
alternatives="python-cheetah:cheetah:/usr/bin/cheetah3
|
|
python-cheetah:cheetah-analyze:/usr/bin/cheetah-analyze3
|
|
python-cheetah:cheetah-compile:/usr/bin/cheetah-compile3"
|
|
|
|
do_check() {
|
|
tox -e py${py3_ver/./}
|
|
}
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/cheetah{,3}
|
|
mv ${DESTDIR}/usr/bin/cheetah-analyze{,3}
|
|
mv ${DESTDIR}/usr/bin/cheetah-compile{,3}
|
|
vlicense LICENSE
|
|
}
|