diff --git a/Jinja2-2.6.tar.gz b/Jinja2-2.6.tar.gz deleted file mode 100644 index 0f30427..0000000 --- a/Jinja2-2.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a85e185375db75c109f99ecde3d55415f035e7068a82252cf4f16c667ac38f49 -size 389741 diff --git a/Jinja2-2.7.tar.gz b/Jinja2-2.7.tar.gz new file mode 100644 index 0000000..17a53c0 --- /dev/null +++ b/Jinja2-2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:474f1518d189ae7e318b139fecc1d30b943f124448cfa0f09582ca23e069fa4d +size 377603 diff --git a/python-Jinja2.changes b/python-Jinja2.changes index df62b07..44b6d25 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Jul 11 14:37:06 UTC 2013 - dmueller@suse.com + +- update to 2.7: + - Choice and prefix loaders now dispatch source and template lookup + separately in order to work in combination with module loaders as + advertised. + - Fixed filesizeformat. + - Added a non-silent option for babel extraction. + - Added `urlencode` filter that automatically quotes values for + URL safe usage with utf-8 as only supported encoding. If applications + want to change this encoding they can override the filter. + - Added `keep-trailing-newline` configuration to environments and + templates to optionally preserve the final trailing newline. + - Accessing `last` on the loop context no longer causes the iterator + to be consumed into a list. + - Python requirement changed: 2.6, 2.7 or >= 3.3 are required now, + supported by same source code, using the "six" compatibility library. + - Allow `contextfunction` and other decorators to be applied to `__call__`. + - Added support for changing from newline to different signs in the `wordwrap` + filter. + - Added support for ignoring memcache errors silently. + - Added support for keeping the trailing newline in templates. + - Added finer grained support for stripping whitespace on the left side + of blocks. + - Added `map`, `select`, `reject`, `selectattr` and `rejectattr` + filters. + - Added support for `loop.depth` to figure out how deep inside a recursive + loop the code is. + - Disabled py_compile for pypy and python 3. + ------------------------------------------------------------------- Mon Apr 30 13:06:58 UTC 2012 - toddrme2178@gmail.com diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 695a757..9b3a0c5 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -17,7 +17,7 @@ Name: python-Jinja2 -Version: 2.6 +Version: 2.7 Release: 0 Summary: A fast and easy to use template engine written in pure Python License: BSD-3-Clause @@ -30,6 +30,7 @@ BuildRequires: python-distribute BuildRequires: vim Provides: python-jinja2 = %{version} Obsoletes: python-jinja2 < %{version} +Requires: python-markupsafe BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -89,7 +90,7 @@ install -Dm644 ext/jinja.el %{buildroot}%{_datadir}/emacs/site-lisp/jinja.el # I %files %defattr(-,root,root,-) -%doc AUTHORS CHANGES LICENSE artwork examples ext/JinjaTemplates.tmbundle.tar.gz +%doc AUTHORS CHANGES LICENSE artwork examples %{python_sitelib}/* %files vim