diff --git a/fix-toc-list-check.patch b/fix-toc-list-check.patch deleted file mode 100644 index 1a298d3..0000000 --- a/fix-toc-list-check.patch +++ /dev/null @@ -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()) diff --git a/pymdown-extensions-10.12.tar.gz b/pymdown-extensions-10.12.tar.gz new file mode 100644 index 0000000..71a63c1 --- /dev/null +++ b/pymdown-extensions-10.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b9c8eb98a4175447aed6a63572d01526dd9063efa13106cf71adc6bf29a0ad7 +size 1126653 diff --git a/pymdown-extensions-10.7.1.tar.gz b/pymdown-extensions-10.7.1.tar.gz deleted file mode 100644 index c02e285..0000000 --- a/pymdown-extensions-10.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:065d6a7844b79d729a52e02717a79309b45158904b305c5fa350266e5256b59b -size 1098210 diff --git a/python-pymdown-extensions.changes b/python-pymdown-extensions.changes index 0911d65..7b8ac56 100644 --- a/python-pymdown-extensions.changes +++ b/python-pymdown-extensions.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Sun Nov 3 02:33:53 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-pymdown-extensions.spec b/python-pymdown-extensions.spec index f6816ae..7651e69 100644 --- a/python-pymdown-extensions.spec +++ b/python-pymdown-extensions.spec @@ -17,15 +17,13 @@ Name: python-pymdown-extensions -Version: 10.7.1 +Version: 10.12 Release: 0 Summary: Extension pack for Python Markdown License: MIT 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 -# PATCH-FIX-OPENSUSE Assert toc_tokens is a superset of what we want to check -Patch0: fix-toc-list-check.patch -BuildRequires: %{python_module Markdown >= 3.2} +BuildRequires: %{python_module Markdown >= 3.6} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} # test requirements @@ -35,7 +33,7 @@ BuildRequires: %{python_module pytest} # BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Markdown >= 3.2 +Requires: python-Markdown >= 3.6 Requires: python-PyYAML >= 3.10 Recommends: python-Pygments >= 2.12 BuildArch: noarch