diff --git a/MarkupSafe-2.0.1.tar.gz b/MarkupSafe-2.0.1.tar.gz deleted file mode 100644 index bb9fd54..0000000 --- a/MarkupSafe-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a -size 18596 diff --git a/MarkupSafe-2.1.1.tar.gz b/MarkupSafe-2.1.1.tar.gz new file mode 100644 index 0000000..3336f9e --- /dev/null +++ b/MarkupSafe-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b +size 18668 diff --git a/python-MarkupSafe.changes b/python-MarkupSafe.changes index 31a9b37..ffa5301 100644 --- a/python-MarkupSafe.changes +++ b/python-MarkupSafe.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Mar 18 22:31:50 UTC 2022 - Arun Persaud + +- specfile: + * update copyright year + * require python >= 3.7 + +- update to version 2.1.1: + * Avoid ambiguous regex matches in "striptags". :pr:`293` + +- changes from version 2.1.0: + * Drop support for Python 3.6. :pr:`262` + * Remove "soft_unicode", which was previously deprecated. Use + "soft_str" instead. :pr:`261` + * Raise error on missing single placeholder during string + interpolation. :issue:`225` + * Disable speedups module for GraalPython. :issue:`277` + ------------------------------------------------------------------- Sun Jun 13 14:46:40 UTC 2021 - Michael Ströder diff --git a/python-MarkupSafe.spec b/python-MarkupSafe.spec index ec3b99e..b78f0c3 100644 --- a/python-MarkupSafe.spec +++ b/python-MarkupSafe.spec @@ -1,7 +1,7 @@ # # spec file for package python-MarkupSafe # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,30 +16,30 @@ # -%bcond_without test %define oldpython python %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-MarkupSafe -Version: 2.0.1 +Version: 2.1.1 Release: 0 -URL: https://github.com/pallets/markupsafe Summary: Implements a XML/HTML/XHTML Markup safe string for Python License: BSD-3-Clause Group: Development/Languages/Python +URL: https://github.com/pallets/markupsafe Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz BuildRequires: %{python_module devel} -%if %{with test} -BuildRequires: %{python_module pytest} -%endif BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-base >= 3.7 +%if %{with test} +BuildRequires: %{python_module pytest} +%endif %ifpython2 Provides: %{oldpython}-markupsafe = %{version} Obsoletes: %{oldpython}-markupsafe < %{version} %endif - %python_subpackages %description @@ -60,7 +60,7 @@ export CFLAGS="%{optflags}" %if %{with test} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest +%pytest_arch %endif %files %{python_files}