forked from pool/python-Mako
- Update to 1.2.1:
* [bug] [tests] Various fixes to the test suite in the area of exception
message rendering to accommodate for variability in Python versions as
well as Pygments.
* [performance] Optimized some codepaths within the lexer/Python code
generation process, improving performance for generation of templates
prior to their being cached. Pull request courtesy Takuto Ikuta.
* [changed] [py3k] Corrected "universal wheel" directive in setup.cfg so
that building a wheel does not target Python 2.
* [changed] [py3k] The bytestring_passthrough template argument is removed,
as this flag only applied to Python 2.
* [changed] [py3k] With the removal of Python 2's cStringIO, Mako now uses
its own internal FastEncodingBuffer exclusively.
* [changed] Refactored test utilities into mako.testing module. Removed
unittest.TestCase dependency in favor of pytest.
* [changed] [setup] Replaced the use of pkg_resources with the importlib
library. For Python < 3.8 the library importlib_metadata is used.
* [changed] [py3k] Removed support for Python 2 and Python 3.6. Mako now
requires Python >= 3.7.
* [bug] [py3k] Mako now performs exception chaining using raise from,
correctly identifying underlying exception conditions when it raises its
own exceptions. Pull request courtesy Ram Rachum.
- Remove python2 gubbins, since it is no longer supported.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=88
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4e9e345a41924a954251b95b4b28e14a301145b544901332e658907a7464b6b2
|
||||
size 495132
|
||||
3
Mako-1.2.1.tar.gz
Normal file
3
Mako-1.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f054a5ff4743492f1aa9ecc47172cb33b42b9d993cffcc146c9de17e717b0307
|
||||
size 489560
|
||||
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 09:39:22 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.2.1:
|
||||
* [bug] [tests] Various fixes to the test suite in the area of exception
|
||||
message rendering to accommodate for variability in Python versions as
|
||||
well as Pygments.
|
||||
* [performance] Optimized some codepaths within the lexer/Python code
|
||||
generation process, improving performance for generation of templates
|
||||
prior to their being cached. Pull request courtesy Takuto Ikuta.
|
||||
* [changed] [py3k] Corrected "universal wheel" directive in setup.cfg so
|
||||
that building a wheel does not target Python 2.
|
||||
* [changed] [py3k] The bytestring_passthrough template argument is removed,
|
||||
as this flag only applied to Python 2.
|
||||
* [changed] [py3k] With the removal of Python 2's cStringIO, Mako now uses
|
||||
its own internal FastEncodingBuffer exclusively.
|
||||
* [changed] Refactored test utilities into mako.testing module. Removed
|
||||
unittest.TestCase dependency in favor of pytest.
|
||||
* [changed] [setup] Replaced the use of pkg_resources with the importlib
|
||||
library. For Python < 3.8 the library importlib_metadata is used.
|
||||
* [changed] [py3k] Removed support for Python 2 and Python 3.6. Mako now
|
||||
requires Python >= 3.7.
|
||||
* [bug] [py3k] Mako now performs exception chaining using raise from,
|
||||
correctly identifying underlying exception conditions when it raises its
|
||||
own exceptions. Pull request courtesy Ram Rachum.
|
||||
- Remove python2 gubbins, since it is no longer supported.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 24 09:22:40 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -22,14 +22,11 @@
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Mako
|
||||
Version: 1.1.6
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
Summary: A Python templating language
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://www.makotemplates.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
|
||||
BuildRequires: %{python_module MarkupSafe >= 0.9.2}
|
||||
@@ -38,6 +35,7 @@ BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
BuildRequires: {%python_module base >= 3.7}
|
||||
Requires: python-MarkupSafe >= 0.9.2
|
||||
Requires: python-setuptools
|
||||
%if %{with libalternatives}
|
||||
@@ -51,10 +49,6 @@ BuildArch: noarch
|
||||
Recommends: python-Beaker >= 1.1
|
||||
Provides: python-mako = %{version}
|
||||
Obsoletes: python-mako < %{version}
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-mako = %{version}
|
||||
Obsoletes: %{oldpython}-mako < %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user