Accepting request 965250 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/965250 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-MarkupSafe?expand=0&rev=23
This commit is contained in:
commit
818825975b
@ -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
3
MarkupSafe-2.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b
|
||||||
|
size 18668
|
@ -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>
|
Sun Jun 13 14:46:40 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-MarkupSafe
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,30 +16,30 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_without test
|
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without test
|
||||||
Name: python-MarkupSafe
|
Name: python-MarkupSafe
|
||||||
Version: 2.0.1
|
Version: 2.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
URL: https://github.com/pallets/markupsafe
|
|
||||||
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/pallets/markupsafe
|
||||||
Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
%endif
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-base >= 3.7
|
||||||
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Provides: %{oldpython}-markupsafe = %{version}
|
Provides: %{oldpython}-markupsafe = %{version}
|
||||||
Obsoletes: %{oldpython}-markupsafe < %{version}
|
Obsoletes: %{oldpython}-markupsafe < %{version}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -60,7 +60,7 @@ export CFLAGS="%{optflags}"
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m pytest
|
%pytest_arch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user