From 54a7cb0e82397f4fd144b8439a16ca4920e58e85dace3855b80e2af7f9d90ad0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 1 Jun 2021 18:21:31 +0000 Subject: [PATCH 1/2] Accepting request 896644 from home:alarrosa:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to v2.0.1 * Mark top-level names as exported so type checking understands imports in user projects. * Fix some types that weren’t available in Python 3.6.0. - Update to v2.0.0 * Drop Python 2.7, 3.4, and 3.5 support. * Markup.unescape uses html.unescape() to support HTML5 character references. #117 * Add type annotations for static typing tools. #149 * Fix segfault when __html__ method raises an exception when using the C speedups. The exception is now propagated correctly. (#109) OBS-URL: https://build.opensuse.org/request/show/896644 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MarkupSafe?expand=0&rev=33 --- MarkupSafe-1.1.1.tar.gz | 3 --- MarkupSafe-2.0.1.tar.gz | 3 +++ python-MarkupSafe.changes | 18 +++++++++++++++++- python-MarkupSafe.spec | 3 +-- 4 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 MarkupSafe-1.1.1.tar.gz create mode 100644 MarkupSafe-2.0.1.tar.gz diff --git a/MarkupSafe-1.1.1.tar.gz b/MarkupSafe-1.1.1.tar.gz deleted file mode 100644 index 7f91ce7..0000000 --- a/MarkupSafe-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b -size 19151 diff --git a/MarkupSafe-2.0.1.tar.gz b/MarkupSafe-2.0.1.tar.gz new file mode 100644 index 0000000..bb9fd54 --- /dev/null +++ b/MarkupSafe-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a +size 18596 diff --git a/python-MarkupSafe.changes b/python-MarkupSafe.changes index aa075bb..0166606 100644 --- a/python-MarkupSafe.changes +++ b/python-MarkupSafe.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Jun 1 10:23:06 UTC 2021 - Antonio Larrosa + +- Update to v2.0.1 + * Mark top-level names as exported so type checking understands + imports in user projects. + * Fix some types that weren’t available in Python 3.6.0. + +- Update to v2.0.0 + * Drop Python 2.7, 3.4, and 3.5 support. + * Markup.unescape uses html.unescape() to support HTML5 character + references. #117 + * Add type annotations for static typing tools. #149 + ------------------------------------------------------------------- Fri Apr 16 07:30:01 UTC 2021 - Dirk Müller @@ -7,7 +21,9 @@ Fri Apr 16 07:30:01 UTC 2021 - Dirk Müller Tue Mar 5 16:46:50 UTC 2019 - Tomáš Chvátal - Update to 1.1.1: - * Fix segfault when __html__ method raises an exception when using the C speedups. The exception is now propagated correctly. (#109) + * Fix segfault when __html__ method raises an exception when + using the C speedups. The exception is now propagated + correctly. (#109) ------------------------------------------------------------------- Thu Feb 21 16:13:28 UTC 2019 - John Vandenberg diff --git a/python-MarkupSafe.spec b/python-MarkupSafe.spec index 0ac8eac..d768653 100644 --- a/python-MarkupSafe.spec +++ b/python-MarkupSafe.spec @@ -20,7 +20,7 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-MarkupSafe -Version: 1.1.1 +Version: 2.0.1 Release: 0 URL: https://github.com/pallets/markupsafe Summary: Implements a XML/HTML/XHTML Markup safe string for Python @@ -47,7 +47,6 @@ safely encode strings for dynamically generated web pages. %prep %setup -q -n MarkupSafe-%{version} -rm docs/make.bat docs/Makefile docs/conf.py docs/requirements.txt %build export CFLAGS="%{optflags}" From 07dbe902f7cf5ccc15631301499306a454dfba6d8538f5533865e3b12254a9d3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Jun 2021 18:41:18 +0000 Subject: [PATCH 2/2] Accepting request 899817 from home:stroeder:iam skip building for Python 2.x OBS-URL: https://build.opensuse.org/request/show/899817 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-MarkupSafe?expand=0&rev=34 --- python-MarkupSafe.changes | 5 +++++ python-MarkupSafe.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/python-MarkupSafe.changes b/python-MarkupSafe.changes index 0166606..31a9b37 100644 --- a/python-MarkupSafe.changes +++ b/python-MarkupSafe.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 13 14:46:40 UTC 2021 - Michael Ströder + +- skip building for Python 2.x + ------------------------------------------------------------------- Tue Jun 1 10:23:06 UTC 2021 - Antonio Larrosa diff --git a/python-MarkupSafe.spec b/python-MarkupSafe.spec index d768653..ec3b99e 100644 --- a/python-MarkupSafe.spec +++ b/python-MarkupSafe.spec @@ -18,6 +18,7 @@ %bcond_without test %define oldpython python +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-MarkupSafe Version: 2.0.1