2010-11-27 22:58:05 +00:00
|
|
|
# Template file for 'python-jinja'
|
|
|
|
pkgname=python-jinja
|
2013-08-09 08:52:35 +00:00
|
|
|
version=2.7.1
|
2012-10-07 04:50:50 +00:00
|
|
|
revision=1
|
2010-11-27 22:58:05 +00:00
|
|
|
wrksrc="Jinja2-${version}"
|
|
|
|
build_style=python-module
|
2013-04-14 09:13:30 +00:00
|
|
|
makedepends="python python-MarkupSafe python-distribute"
|
2010-11-27 22:58:05 +00:00
|
|
|
short_desc="Modern and designer friendly templating language for Python"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-10-07 04:50:50 +00:00
|
|
|
homepage="http://jinja.pocoo.org/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://pypi.python.org/packages/source/J/Jinja2/Jinja2-${version}.tar.gz"
|
2013-08-09 08:52:35 +00:00
|
|
|
checksum=5cc0a087a81dca1c08368482fb7a92fe2bdd8cfbb22bc0fccfe6c85affb04c8b
|
2010-11-27 22:58:05 +00:00
|
|
|
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"
|
|
|
|
|
2013-04-14 09:13:30 +00:00
|
|
|
python-jinja_package() {
|
|
|
|
depends="${makedepends}"
|
|
|
|
noarch="yes"
|
|
|
|
pycompile_module="jinja2"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|