From d8ab630a975adfc26a9b1451d682995941003b1302b75062623e3bc2aafe38cb Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 19 Jun 2023 20:14:59 +0000 Subject: [PATCH] - 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 --- MarkupSafe-2.1.2.tar.gz | 3 --- MarkupSafe-2.1.3.tar.gz | 3 +++ python-MarkupSafe.changes | 9 +++++++++ python-MarkupSafe.spec | 18 ++++++------------ 4 files changed, 18 insertions(+), 15 deletions(-) delete mode 100644 MarkupSafe-2.1.2.tar.gz create mode 100644 MarkupSafe-2.1.3.tar.gz diff --git a/MarkupSafe-2.1.2.tar.gz b/MarkupSafe-2.1.2.tar.gz deleted file mode 100644 index 2f2fde0..0000000 --- a/MarkupSafe-2.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d -size 19080 diff --git a/MarkupSafe-2.1.3.tar.gz b/MarkupSafe-2.1.3.tar.gz new file mode 100644 index 0000000..a63d05d --- /dev/null +++ b/MarkupSafe-2.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af598ed32d6ae86f1b747b82783958b1a4ab8f617b06fe68795c7f026abbdcad +size 19132 diff --git a/python-MarkupSafe.changes b/python-MarkupSafe.changes index d54bea3..d3a9fee 100644 --- a/python-MarkupSafe.changes +++ b/python-MarkupSafe.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jun 19 20:10:45 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-MarkupSafe.spec b/python-MarkupSafe.spec index c722d07..231fad2 100644 --- a/python-MarkupSafe.spec +++ b/python-MarkupSafe.spec @@ -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