1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

textproc/lookatme: Allow build with py-mistune installed

- Bump PORTREVISION for package change

PR:		263956
This commit is contained in:
Po-Chuan Hsieh 2023-06-30 15:08:52 +08:00
parent 11a10b903e
commit 2ceae76cda
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 33 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= lookatme
PORTVERSION= 2.5.5
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI

View File

@ -0,0 +1,32 @@
--- 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