forked from pool/python-Markdown
Compare commits
21 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e3c005830d | |||
| 0695aff0ff | |||
| 6feee112f6 | |||
| f307ad0975 | |||
| fd38e31626 | |||
| 4738bd322a | |||
| 0142136134 | |||
| 9cf6958d47 | |||
| 57080521f5 | |||
| 332a35be5e | |||
| f7c02c0b85 | |||
| 46514c9bbf | |||
| d09a3e6e64 | |||
| 0193a563ad | |||
| eaf8707cae | |||
| 2d42a03a66 | |||
| 5daa561e1e | |||
| dcdc2c70c4 | |||
| d6daaaf0cd | |||
| 4f1bd75d98 | |||
| 922a912ff1 |
3
markdown-3.10.tar.gz
Normal file
3
markdown-3.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:37062d4f2aa4b2b6b32aefb80faa300f82cc790cb949a35b8caede34f2b68c0e
|
||||
size 364931
|
||||
BIN
markdown-3.7.tar.gz
LFS
BIN
markdown-3.7.tar.gz
LFS
Binary file not shown.
@@ -1,3 +1,111 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 4 19:45:00 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 3.10:
|
||||
* Officially support Python 3.14 and PyPy 3.11 and drop support
|
||||
for Python 3.9 and PyPy 3.9.
|
||||
* Fix an HTML comment parsing case in some Python versions that
|
||||
can cause an infinite loop (#1554).
|
||||
* Revert the default behavior of USE_DEFINITION_ORDER (to True).
|
||||
The new behavior introduced in 3.9.0 is experimental and
|
||||
results are inconsistent. It should not have been made the
|
||||
default behavior (#1561).
|
||||
- increase the minimum python version to 3.10 as required by
|
||||
upstream
|
||||
- stop requiring importlib-metadata:
|
||||
it was only needed for python < 3.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 5 15:36:45 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 3.9:
|
||||
* Footnotes are now ordered by the occurrence of their references
|
||||
in the document (#1367).
|
||||
* Ensure inline processing iterates through elements in document
|
||||
order (#1546).
|
||||
* Fix handling of incomplete HTML tags in code spans in Python
|
||||
3.14 (#1547).
|
||||
- increase the minimum python version to 3.9 as required by
|
||||
upstream
|
||||
- drop fix-py314.patch: fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 21 09:30:43 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 12 18:28:43 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Add fix-py314.patch to fix failing tests on 3.14.* or 3.13.6+
|
||||
(gh#Python-Markdown/markdown#1547).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 6 18:16:02 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- set the minimum version of setuptools to 77.0 to match upstream
|
||||
pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 11 10:56:26 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Markdown
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
@@ -26,8 +25,14 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Markdown%{psuffix}
|
||||
Version: 3.7
|
||||
Version: 3.10
|
||||
Release: 0
|
||||
Summary: Python implementation of Markdown
|
||||
License: BSD-3-Clause
|
||||
@@ -35,21 +40,24 @@ Group: Development/Languages/Python
|
||||
URL: https://python-markdown.github.io/
|
||||
Source: https://files.pythonhosted.org/packages/source/m/markdown/markdown-%{version}.tar.gz
|
||||
Patch0: markdown-3.0-python37.patch
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module importlib-metadata >= 4.4 if %python-base < 3.10}
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools >= 77.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
%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
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -87,12 +95,15 @@ supported by the [Available Extensions][].
|
||||
%postun
|
||||
%python_uninstall_alternative markdown_py
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative markdown_py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.md
|
||||
%doc README.md docs/*
|
||||
%python_alternative %{_bindir}/markdown_py
|
||||
%{python_sitelib}/Markdown-%{version}*-info
|
||||
%{python_sitelib}/markdown
|
||||
%{python_sitelib}/[mM]arkdown-%{version}.dist-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user