Accepting request 965211 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/965211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MarkupSafe?expand=0&rev=35
This commit is contained in:
Matej Cepl 2022-03-27 20:04:17 +00:00 committed by Git OBS Bridge
parent 07dbe902f7
commit de68846ff2
4 changed files with 30 additions and 12 deletions

View File

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

3
MarkupSafe-2.1.1.tar.gz Normal file
View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Mar 18 22:31:50 UTC 2022 - Arun Persaud <arun@gmx.de>
- 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 <michael@stroeder.com>

View File

@ -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}