summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/devpi/py3-fix-encoding.patch
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-10-19 23:49:14 +0200
committerlassulus <lass@aidsballs.de>2016-10-19 23:49:14 +0200
commit3db3f9df43b827d8bd73413df3357760f33c7ab1 (patch)
tree7bdeef109f8e41e44297cfdefbf370ab067953a0 /makefu/5pkgs/devpi/py3-fix-encoding.patch
parentc7be88d76a359379d8d75126a746fd3772aa5036 (diff)
parentb6fc3af1430e318f781a417e0d7366e1013c0c44 (diff)
Merge remote-tracking branch 'gum/master'
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()]