Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 07:23:29 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d208a99b094e - main - www/py-lektor: Allow build with py-mistune installed
Message-ID:  <202306300723.35U7NTaM085426@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d208a99b094e8a040a533fdd38d649ab5e4d15c3

commit d208a99b094e8a040a533fdd38d649ab5e4d15c3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:09:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:09:05 +0000

    www/py-lektor: Allow build with py-mistune installed
    
    - Bump PORTREVISION for package change
    
    PR:             263956
---
 www/py-lektor/Makefile            |  1 +
 www/py-lektor/files/patch-mistune | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

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]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300723.35U7NTaM085426>