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

- update to version 3.2.2
- add new requirement importlib-metadata for python < 3.8
- remove setuptools from Requires: dependency dropped by upstream

OBS-URL: https://build.opensuse.org/request/show/802354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=61
This commit is contained in:
Tomáš Chvátal 2020-05-11 05:51:46 +00:00 committed by Git OBS Bridge
parent 6def1921f2
commit 44fcfe6271
4 changed files with 28 additions and 5 deletions

View File

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

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

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sat May 9 18:45:23 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 3.2.2:
* Add checklinks tox environment to ensure all links in
documentation are good.
* Refactor extension API documentation (#729).
* Load entry_points (for extensions) only once using
importlib.metadata.
* Do not double escape entities in TOC.
* Correctly report if an extension raises a TypeError (#939).
* Raise a KeyError when attempting to delete a nonexistent key
from the extension registry (#939).
* Remove import of packaging (or pkg_resources fallback) entirely
* Remove setuptools as a run-time dependency (install_required).
- add new requirement importlib-metadata for python < 3.8
- remove setuptools from Requires: dependency dropped by upstream
-------------------------------------------------------------------
Thu Feb 13 19:07:42 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>

View File

@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-Markdown
Version: 3.2.1
Version: 3.2.2
Release: 0
Summary: Python implementation of Markdown
License: BSD-3-Clause
@ -28,12 +28,17 @@ Group: Development/Languages/Python
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
%if %{?suse_version} <= 1500
BuildRequires: %{python_module importlib-metadata}
%endif
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
%if %{?suse_version} <= 1500
Requires: python-importlib-metadata
%endif
Requires: python-xml
Requires(post): update-alternatives
Requires(postun): update-alternatives