Accepting request 774226 from home:benoit_monin:branches:devel:languages:python

- update to version 3.2.1
- disable python2 build: Markdown is python 3 only now

OBS-URL: https://build.opensuse.org/request/show/774226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=59
This commit is contained in:
Tomáš Chvátal 2020-02-13 20:49:11 +00:00 committed by Git OBS Bridge
parent aa6f979233
commit 6def1921f2
4 changed files with 35 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a
size 294136

3
Markdown-3.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90fee683eeabe1a92e149f7ba74e5ccdc81cd397bd6c516d93a8da0ef90b6902
size 297048

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Thu Feb 13 19:07:42 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 3.2.1: bugfix release
* The name property in toc_tokens from the TOC extension now
escapes HTML special characters (<, >, and &).
- additional changes from version 3.2: major release
* Backwards-incompatible changes:
+ Drop support for Python 2.7
+ em and strong inline processor changes
+ CodeHilite now always wraps with <code> tags
+ markdown.util.etree deprecated
* New features:
+ Some new configuration options have been added to the toc
extension
+ Document thread safety (#812).
+ Markdown parsing in HTML has been exposed via a separate
extension called md_in_html.
+ Add support for Python 3.8.
* Bug fixes:
+ HTML tag placeholders are no longer included in .toc_tokens
(#899).
+ Unescape backslash-escaped characters in TOC ids (#864).
+ Refactor bold and italic logic in order to solve complex
nesting issues (#792).
+ Always wrap CodeHilite code in tags (#862).
- disable python2 build: Markdown is python 3 only now
-------------------------------------------------------------------
Tue May 21 16:55:19 UTC 2019 - Benoît Monin <benoit.monin@gmx.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Markdown
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,15 +16,16 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-Markdown
Version: 3.1.1
Version: 3.2.1
Release: 0
Summary: Python implementation of Markdown
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://python-markdown.github.io/
URL: https://python-markdown.github.io/
Source: https://files.pythonhosted.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
Patch0: markdown-3.0-python37.patch
BuildRequires: %{python_module PyYAML}
@ -37,11 +38,6 @@ Requires: python-xml
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%ifpython2
# older python2 version provided the package in lowercase
Provides: %{oldpython}-markdown = %{version}
Obsoletes: %{oldpython}-markdown < %{version}
%endif
%python_subpackages
%description