Accepting request 975264 from devel:languages:python

- Clean up the SPEC file.
- 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)

OBS-URL: https://build.opensuse.org/request/show/975264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markdown?expand=0&rev=38
This commit is contained in:
Dominique Leuenberger 2022-05-08 19:52:19 +00:00 committed by Git OBS Bridge
commit 347d0dbfa1
4 changed files with 25 additions and 11 deletions

View File

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

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

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu May 5 21:23:17 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file.
-------------------------------------------------------------------
Thu May 5 20:08:38 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
- 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 <dmueller@suse.com>

View File

@ -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
@ -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