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:
commit
347d0dbfa1
@ -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
3
Markdown-3.3.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874
|
||||||
|
size 324130
|
@ -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>
|
Wed Nov 24 21:21:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Markdown
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,7 +20,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
Name: python-Markdown
|
Name: python-Markdown
|
||||||
Version: 3.3.6
|
Version: 3.3.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python implementation of Markdown
|
Summary: Python implementation of Markdown
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -30,7 +30,9 @@ Source: https://files.pythonhosted.org/packages/source/M/Markdown/Markdo
|
|||||||
Patch0: markdown-3.0-python37.patch
|
Patch0: markdown-3.0-python37.patch
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module importlib-metadata >= 4.4}
|
BuildRequires: %{python_module importlib-metadata >= 4.4}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module xml}
|
BuildRequires: %{python_module xml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
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][].
|
supported by the [Available Extensions][].
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Markdown-%{version}
|
%autosetup -p1 -n Markdown-%{version}
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/markdown_py
|
%python_clone -a %{buildroot}%{_bindir}/markdown_py
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec -m unittest discover
|
%pyunittest discover -v
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative markdown_py
|
%python_install_alternative markdown_py
|
||||||
@ -74,7 +75,7 @@ supported by the [Available Extensions][].
|
|||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%doc README.md docs/*
|
%doc README.md docs/*
|
||||||
%python_alternative %{_bindir}/markdown_py
|
%python_alternative %{_bindir}/markdown_py
|
||||||
%{python_sitelib}/Markdown-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/Markdown-%{version}*-info
|
||||||
%{python_sitelib}/markdown
|
%{python_sitelib}/markdown
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user