freebsd-ports/textproc/lookatme/files/patch-mistune
Po-Chuan Hsieh 2ceae76cda
textproc/lookatme: Allow build with py-mistune installed
- Bump PORTREVISION for package change

PR:		263956
2023-06-30 15:08:52 +08:00

32 lines
764 B
Text

--- lookatme/parser.py.orig 2022-12-30 04:38:38 UTC
+++ lookatme/parser.py
@@ -7,7 +7,7 @@ import re
from collections import defaultdict
from typing import AnyStr, Callable, Dict, List, Tuple
-import mistune
+import mistune0 as mistune
from lookatme.schemas import MetaSchema
from lookatme.slide import Slide
--- lookatme/render/markdown_block.py.orig 2022-12-30 04:38:38 UTC
+++ lookatme/render/markdown_block.py
@@ -4,7 +4,7 @@ representations
"""
-import mistune
+import mistune0 as mistune
import pygments
import pygments.styles
import urwid
--- requirements.txt.orig 2022-12-30 04:38:38 UTC
+++ requirements.txt
@@ -1,6 +1,6 @@
marshmallow>=3.17.0,<4
Click>=7,<9
PyYAML>=5,<6
-mistune>=0.8,<1
+mistune0>=0.8,<1
urwid>=2,<3
Pygments>=2,<3