14
0

- Add patch fix-toc-list-check.patch:

* Assert toc_tokens is a superset of what we are looking for.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=14
This commit is contained in:
2024-03-22 02:47:04 +00:00
committed by Git OBS Bridge
parent 79529b985b
commit 08dc41a278
3 changed files with 21 additions and 1 deletions

View File

@@ -23,6 +23,8 @@ 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 hatchling}
BuildRequires: %{python_module pip}
@@ -47,7 +49,7 @@ Covering a wide range of solutions, and while not every extension is needed
by all people, there is usually at least one useful extension for anybody.
%prep
%setup -q -n pymdown-extensions-%{version}
%autosetup -p1 -n pymdown-extensions-%{version}
%build
%pyproject_wheel