- update to 2.1.3:
* Implement ``format_map``, ``casefold``, ``removeprefix``, and ``removesuffix`` methods. * Fix static typing for basic ``str`` methods on ``Markup``. * Use ``Self`` for annotating return types. :pr:`379` OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MarkupSafe?expand=0&rev=45
This commit is contained in:
parent
ce0302ba22
commit
d8ab630a97
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d
|
||||
size 19080
|
BIN
MarkupSafe-2.1.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
MarkupSafe-2.1.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 19 20:10:45 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.1.3:
|
||||
* Implement ``format_map``, ``casefold``, ``removeprefix``,
|
||||
and ``removesuffix`` methods.
|
||||
* Fix static typing for basic ``str`` methods on ``Markup``.
|
||||
* Use ``Self`` for annotating return types. :pr:`379`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:20:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -16,13 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define oldpython python
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-MarkupSafe
|
||||
Version: 2.1.2
|
||||
Version: 2.1.3
|
||||
Release: 0
|
||||
Summary: Implements a XML/HTML/XHTML Markup safe string for Python
|
||||
License: BSD-3-Clause
|
||||
@ -30,17 +27,14 @@ 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}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-base >= 3.6
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-markupsafe = %{version}
|
||||
Obsoletes: %{oldpython}-markupsafe < %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -52,10 +46,10 @@ safely encode strings for dynamically generated web pages.
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
%python_expand rm %{buildroot}%{$python_sitearch}/markupsafe/_speedups.c
|
||||
# Upstream changed the Python package metadata to require Python 3.7, but the tests pass on Python 3.6.
|
||||
@ -72,6 +66,6 @@ export CFLAGS="%{optflags}"
|
||||
%license LICENSE.rst
|
||||
%doc README.rst docs/
|
||||
%{python_sitearch}/markupsafe/
|
||||
%{python_sitearch}/MarkupSafe-%{version}-py*.egg-info
|
||||
%{python_sitearch}/MarkupSafe-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user