Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
7ed4f1c52b | |||
3e39398b1d |
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
|
tests/test_legacy.py | 1 +
|
||||||
@@ -29,6 +29,7 @@
|
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
|
# Except for the warnings that shouldn't
|
||||||
warnings.filterwarnings('default', category=PendingDeprecationWarning)
|
warnings.filterwarnings('default', category=PendingDeprecationWarning)
|
||||||
warnings.filterwarnings('default', category=DeprecationWarning, module='markdown')
|
warnings.filterwarnings('default', category=DeprecationWarning, module='markdown')
|
||||||
|
BIN
markdown-3.8.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
markdown-3.8.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,138 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 19 19:01:44 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to version 3.8.2:
|
||||||
|
* Fix codecs deprecation in Python 3.14.
|
||||||
|
* Fix issue with unclosed comment parsing in Python 3.14.
|
||||||
|
* Fix issue with unclosed declarations in Python 3.14.
|
||||||
|
* Fix issue with unclosed HTML tag <foo and Python 3.14.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 18 16:36:45 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to version 3.8.1:
|
||||||
|
* Ensure incomplete markup declaration in raw HTML doesn’t crash
|
||||||
|
parser (#1534).
|
||||||
|
* Fixed dropped content in md_in_html (#1526).
|
||||||
|
* Fixed HTML handling corner case that prevented some content
|
||||||
|
from not being rendered (#1528).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 11 20:28:38 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to version 3.8:
|
||||||
|
* Changed
|
||||||
|
+ DRY fix in abbr extension by introducing method
|
||||||
|
create_element (#1483).
|
||||||
|
+ Clean up test directory by removing some redundant tests and
|
||||||
|
port non-redundant cases to the newer test framework.
|
||||||
|
+ Improved performance of the raw HTML post-processor (#1510).
|
||||||
|
* Fixed
|
||||||
|
+ Backslash Unescape IDs set via attr_list on toc (#1493).
|
||||||
|
+ Ensure md_in_html processes content inside “markdown” blocks
|
||||||
|
as they are parsed outside of “markdown” blocks to keep
|
||||||
|
things more consistent for third-party extensions (#1503).
|
||||||
|
+ md_in_html handle tags within inline code blocks better
|
||||||
|
(#1075).
|
||||||
|
+ md_in_html fix handling of one-liner block HTML handling
|
||||||
|
(#1074).
|
||||||
|
+ Ensure <center> is treated like a block-level element
|
||||||
|
(#1481).
|
||||||
|
+ Ensure that abbr extension respects AtomicString and does not
|
||||||
|
process perceived abbreviations in these strings (#1512).
|
||||||
|
+ Ensure smarty extension correctly renders nested closing
|
||||||
|
quotes (#1514).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 1 11:32:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Make the metadata directory name case-insensitive.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 25 03:13:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Lowercase metadata directory name.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
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
|
# spec file for package python-Markdown
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -17,26 +17,36 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Markdown
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
Version: 3.4.4
|
%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.8.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python implementation of Markdown
|
Summary: Python implementation of Markdown
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://python-markdown.github.io/
|
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
|
Patch0: markdown-3.0-python37.patch
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
|
||||||
BuildRequires: %{python_module importlib-metadata >= 4.4 if %python-base < 3.10}
|
BuildRequires: %{python_module importlib-metadata >= 4.4 if %python-base < 3.10}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{?python_version_nodots} < 310
|
%if %{with test}
|
||||||
Requires: python-importlib-metadata >= 4.4
|
BuildRequires: %{python_module Markdown = %{version}}
|
||||||
|
BuildRequires: %{python_module PyYAML}
|
||||||
%endif
|
%endif
|
||||||
|
Requires: (python-importlib-metadata >= 4.4 if python-base < 3.10)
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -50,20 +60,27 @@ on what exactly is supported and what is not. Additional features are
|
|||||||
supported by the [Available Extensions][].
|
supported by the [Available Extensions][].
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n Markdown-%{version}
|
%autosetup -p1 -n markdown-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if %{without test}
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%if %{without test}
|
||||||
%pyproject_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
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with test}
|
||||||
%pyunittest discover -v
|
%pyunittest discover -v
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{without test}
|
||||||
%post
|
%post
|
||||||
%python_install_alternative markdown_py
|
%python_install_alternative markdown_py
|
||||||
|
|
||||||
@@ -74,7 +91,8 @@ 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}*-info
|
|
||||||
%{python_sitelib}/markdown
|
%{python_sitelib}/markdown
|
||||||
|
%{python_sitelib}/[mM]arkdown-%{version}.dist-info
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user