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

- update to version 3.4.1
- drop requirement of python-xml, not needed by upstream
- set the minimum python version to 3.7
- require importlib-metadata only for python version < 3.10

OBS-URL: https://build.opensuse.org/request/show/989737
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=77
This commit is contained in:
Dirk Mueller 2022-07-18 09:52:39 +00:00 committed by Git OBS Bridge
parent fc5d767997
commit a7ab06c3ab
4 changed files with 20 additions and 7 deletions

View File

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

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

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Jul 17 17:53:17 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 3.4.1: bug-fix release
* Fix an import issue with importlib.util (#1274).
- additional changes from version 3.4.0:
* see https://python-markdown.github.io/change_log/release-3.4/
for details
- drop requirement of python-xml, not needed by upstream
- set the minimum python version to 3.7
- require importlib-metadata only for python version < 3.10
-------------------------------------------------------------------
Thu May 5 21:23:17 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-Markdown
Version: 3.3.7
Version: 3.4.1
Release: 0
Summary: Python implementation of Markdown
License: BSD-3-Clause
@ -29,15 +29,16 @@ 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}
BuildRequires: %{python_module importlib-metadata >= 4.4}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module importlib-metadata >= 4.4 if %python-base < 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if 0%{?python_version_nodots} < 310
Requires: python-importlib-metadata >= 4.4
Requires: python-xml
%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch