diff --git a/Mako-1.1.6.tar.gz b/Mako-1.1.6.tar.gz deleted file mode 100644 index 0f8a406..0000000 --- a/Mako-1.1.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4e9e345a41924a954251b95b4b28e14a301145b544901332e658907a7464b6b2 -size 495132 diff --git a/Mako-1.2.1.tar.gz b/Mako-1.2.1.tar.gz new file mode 100644 index 0000000..6f4727e --- /dev/null +++ b/Mako-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f054a5ff4743492f1aa9ecc47172cb33b42b9d993cffcc146c9de17e717b0307 +size 489560 diff --git a/python-Mako.changes b/python-Mako.changes index 6038991..82c6327 100644 --- a/python-Mako.changes +++ b/python-Mako.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Jul 18 09:39:22 UTC 2022 - Steve Kowalik + +- 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 diff --git a/python-Mako.spec b/python-Mako.spec index fd7dc98..3cc1811 100644 --- a/python-Mako.spec +++ b/python-Mako.spec @@ -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