34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# Template file for 'python-jinja'
|
|
pkgname=python-jinja
|
|
version=2.7.1
|
|
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=5cc0a087a81dca1c08368482fb7a92fe2bdd8cfbb22bc0fccfe6c85affb04c8b
|
|
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
|
|
}
|
|
}
|