forked from pool/python-pymdown-extensions
- 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+. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=16
This commit is contained in:
@@ -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.12.tar.gz
Normal file
3
pymdown-extensions-10.12.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1b9c8eb98a4175447aed6a63572d01526dd9063efa13106cf71adc6bf29a0ad7
|
||||||
|
size 1126653
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:065d6a7844b79d729a52e02717a79309b45158904b305c5fa350266e5256b59b
|
|
||||||
size 1098210
|
|
@@ -1,3 +1,40 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
@@ -17,15 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-pymdown-extensions
|
Name: python-pymdown-extensions
|
||||||
Version: 10.7.1
|
Version: 10.12
|
||||||
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 Markdown >= 3.2}
|
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
# test requirements
|
# test requirements
|
||||||
@@ -35,7 +33,7 @@ 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.12
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Reference in New Issue
Block a user