From 5e93865b1bf22cd749afe19bddceff9c0deb710a57f7f510a6ec8b3835f09ef4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 5 May 2022 21:18:42 +0000 Subject: [PATCH 1/2] Accepting request 975261 from home:benoit_monin:branches:devel:languages:python update to version 3.3.7: bug-fix release OBS-URL: https://build.opensuse.org/request/show/975261 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=74 --- Markdown-3.3.6.tar.gz | 3 --- Markdown-3.3.7.tar.gz | 3 +++ python-Markdown.changes | 8 ++++++++ python-Markdown.spec | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) delete mode 100644 Markdown-3.3.6.tar.gz create mode 100644 Markdown-3.3.7.tar.gz diff --git a/Markdown-3.3.6.tar.gz b/Markdown-3.3.6.tar.gz deleted file mode 100644 index 1b7dee9..0000000 --- a/Markdown-3.3.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:76df8ae32294ec39dcf89340382882dfa12975f87f45c3ed1ecdb1e8cefc7006 -size 323584 diff --git a/Markdown-3.3.7.tar.gz b/Markdown-3.3.7.tar.gz new file mode 100644 index 0000000..eca1192 --- /dev/null +++ b/Markdown-3.3.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874 +size 324130 diff --git a/python-Markdown.changes b/python-Markdown.changes index 694d39d..0dc599c 100644 --- a/python-Markdown.changes +++ b/python-Markdown.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu May 5 20:08:38 UTC 2022 - Benoît Monin + +- update to version 3.3.7: bug-fix release + * Disallow square brackets in reference link ids (#1209) + * Retain configured pygments_style after first code block (#1240) + * Ensure fenced code attributes are properly escaped (#1247) + ------------------------------------------------------------------- Wed Nov 24 21:21:34 UTC 2021 - Dirk Müller diff --git a/python-Markdown.spec b/python-Markdown.spec index 5f37ed7..b8f966b 100644 --- a/python-Markdown.spec +++ b/python-Markdown.spec @@ -1,7 +1,7 @@ # # spec file for package python-Markdown # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-Markdown -Version: 3.3.6 +Version: 3.3.7 Release: 0 Summary: Python implementation of Markdown License: BSD-3-Clause From fc5d76799783d0c160f72c00794f26159dc50595f26c250fbf4ddd0349017d5c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 5 May 2022 21:24:20 +0000 Subject: [PATCH 2/2] - Clean up the SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=75 --- python-Markdown.changes | 5 +++++ python-Markdown.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-Markdown.changes b/python-Markdown.changes index 0dc599c..716ab13 100644 --- a/python-Markdown.changes +++ b/python-Markdown.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 5 21:23:17 UTC 2022 - Matej Cepl + +- Clean up the SPEC file. + ------------------------------------------------------------------- Thu May 5 20:08:38 UTC 2022 - Benoît Monin diff --git a/python-Markdown.spec b/python-Markdown.spec index b8f966b..ed683f6 100644 --- a/python-Markdown.spec +++ b/python-Markdown.spec @@ -30,7 +30,9 @@ Source: https://files.pythonhosted.org/packages/source/M/Markdown/Markdo Patch0: markdown-3.0-python37.patch BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module importlib-metadata >= 4.4} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -49,20 +51,19 @@ on what exactly is supported and what is not. Additional features are supported by the [Available Extensions][]. %prep -%setup -q -n Markdown-%{version} -%autopatch -p1 +%autosetup -p1 -n Markdown-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/markdown_py %check -%python_exec -m unittest discover +%pyunittest discover -v %post %python_install_alternative markdown_py @@ -74,7 +75,7 @@ supported by the [Available Extensions][]. %license LICENSE.md %doc README.md docs/* %python_alternative %{_bindir}/markdown_py -%{python_sitelib}/Markdown-%{version}-py%{python_version}.egg-info +%{python_sitelib}/Markdown-%{version}*-info %{python_sitelib}/markdown %changelog