summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/devpi/py3-fix-encoding.patch
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-10-19 20:46:54 +0200
committermakefu <github@syntax-fehler.de>2016-10-19 21:57:23 +0200
commit6cdb8d86893679a6eb32669f796f2cab9acb8bba (patch)
tree3255efc334cadc84a17e0e05108e6946a1bec079 /makefu/5pkgs/devpi/py3-fix-encoding.patch
parent8fe9262b5f56052c8376f601ae1fd0bef9c079e3 (diff)
m 5 devpi: bump
Diffstat (limited to 'makefu/5pkgs/devpi/py3-fix-encoding.patch')
-rw-r--r--makefu/5pkgs/devpi/py3-fix-encoding.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/5pkgs/devpi/py3-fix-encoding.patch b/makefu/5pkgs/devpi/py3-fix-encoding.patch
new file mode 100644
index 000000000..e5f940699
--- /dev/null
+++ b/makefu/5pkgs/devpi/py3-fix-encoding.patch
@@ -0,0 +1,11 @@
++++ a/setup.py
+--- b/setup.py
+@@ -26,7 +26,7 @@
+
+
+ def get_changelog():
+- text = open(os.path.join(here, 'CHANGELOG')).read()
++ text = open(os.path.join(here, 'CHANGELOG'),encoding='utf-8').read()
+ header_matches = list(re.finditer('^-+$', text, re.MULTILINE))
+ # until fifth header
+ text = text[:header_matches[5].start()]