14
0
forked from pool/python-Mako

Accepting request 721098 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/721098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=36
This commit is contained in:
2019-08-06 13:09:15 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0cfa65de3a835e87eeca6ac856b3013aade55f49e32515f65d999f91a2324162
size 460108

3
Mako-1.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b
size 463945

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
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
- 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 <tchvatal@suse.com>

View File

@@ -19,21 +19,22 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Mako
Version: 1.0.12
Version: 1.1.0
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
@@ -68,7 +69,7 @@ scoping semantics.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%license LICENSE