diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-30 15:09:05 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-30 15:09:05 +0800 |
commit | d208a99b094e8a040a533fdd38d649ab5e4d15c3 (patch) | |
tree | b84c832b9e4c5cd2bb475363505c8ada63077d1d | |
parent | 50bc15740140885ea3c49e4c218bb6c61592d025 (diff) | |
download | freebsd-ports-d208a99b094e8a040a533fdd38d649ab5e4d15c3.zip |
www/py-lektor: Allow build with py-mistune installed
- Bump PORTREVISION for package change
PR: 263956
-rw-r--r-- | www/py-lektor/Makefile | 1 | ||||
-rw-r--r-- | www/py-lektor/files/patch-mistune | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/www/py-lektor/Makefile b/www/py-lektor/Makefile index 02941c9e8a52..359b3ef8554b 100644 --- a/www/py-lektor/Makefile +++ b/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} diff --git a/www/py-lektor/files/patch-mistune b/www/py-lektor/files/patch-mistune new file mode 100644 index 000000000000..ae223fdd6783 --- /dev/null +++ b/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] |