python3-altgraph: fix build with Python 3.11
This commit is contained in:
parent
51895be43a
commit
b1b758ad21
11
srcpkgs/python3-altgraph/patches/python-3.11.patch
Normal file
11
srcpkgs/python3-altgraph/patches/python-3.11.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -213,7 +213,7 @@ def parse_setup_cfg():
|
||||
else:
|
||||
parts = []
|
||||
for nm in v.split():
|
||||
- fp = open(nm, "rU")
|
||||
+ fp = open(nm, "r")
|
||||
parts.append(fp.read())
|
||||
fp.close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user