FreeBSD Bugzilla – Attachment 240473 Details for
Bug 269868
www/py-html5lib, www/qt6-webengine: with Python >= 3.10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git diff www/py-html5lib
www_py-html5lib.diff (text/plain), 1.65 KB, created by
Chad Jacob Milios
on 2023-02-28 02:23:43 UTC
(
hide
)
Description:
git diff www/py-html5lib
Filename:
MIME Type:
Creator:
Chad Jacob Milios
Created:
2023-02-28 02:23:43 UTC
Size:
1.65 KB
patch
obsolete
>diff --git a/www/py-html5lib/Makefile b/www/py-html5lib/Makefile >index a4e310b5c2ed..4159dc740f8b 100644 >--- a/www/py-html5lib/Makefile >+++ b/www/py-html5lib/Makefile >@@ -18,4 +18,11 @@ NO_ARCH= yes > USES= cpe python > USE_PYTHON= autoplist distutils > >-.include <bsd.port.mk> >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_REL} >= 31000 >+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-html5lib___trie___base.py \ >+ ${PATCHDIR}/extra-patch-html5lib_treebuilders_dom.py >+.endif >+ >+.include <bsd.port.post.mk> >diff --git a/www/py-html5lib/files/extra-patch-html5lib___trie___base.py b/www/py-html5lib/files/extra-patch-html5lib___trie___base.py >new file mode 100644 >index 000000000000..175cd9edd2a4 >--- /dev/null >+++ b/www/py-html5lib/files/extra-patch-html5lib___trie___base.py >@@ -0,0 +1,10 @@ >+--- html5lib/_trie/_base.py.orig 2017-12-07 12:25:26 UTC >++++ html5lib/_trie/_base.py >+@@ -1,6 +1,6 @@ >+ from __future__ import absolute_import, division, unicode_literals >+ >+-from collections import Mapping >++from collections.abc import Mapping >+ >+ >+ class Trie(Mapping): >diff --git a/www/py-html5lib/files/extra-patch-html5lib_treebuilders_dom.py b/www/py-html5lib/files/extra-patch-html5lib_treebuilders_dom.py >new file mode 100644 >index 000000000000..2156587c6650 >--- /dev/null >+++ b/www/py-html5lib/files/extra-patch-html5lib_treebuilders_dom.py >@@ -0,0 +1,11 @@ >+--- html5lib/treebuilders/dom.py.orig 2017-12-07 12:25:26 UTC >++++ html5lib/treebuilders/dom.py >+@@ -1,7 +1,7 @@ >+ from __future__ import absolute_import, division, unicode_literals >+ >+ >+-from collections import MutableMapping >++from collections.abc import MutableMapping >+ from xml.dom import minidom, Node >+ import weakref >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269868
: 240473