forked from pool/python-pymdown-extensions
Compare commits
18 Commits
Author | SHA256 | Date | |
---|---|---|---|
c423481881 | |||
405b6ef974 | |||
f9273d849e | |||
d053d33ccd | |||
3d97abe9f9 | |||
255ff61e1e | |||
bf431b6d28 | |||
c692caff15 | |||
2c5a129fb8 | |||
d1f9763e9f | |||
e456881a23 | |||
300b3c3ee6 | |||
ac14670e61 | |||
c04981bb3a | |||
a3361c1e57 | |||
46527c1e4a | |||
9009dac629 | |||
141e4924c9 |
@@ -1,12 +0,0 @@
|
|||||||
Index: pymdown-extensions-10.7.1/tests/test_extensions/test_smartsymbols.py
|
|
||||||
===================================================================
|
|
||||||
--- pymdown-extensions-10.7.1.orig/tests/test_extensions/test_smartsymbols.py
|
|
||||||
+++ pymdown-extensions-10.7.1/tests/test_extensions/test_smartsymbols.py
|
|
||||||
@@ -139,4 +139,6 @@ class TestSmartSymbols(util.MdCase):
|
|
||||||
|
|
||||||
md = markdown.Markdown(extensions=['toc', 'pymdownx.smartsymbols'])
|
|
||||||
md.convert('# *Foo* =/= `bar`')
|
|
||||||
- self.assertEqual(md.toc_tokens, [{'level': 1, 'id': 'foo-bar', 'name': 'Foo ≠ bar', 'children': []}])
|
|
||||||
+ contains = {'level': 1, 'id': 'foo-bar', 'name': 'Foo ≠ bar', 'children': []}
|
|
||||||
+ self.assertEqual(len(md.toc_tokens), 1)
|
|
||||||
+ self.assertLessEqual(contains.items(), md.toc_tokens[0].items())
|
|
3
pymdown-extensions-10.16.1.tar.gz
Normal file
3
pymdown-extensions-10.16.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0b910d6e3bc023404e52aa91cb0e38db28962f2e818f9a176baa327368643eab
|
||||||
|
size 1140293
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:065d6a7844b79d729a52e02717a79309b45158904b305c5fa350266e5256b59b
|
|
||||||
size 1098210
|
|
@@ -1,3 +1,132 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 28 18:31:44 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to 10.16.1:
|
||||||
|
* FIX: Inefficient regular expression pattern for figure caption
|
||||||
|
numbers.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 21 18:39:56 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to 10.16:
|
||||||
|
* NEW: Add early support for Python 3.14.
|
||||||
|
* NEW: Drop support for Python 3.8.
|
||||||
|
* NEW: Snippets: Added max_retries and backoff_retries options to
|
||||||
|
configure new retry logic for HTTP 429 errors (Too Many
|
||||||
|
Requests client error).
|
||||||
|
* NEW: Caption: Prefix templates are now preserved exactly as
|
||||||
|
specified allowing the insertion of HTML tags if desired.
|
||||||
|
* FIX: Caption: Fix issue where manual numbers in auto were not
|
||||||
|
respected appropriately.
|
||||||
|
- increase minimal python version to 3.9
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 28 14:07:33 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 10.15:
|
||||||
|
* **NEW**: SuperFences: Add `relaxed_headers` option which
|
||||||
|
can tolerate bad content in the fenced code header. When
|
||||||
|
enabled, code blocks with bad content in the header will
|
||||||
|
likely still convert into code blocks, often respecting
|
||||||
|
the specified language.
|
||||||
|
* **NEW**: Add type hints to the Blocks interface and a few
|
||||||
|
additional files.
|
||||||
|
* **FIX**: Blocks: Fix some corner cases of nested blocks
|
||||||
|
with lists.
|
||||||
|
* **FIX**: Tab and Tabbed: Fix a case where tabs could fail
|
||||||
|
if `combine_header_slug` was enabled and there was no
|
||||||
|
header.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 3 16:27:25 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to 10.14.3:
|
||||||
|
* FIX: Blocks: An empty, raw block type should not cause an error
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 30 17:10:59 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to 10.14.2:
|
||||||
|
* FIX: Blocks: Fix some corner cases with md_in_html.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 22 19:33:20 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to 10.14.1:
|
||||||
|
* FIX: MagicLink: Ensure that repo names that start with . are
|
||||||
|
handled correctly.
|
||||||
|
* FIX: FancyLists: Fix case were lists could be falsely created
|
||||||
|
when a line started with . or ).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 18 15:52:16 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
- Fix build requires versions.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 8 20:08:07 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to 10.14:
|
||||||
|
* NEW: Blocks.HTML: Add new custom option to specify tags and the
|
||||||
|
assumed handling for them when automatic mode is assumed. This
|
||||||
|
can also be used to override the handling for recognized tags
|
||||||
|
with automatic handling.
|
||||||
|
* FIX: Fix tests to pass with Pygments 2.19+.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 23 19:32:33 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to 10.13:
|
||||||
|
* NEW: Snippets: Allow multiple line numbers or line number
|
||||||
|
blocks separated by ,.
|
||||||
|
* NEW: Snippets: Allow using a negative index for number start
|
||||||
|
indexes and end indexes. Negative indexes are converted to
|
||||||
|
positive indexes based on the number of lines in the snippet.
|
||||||
|
* FIX: Snippets: Properly capture empty newline at end of file.
|
||||||
|
* FIX: Snippets: Fix issue where when non sections of files are
|
||||||
|
included, section labels are not stripped.
|
||||||
|
* FIX: BetterEm: Fixes for complex cases.
|
||||||
|
* FIX: Blocks: More consistent handling of empty newlines in
|
||||||
|
block processor extensions
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 3 02:33:53 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 10.12:
|
||||||
|
* NEW: Blocks: Blocks extensions no longer considered in beta.
|
||||||
|
* NEW: Details: Details is marked as "legacy" in documentation in favor
|
||||||
|
of the new pymdownx.blocks.details approach.
|
||||||
|
* NEW: Tabbed: Tabbed is marked as "legacy" in documentation in favor of
|
||||||
|
the new pymdownx.blocks.tab approach.
|
||||||
|
* NEW: Caption: Add new "blocks" style extension called Caption which
|
||||||
|
helps with specifying figures with captions.
|
||||||
|
* NEW: Emoji: Add a new strict option that will raise an exception if an
|
||||||
|
emoji is used whose name has changed, removed, or never existed.
|
||||||
|
* FIX: Emoji: Emoji links should be generated such that they point to the
|
||||||
|
new CDN version.
|
||||||
|
* FIX: SuperFences: Fix a regression where certain patterns could cause
|
||||||
|
a hang.
|
||||||
|
* FIX: SuperFences: Fix regression where an omitted language in conjunction
|
||||||
|
with options in the fenced header can cause a fence to not be parsed.
|
||||||
|
* FIX: BetterEm: Add better support for *em, **em,strong*** and _em,
|
||||||
|
__em,strong___ cases.
|
||||||
|
* FIX: Caret: Add better support for *sup, **sup,ins***.
|
||||||
|
* FIX: Tilde: Add better support for *sub, **sub,del***.
|
||||||
|
* FIX: FancyLists: Remove a mistaken semicolon from injected classes.
|
||||||
|
* NEW: FancyLists: Add new FancyLists extension.
|
||||||
|
* NEW: Emoji: Update Twemoji data to the latest.
|
||||||
|
* FIX: PathConverter: Fixes for latest changes in Python regarding
|
||||||
|
urlunparse.
|
||||||
|
* NEW: Officially support Python 3.13.
|
||||||
|
* FIX: Snippets: Better handling of cases where URL snippet requests
|
||||||
|
contain no header length.
|
||||||
|
* FIX: Snippets: Fix snippet line range with a start of line 1.
|
||||||
|
* NEW: Require Python Markdown 3.6+.
|
||||||
|
* FIX: Fix some test cases.
|
||||||
|
* FIX: Fix warnings due to recent changes in Python Markdown.
|
||||||
|
- Drop patch fix-toc-list-check.patch, no longer required.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 22 02:46:48 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Fri Mar 22 02:46:48 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pymdown-extensions
|
# spec file for package python-pymdown-extensions
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 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
|
||||||
@@ -16,28 +16,30 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define skip_python2 1
|
||||||
|
%define skip_python36 1
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pymdown-extensions
|
Name: python-pymdown-extensions
|
||||||
Version: 10.7.1
|
Version: 10.16.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Extension pack for Python Markdown
|
Summary: Extension pack for Python Markdown
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/facelessuser/pymdown-extensions
|
URL: https://github.com/facelessuser/pymdown-extensions
|
||||||
Source: https://github.com/facelessuser/pymdown-extensions/archive/refs/tags/%{version}.tar.gz#/pymdown-extensions-%{version}.tar.gz
|
Source: https://github.com/facelessuser/pymdown-extensions/archive/refs/tags/%{version}.tar.gz#/pymdown-extensions-%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE Assert toc_tokens is a superset of what we want to check
|
BuildRequires: %{python_module Markdown >= 3.6}
|
||||||
Patch0: fix-toc-list-check.patch
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
BuildRequires: %{python_module Markdown >= 3.2}
|
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
# test requirements
|
# test requirements
|
||||||
BuildRequires: %{python_module PyYAML >= 3.10}
|
BuildRequires: %{python_module PyYAML >= 3.10}
|
||||||
BuildRequires: %{python_module Pygments >= 2.12}
|
BuildRequires: %{python_module Pygments >= 2.19.1}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
#
|
#
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Markdown >= 3.2
|
Requires: python-Markdown >= 3.6
|
||||||
Requires: python-PyYAML >= 3.10
|
Requires: python-PyYAML >= 3.10
|
||||||
Recommends: python-Pygments >= 2.12
|
Recommends: python-Pygments >= 2.19.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user