Accepting request 896644 from home:alarrosa:branches:devel:languages:python

- 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
This commit is contained in:
Matej Cepl 2021-06-01 18:21:31 +00:00 committed by Git OBS Bridge
parent db43ba758a
commit 54a7cb0e82
4 changed files with 21 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b
size 19151

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

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Jun 1 10:23:06 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- Update to v2.0.1
* Mark top-level names as exported so type checking understands
imports in user projects.
* Fix some types that werent 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 <dmueller@suse.com>
@ -7,7 +21,9 @@ Fri Apr 16 07:30:01 UTC 2021 - Dirk Müller <dmueller@suse.com>
Tue Mar 5 16:46:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <jayvdb@gmail.com>

View File

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