summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-01-20 18:15:20 +0000
committerIan Delaney <idella4@gentoo.org>2013-01-20 18:15:20 +0000
commit09a5fecea5523e911aabb9321d050f69f3399544 (patch)
tree4f69f4d311fa8fbef8192d7725a0ac00035b56b7 /dev-python/http-parser/files
parentstable for amd64/x86, wrt to bug #445602 (diff)
downloadgentoo-2-09a5fecea5523e911aabb9321d050f69f3399544.tar.gz
gentoo-2-09a5fecea5523e911aabb9321d050f69f3399544.tar.bz2
gentoo-2-09a5fecea5523e911aabb9321d050f69f3399544.zip
Added http-parser-0.7.8-setup.patch, fixes locale issue wrt Bug #451826 by Ago
(Portage version: 2.1.11.40/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/http-parser/files')
-rw-r--r--dev-python/http-parser/files/http-parser-0.7.8-setup.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/http-parser/files/http-parser-0.7.8-setup.patch b/dev-python/http-parser/files/http-parser-0.7.8-setup.patch
new file mode 100644
index 000000000000..9bd43e6a1534
--- /dev/null
+++ b/dev-python/http-parser/files/http-parser-0.7.8-setup.patch
@@ -0,0 +1,22 @@
+diff -ur http-parser-0.7.8.orig/setup.py http-parser-0.7.8/setup.py
+--- setup.py 2012-08-05 11:14:22.000000000 +0800
++++ setup.py 2013-01-21 01:54:23.748530621 +0800
+@@ -10,7 +10,7 @@
+ from distutils.command.sdist import sdist as _sdist
+ import glob
+ from imp import load_source
+-import os
++import os, io
+ import shutil
+ import sys
+ import traceback
+@@ -49,7 +49,7 @@
+ VERSION = http_parser.__version__
+
+ # get long description
+-with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
++with io.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf8') as f:
+ LONG_DESCRIPTION = f.read()
+
+ def _system(cmd):
+