34 lines
1023 B
Plaintext
34 lines
1023 B
Plaintext
# Template file for 'python-jinja'
|
|
pkgname=python-jinja
|
|
version=2.6
|
|
revision=1
|
|
wrksrc="Jinja2-${version}"
|
|
build_style=python-module
|
|
makedepends="python python-MarkupSafe python-distribute"
|
|
short_desc="Modern and designer friendly templating language for Python"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://jinja.pocoo.org/"
|
|
license="BSD"
|
|
distfiles="http://pypi.python.org/packages/source/J/Jinja2/Jinja2-${version}.tar.gz"
|
|
checksum=a85e185375db75c109f99ecde3d55415f035e7068a82252cf4f16c667ac38f49
|
|
long_desc="
|
|
Features:
|
|
|
|
* sandboxed execution
|
|
* powerful automatic HTML escaping system for XSS prevention
|
|
* template inheritance
|
|
* compiles down to the optimal python code just in time
|
|
* optional ahead of time template compilation
|
|
* easy to debug. Line numbers of exceptions directly point to the correct
|
|
line in the template.
|
|
* configurable syntax"
|
|
|
|
python-jinja_package() {
|
|
depends="${makedepends}"
|
|
noarch="yes"
|
|
pycompile_module="jinja2"
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|