Sync from SUSE:SLFO:Main python-Markdown revision fc1748de64f4d65c0c24a95110089193
This commit is contained in:
parent
8ca6726a96
commit
5f2b649049
BIN
Markdown-3.4.4.tar.gz
(Stored with Git LFS)
BIN
Markdown-3.4.4.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@ -1,6 +1,10 @@
|
||||
--- Markdown-3.0/tests/test_legacy.py.orig 2018-10-18 20:59:01.521952070 +0200
|
||||
+++ Markdown-3.0/tests/test_legacy.py 2018-10-18 20:59:20.746395446 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
---
|
||||
tests/test_legacy.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
--- a/tests/test_legacy.py
|
||||
+++ b/tests/test_legacy.py
|
||||
@@ -28,6 +28,7 @@ warnings.simplefilter('error')
|
||||
# Except for the warnings that shouldn't
|
||||
warnings.filterwarnings('default', category=PendingDeprecationWarning)
|
||||
warnings.filterwarnings('default', category=DeprecationWarning, module='markdown')
|
||||
|
BIN
markdown-3.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
markdown-3.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,83 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 17 10:27:01 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 3.7:
|
||||
* Changed
|
||||
+ Refactor abbr Extension
|
||||
* Fixed
|
||||
+ Fixed links to source code on GitHub from the documentation
|
||||
(#1453).
|
||||
- rename source tarball to markdown to match upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 14:47:54 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Split the package into multibuild with tests separate (to
|
||||
separate PyYAML dependency).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 19:46:03 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 3.6:
|
||||
* Changed
|
||||
+ Refactor TOC Sanitation
|
||||
* Fixed
|
||||
+ Include scripts/*.py in the generated source tarballs (#1430)
|
||||
+ Ensure lines after heading in loose list are properly
|
||||
detabbed (#1443).
|
||||
+ Give smarty tree processor higher priority than toc (#1440).
|
||||
+ Permit carets (^) and square brackets (]) but explicitly
|
||||
exclude backslashes (\) from abbreviations (#1444).
|
||||
+ In attribute lists (attr_list, fenced_code), quoted attribute
|
||||
values are now allowed to contain curly braces (}) (#1414).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 21:37:02 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 3.5.2:
|
||||
* Fix type annotations for convertFile - it accepts only
|
||||
bytes-based buffers. Also remove legacy checks from Python 2
|
||||
(#1400)
|
||||
* Remove legacy import needed only in Python 2 (#1403)
|
||||
* Fix typo that left the attribute
|
||||
AdmonitionProcessor.content_indent unset (#1404)
|
||||
* Fix edge-case crash in InlineProcessor with AtomicString
|
||||
(#1406).
|
||||
* Fix edge-case crash in codehilite with an empty code tag
|
||||
(#1405).
|
||||
* Improve and expand type annotations in the code base (#1401).
|
||||
* Fix handling of bogus comments (#1425).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 1 20:56:04 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 3.5.1:
|
||||
* Fix a performance problem with HTML extraction where large HTML
|
||||
input could trigger quadratic line counting behavior (#1392).
|
||||
* Improve and expand type annotations in the code base (#1394).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 8 13:54:25 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 3.5:
|
||||
* Added:
|
||||
+ Add permalink_leading configuration option to the toc
|
||||
extension (#1339)
|
||||
* Changed:
|
||||
+ Add support for cPython version 3.12 (and PyPy 3.10) and drop
|
||||
support for Python version 3.7 (#1357).
|
||||
+ Refactor changelog to use the format defined at
|
||||
https://keepachangelog.com/.
|
||||
+ Update the list of empty HTML tags (#1353).
|
||||
+ Add customizable TOC title class to TOC extension (#1293).
|
||||
+ Add API documentation of the code base which is generated by
|
||||
mkdocstrings (#1220).
|
||||
* Fixed:
|
||||
+ Fix a corner case in admonitions where if an indented code
|
||||
block was provided as the first block, the output would be
|
||||
malformed (#1329).
|
||||
- set the minimum python version to 3.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 25 19:12:12 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Markdown
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,28 +17,38 @@
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Markdown
|
||||
Version: 3.4.4
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%endif
|
||||
%if "%{flavor}" == ""
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-Markdown%{psuffix}
|
||||
Version: 3.7
|
||||
Release: 0
|
||||
Summary: Python implementation of Markdown
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://python-markdown.github.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
|
||||
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 base >= 3.7}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
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: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if 0%{?python_version_nodots} < 310
|
||||
Requires: python-importlib-metadata >= 4.4
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Markdown = %{version}}
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
%endif
|
||||
Requires: (python-importlib-metadata >= 4.4 if python-base < 3.10)
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -50,20 +60,27 @@ on what exactly is supported and what is not. Additional features are
|
||||
supported by the [Available Extensions][].
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n Markdown-%{version}
|
||||
%autosetup -p1 -n markdown-%{version}
|
||||
|
||||
%build
|
||||
%if %{without test}
|
||||
%pyproject_wheel
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{without test}
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/markdown_py
|
||||
%endif
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%pyunittest discover -v
|
||||
%endif
|
||||
|
||||
%if %{without test}
|
||||
%post
|
||||
%python_install_alternative markdown_py
|
||||
|
||||
@ -76,5 +93,6 @@ supported by the [Available Extensions][].
|
||||
%python_alternative %{_bindir}/markdown_py
|
||||
%{python_sitelib}/Markdown-%{version}*-info
|
||||
%{python_sitelib}/markdown
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user