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