View | Details | Raw Unified | Return to bug 269868
Collapse All | Expand All

(-)b/www/py-html5lib/Makefile (-1 / +8 lines)
Lines 18-21 NO_ARCH= yes Link Here
18
USES=		cpe python
18
USES=		cpe python
19
USE_PYTHON=	autoplist distutils
19
USE_PYTHON=	autoplist distutils
20
20
21
.include <bsd.port.mk>
21
.include <bsd.port.pre.mk>
22
23
.if ${PYTHON_REL} >= 31000
24
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-html5lib___trie___base.py \
25
		${PATCHDIR}/extra-patch-html5lib_treebuilders_dom.py
26
.endif
27
28
.include <bsd.port.post.mk>
(-)b/www/py-html5lib/files/extra-patch-html5lib___trie___base.py (+10 lines)
Added Link Here
1
--- html5lib/_trie/_base.py.orig	2017-12-07 12:25:26 UTC
2
+++ html5lib/_trie/_base.py
3
@@ -1,6 +1,6 @@
4
 from __future__ import absolute_import, division, unicode_literals
5
 
6
-from collections import Mapping
7
+from collections.abc import Mapping
8
 
9
 
10
 class Trie(Mapping):
(-)b/www/py-html5lib/files/extra-patch-html5lib_treebuilders_dom.py (+11 lines)
Added Link Here
1
--- html5lib/treebuilders/dom.py.orig	2017-12-07 12:25:26 UTC
2
+++ html5lib/treebuilders/dom.py
3
@@ -1,7 +1,7 @@
4
 from __future__ import absolute_import, division, unicode_literals
5
 
6
 
7
-from collections import MutableMapping
8
+from collections.abc import MutableMapping
9
 from xml.dom import minidom, Node
10
 import weakref
11
 

Return to bug 269868