From ea29564d8905b1dd716923fdec98d92e60bca6643755ee0831a349c4b906b54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 29 Jul 2019 08:41:32 +0000 Subject: [PATCH 1/2] Accepting request 719500 from home:pgajdos - version update to 1.0.14 * The n filter is now supported in the <%page> tag. This allows a template to omit the default expression filters throughout a whole template, for those cases where a template-wide filter needs to have default filtering disabled. * Fixed issue where the correct file URI would not be shown in the template-formatted exception traceback if the template filename were not known. Additionally fixes an issue where stale filenames would be displayed if a stack trace alternated between different templates. * Improved the line-number tracking for source lines inside of Python <% ... %> blocks, such that text- and HTML-formatted exception traces such as that of html_error_template() now report the correct source line inside the block, rather than the first line of the block itself. Exceptions in <%! ... %> blocks which get raised while loading the module are still not reported correctly, as these are handled before the Mako code is generated. OBS-URL: https://build.opensuse.org/request/show/719500 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=63 --- Mako-1.0.12.tar.gz | 3 --- Mako-1.0.14.tar.gz | 3 +++ python-Mako.changes | 12 ++++++++++++ python-Mako.spec | 7 ++++--- 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 Mako-1.0.12.tar.gz create mode 100644 Mako-1.0.14.tar.gz diff --git a/Mako-1.0.12.tar.gz b/Mako-1.0.12.tar.gz deleted file mode 100644 index 207cae1..0000000 --- a/Mako-1.0.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0cfa65de3a835e87eeca6ac856b3013aade55f49e32515f65d999f91a2324162 -size 460108 diff --git a/Mako-1.0.14.tar.gz b/Mako-1.0.14.tar.gz new file mode 100644 index 0000000..a14d5f8 --- /dev/null +++ b/Mako-1.0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5a642d8c5699269ab62a68b296ff990767eb120f51e2e8f3d6afb16bdb57f4b +size 462343 diff --git a/python-Mako.changes b/python-Mako.changes index 650263c..e0f59bd 100644 --- a/python-Mako.changes +++ b/python-Mako.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jul 29 07:36:52 UTC 2019 - pgajdos@suse.com + +- version update to 1.0.14 + * The n filter is now supported in the <%page> tag. This allows a template to omit the default expression filters throughout a whole template, for those cases where a + template-wide filter needs to have default filtering disabled. + * Fixed issue where the correct file URI would not be shown in the template-formatted exception traceback if the template filename were not known. Additionally fixes an issue + where stale filenames would be displayed if a stack trace alternated between different templates. + * Improved the line-number tracking for source lines inside of Python <% ... %> blocks, such that text- and HTML-formatted exception traces such as that of + html_error_template() now report the correct source line inside the block, rather than the first line of the block itself. Exceptions in <%! ... %> blocks which get raised + while loading the module are still not reported correctly, as these are handled before the Mako code is generated. + ------------------------------------------------------------------- Tue Jun 18 08:40:22 UTC 2019 - Tomáš Chvátal diff --git a/python-Mako.spec b/python-Mako.spec index db98b5e..e4fcaf4 100644 --- a/python-Mako.spec +++ b/python-Mako.spec @@ -19,21 +19,22 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Mako -Version: 1.0.12 +Version: 1.0.14 Release: 0 Summary: A Python templating language License: MIT Group: Development/Languages/Python URL: http://www.makotemplates.org/ Source: https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz -BuildRequires: %{python_module MarkupSafe} +BuildRequires: %{python_module MarkupSafe >= 0.9.2} BuildRequires: %{python_module mock} BuildRequires: %{python_module pbr} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-MarkupSafe +Requires: python-MarkupSafe >= 0.9.2 +Requires: python-setuptools BuildArch: noarch %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 Recommends: python-Beaker >= 1.1 From f171012d61a5b31cb203a4bd3a5407dab354e237131e57ff44c0eab255b706f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 5 Aug 2019 18:06:18 +0000 Subject: [PATCH 2/2] Accepting request 721022 from home:pgajdos - version update to 1.1.0 * Removed the "python setup.py test" feature in favor * Replaced usage of ``inspect.getfullargspec()`` with the vendored version used by SQLAlchemy, Alembic to avoid future deprecation warnings. OBS-URL: https://build.opensuse.org/request/show/721022 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=64 --- Mako-1.0.14.tar.gz | 3 --- Mako-1.1.0.tar.gz | 3 +++ python-Mako.changes | 8 ++++++++ python-Mako.spec | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 Mako-1.0.14.tar.gz create mode 100644 Mako-1.1.0.tar.gz diff --git a/Mako-1.0.14.tar.gz b/Mako-1.0.14.tar.gz deleted file mode 100644 index a14d5f8..0000000 --- a/Mako-1.0.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5a642d8c5699269ab62a68b296ff990767eb120f51e2e8f3d6afb16bdb57f4b -size 462343 diff --git a/Mako-1.1.0.tar.gz b/Mako-1.1.0.tar.gz new file mode 100644 index 0000000..0fe5ed7 --- /dev/null +++ b/Mako-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b +size 463945 diff --git a/python-Mako.changes b/python-Mako.changes index e0f59bd..3e7b6ea 100644 --- a/python-Mako.changes +++ b/python-Mako.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Aug 5 11:42:51 UTC 2019 - pgajdos@suse.com + +- version update to 1.1.0 + * Removed the "python setup.py test" feature in favor + * Replaced usage of ``inspect.getfullargspec()`` with the vendored version + used by SQLAlchemy, Alembic to avoid future deprecation warnings. + ------------------------------------------------------------------- Mon Jul 29 07:36:52 UTC 2019 - pgajdos@suse.com diff --git a/python-Mako.spec b/python-Mako.spec index e4fcaf4..9cb46ee 100644 --- a/python-Mako.spec +++ b/python-Mako.spec @@ -19,7 +19,7 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Mako -Version: 1.0.14 +Version: 1.1.0 Release: 0 Summary: A Python templating language License: MIT @@ -69,7 +69,7 @@ scoping semantics. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %license LICENSE