Hello community, here is the log from the commit of package python-Jinja2 for openSUSE:Factory checked in at 2019-11-04 17:04:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Jinja2 (Old) and /work/SRC/openSUSE:Factory/.python-Jinja2.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Jinja2" Mon Nov 4 17:04:22 2019 rev:37 rq:735867 version:2.10.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Jinja2/python-Jinja2.changes 2019-09-30 15:55:34.285827790 +0200 +++ /work/SRC/openSUSE:Factory/.python-Jinja2.new.2990/python-Jinja2.changes 2019-11-04 17:04:23.756132257 +0100 @@ -1,0 +2,10 @@ +Mon Oct 7 13:37:05 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 2.10.3: + * Fix Python 3.7 deprecation warnings. + * Using range in the sandboxed environment uses xrange on Python 2 to avoid memory use. :issue:`933` + * Use Python 3.7's better traceback support to avoid a core dump when using debug builds of Python 3.7. :issue:`1050` + * Fix a typo in Babel entry point in setup.py that was preventing installation. +- Remove merged python38.patch + +------------------------------------------------------------------- Old: ---- Jinja2-2.10.1.tar.gz python38.patch New: ---- Jinja2-2.10.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Jinja2.spec ++++++ --- /var/tmp/diff_new_pack.IlyV5M/_old 2019-11-04 17:04:25.344133954 +0100 +++ /var/tmp/diff_new_pack.IlyV5M/_new 2019-11-04 17:04:25.356133967 +0100 @@ -19,17 +19,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Jinja2 -Version: 2.10.1 +Version: 2.10.3 Release: 0 Summary: A template engine written in pure Python License: BSD-3-Clause -Group: Development/Languages/Python -URL: http://jinja.pocoo.org/ +URL: https://github.com/pallets/jinja Source: https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz -Patch0: python38.patch BuildRequires: %{python_module MarkupSafe >= 0.23} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Babel >= 0.8 @@ -44,24 +43,13 @@ %description Jinja2 is a template engine written in pure Python. It provides a Django inspired non-XML syntax but supports inline expressions and an optional -sandboxed environment. Here a small example of a Jinja template: - - {%% extends 'base.html' %%} - {%% block title %%}Memberlist{%% endblock %%} - {%% block content %%} - <ul> - {%% for user in users %%} - <li><a href="{{ user.url }}">{{ user.username }}</a></li> - {%% endfor %%} - </ul> - {%% endblock %%} +sandboxed environment. %package -n python-Jinja2-vim Summary: Jinja2 syntax files for Vim License: BSD-3-Clause -Group: Productivity/Text/Editors Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 +%if 0%{?suse_version} || 0%{?fedora_version} >= 24 Recommends: vim %endif @@ -71,9 +59,8 @@ %package -n python-Jinja2-emacs Summary: Jinja2 syntax files for Emacs License: GPL-2.0-or-later -Group: Productivity/Text/Editors Requires: %{name} = %{version} -%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 +%if 0%{?suse_version} || 0%{?fedora_version} >= 24 Recommends: emacs %endif @@ -82,8 +69,7 @@ %prep %setup -q -n Jinja2-%{version} -%patch0 -p1 -sed -i 's/\r$//' LICENSE # Fix wrong EOL encoding +dos2unix LICENSE.rst # Fix wrong EOL encoding %build %python_build @@ -98,8 +84,8 @@ %pytest %files %{python_files} -%license LICENSE -%doc AUTHORS README.rst CHANGES.rst artwork examples +%license LICENSE.rst +%doc README.rst CHANGES.rst artwork examples %{python_sitelib}/jinja2 %{python_sitelib}/Jinja2-%{version}-py%{python_version}.egg-info ++++++ Jinja2-2.10.1.tar.gz -> Jinja2-2.10.3.tar.gz ++++++ ++++ 3727 lines of diff (skipped)
