wok-current rev 25199
updated python-jinja2 (2.11.1 -> 2.11.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 13:51:46 2022 +0100 (2022-07-13) |
parents | d1edb6891f97 |
children | 84314143aa0b |
files | python-jinja2/description.txt python-jinja2/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-jinja2/description.txt Wed Jul 13 13:51:46 2022 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +Jinja is a fast, expressive, extensible templating engine. 1.5 +Special placeholders in the template allow writing code similar to Python syntax. 1.6 +Then the template is passed data to render the final document. 1.7 + 1.8 +It includes: 1.9 + 1.10 +- Template inheritance and inclusion. 1.11 +- Define and import macros within templates. 1.12 +- HTML templates can use autoescaping to prevent XSS from untrusted user input. 1.13 +- A sandboxed environment can safely render untrusted templates. 1.14 +- AsyncIO support for generating templates and calling async functions. 1.15 +- I18N support with Babel. 1.16 +- Templates are compiled to optimized Python code just-in-time and cached, 1.17 + or can be compiled ahead-of-time. 1.18 +- Exceptions point to the correct line in templates to make debugging easier. 1.19 +- Extensible filters, tests, functions, and even syntax. 1.20 + 1.21 +Jinja's philosophy is that while application logic belongs in Python if possible, 1.22 +it shouldn't make the template designer's job difficult by restricting 1.23 +functionality too much.
2.1 --- a/python-jinja2/receipt Wed Jul 13 13:40:45 2022 +0100 2.2 +++ b/python-jinja2/receipt Wed Jul 13 13:51:46 2022 +0100 2.3 @@ -1,16 +1,17 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="python-jinja2" 2.7 -VERSION="2.11.1" 2.8 +VERSION="2.11.3" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Stand-alone template engine." 2.11 MAINTAINER="claudinei@slitaz.org" 2.12 LICENSE="BSD" 2.13 WEB_SITE="https://pypi.org/project/Jinja2" 2.14 +REPOLOGY="python:jinja2" 2.15 2.16 SOURCE="Jinja2" 2.17 TARBALL="$SOURCE-$VERSION.tar.gz" 2.18 -WGET_URL="https://files.pythonhosted.org/packages/source/J/$SOURCE/$TARBALL" 2.19 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 2.20 2.21 DEPENDS="python python-markupsafe" 2.22 BUILD_DEPENDS="python python-setuptools"