SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
devel/py-modulegraph/patches/patch-modulegraph_util_py
Normal file
14
devel/py-modulegraph/patches/patch-modulegraph_util_py
Normal file
|
@ -0,0 +1,14 @@
|
|||
Revert part of 415bc766401122 which breaks packaging with py2
|
||||
|
||||
Index: modulegraph/util.py
|
||||
--- modulegraph/util.py.orig
|
||||
+++ modulegraph/util.py
|
||||
@@ -105,7 +105,7 @@ def imp_walk(name):
|
||||
raise ImportError("No module named %s" % (name,))
|
||||
|
||||
|
||||
-cookie_re = re.compile(rb"coding[:=]\s*([-\w.]+)")
|
||||
+cookie_re = re.compile(br"coding[:=]\s*([-\w.]+)")
|
||||
if sys.version_info[0] == 2:
|
||||
default_encoding = "ascii"
|
||||
else:
|
Loading…
Add table
Add a link
Reference in a new issue