diff --git a/Markdown-3.1.1.tar.gz b/Markdown-3.1.1.tar.gz deleted file mode 100644 index e24c8bc..0000000 --- a/Markdown-3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a -size 294136 diff --git a/Markdown-3.2.1.tar.gz b/Markdown-3.2.1.tar.gz new file mode 100644 index 0000000..7c63afc --- /dev/null +++ b/Markdown-3.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90fee683eeabe1a92e149f7ba74e5ccdc81cd397bd6c516d93a8da0ef90b6902 +size 297048 diff --git a/python-Markdown.changes b/python-Markdown.changes index cac174f..38ff764 100644 --- a/python-Markdown.changes +++ b/python-Markdown.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Thu Feb 13 19:07:42 UTC 2020 - Benoît Monin + +- 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 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 diff --git a/python-Markdown.spec b/python-Markdown.spec index c756ced..6b13cd5 100644 --- a/python-Markdown.spec +++ b/python-Markdown.spec @@ -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