14
0

- Add python-311.patch to support python 3.11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pprintpp?expand=0&rev=10
This commit is contained in:
2023-02-24 11:30:05 +00:00
committed by Git OBS Bridge
parent 4e0f56b8d4
commit e40a07ef41
3 changed files with 24 additions and 6 deletions

13
python-311.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: pprintpp-0.4.0/setup.py
===================================================================
--- pprintpp-0.4.0.orig/setup.py
+++ pprintpp-0.4.0/setup.py
@@ -8,7 +8,7 @@ from setuptools import setup
os.chdir(os.path.dirname(sys.argv[0]) or ".")
try:
- long_description = open("README.rst", "U").read()
+ long_description = open("README.rst").read()
except IOError:
long_description = "See https://github.com/wolever/pprintpp"