Skip to content

Commit

Permalink
www/py-lektor: Allow build with py-mistune installed
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change

PR:		263956
  • Loading branch information
sunpoet committed Jun 30, 2023
1 parent 50bc157 commit d208a99
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/py-lektor/Makefile
@@ -1,5 +1,6 @@
PORTNAME= Lektor
PORTVERSION= 3.3.7
PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand Down
22 changes: 22 additions & 0 deletions www/py-lektor/files/patch-mistune
@@ -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]

0 comments on commit d208a99

Please sign in to comment.