Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/py-lektor: Allow build with py-mistune installed
- Bump PORTREVISION for package change PR: 263956
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- lektor/markdown.py.orig 2022-09-21 19:15:42 UTC | ||
+++ lektor/markdown.py | ||
@@ -1,7 +1,7 @@ | ||
import threading | ||
from weakref import ref as weakref | ||
|
||
-import mistune | ||
+import mistune0 as mistune | ||
from markupsafe import Markup | ||
from werkzeug.urls import url_parse | ||
|
||
--- setup.cfg.orig 2022-09-21 19:16:28 UTC | ||
+++ setup.cfg | ||
@@ -42,7 +42,7 @@ install_requires = | ||
Flask | ||
inifile>=0.4.1 | ||
Jinja2>=3.0 | ||
- mistune>=0.7.0,<2 | ||
+ mistune0>=0.7.0,<2 | ||
pip | ||
python-slugify | ||
requests[security] |