From a7ab06c3ab146722ae1f19d65ba51540a3265b5324ade2b172a31d4421f16f5a Mon Sep 17 00:00:00 2001 From: Dirk Mueller <dmueller@suse.com> Date: Mon, 18 Jul 2022 09:52:39 +0000 Subject: [PATCH] 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 --- Markdown-3.3.7.tar.gz | 3 --- Markdown-3.4.1.tar.gz | 3 +++ python-Markdown.changes | 12 ++++++++++++ python-Markdown.spec | 9 +++++---- 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 Markdown-3.3.7.tar.gz create mode 100644 Markdown-3.4.1.tar.gz diff --git a/Markdown-3.3.7.tar.gz b/Markdown-3.3.7.tar.gz deleted file mode 100644 index eca1192..0000000 --- a/Markdown-3.3.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874 -size 324130 diff --git a/Markdown-3.4.1.tar.gz b/Markdown-3.4.1.tar.gz new file mode 100644 index 0000000..92faea4 --- /dev/null +++ b/Markdown-3.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b809086bb6efad416156e00a0da66fe47618a5d6918dd688f53f40c8e4cfeff +size 322554 diff --git a/python-Markdown.changes b/python-Markdown.changes index 716ab13..3a3fc09 100644 --- a/python-Markdown.changes +++ b/python-Markdown.changes @@ -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> diff --git a/python-Markdown.spec b/python-Markdown.spec index ed683f6..efd5a56 100644 --- a/python-Markdown.spec +++ b/python-Markdown.spec @@ -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