SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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: