summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@users.noreply.github.com>2016-05-05 21:07:24 +0200
committerJoachim Fasting <joachifm@users.noreply.github.com>2016-05-05 21:07:24 +0200
commit50b7a542fe6bef2ef0340b6e4710022cf526c8aa (patch)
tree801e7af754ff515b0900642b314efc1bd51333a9 /pkgs/development/python-modules
parentdebc3170667f2f2d964a870d52b0b9543dad860f (diff)
parenta3ef1ad66c7867f78e64eca8352ab20ac53bac23 (diff)
Merge pull request #14983 from adnelson/httpretty_python3
httpretty: working build for python3
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/httpretty/setup.py.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/httpretty/setup.py.patch b/pkgs/development/python-modules/httpretty/setup.py.patch
new file mode 100644
index 000000000000..e07ba931705b
--- /dev/null
+++ b/pkgs/development/python-modules/httpretty/setup.py.patch
@@ -0,0 +1,11 @@
+--- setup.py 2016-04-18 10:44:27.915536022 -0500
++++ setup-new.py 2016-04-18 10:44:13.515537377 -0500
+@@ -75,7 +75,7 @@
+
+
+ local_file = lambda *f: \
+- open(os.path.join(os.path.dirname(__file__), *f)).read()
++ open(os.path.join(os.path.dirname(__file__), *f), encoding="utf-8").read()
+
+
+ install_requires, dependency_links = \