From 04f3985d841f0417f6f7733c06b63015707bceac Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 30 Nov 2016 11:18:55 +0100 Subject: dev-python/python-dateutil: Removed old. Package-Manager: portage-2.3.2 --- .../files/python-dateutil-2.1-open-utf-8.patch | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 dev-python/python-dateutil/files/python-dateutil-2.1-open-utf-8.patch (limited to 'dev-python/python-dateutil/files/python-dateutil-2.1-open-utf-8.patch') diff --git a/dev-python/python-dateutil/files/python-dateutil-2.1-open-utf-8.patch b/dev-python/python-dateutil/files/python-dateutil-2.1-open-utf-8.patch deleted file mode 100644 index f27285428784..000000000000 --- a/dev-python/python-dateutil/files/python-dateutil-2.1-open-utf-8.patch +++ /dev/null @@ -1,21 +0,0 @@ -Fix UnicodeDecodeError in setup.py. - -https://bugs.gentoo.org/show_bug.cgi?id=410725 ---- setup.py -+++ setup.py -@@ -1,5 +1,6 @@ - #!/usr/bin/python - from os.path import isfile, join -+import codecs - import glob - import os - import re -@@ -13,7 +14,7 @@ - - TOPDIR = os.path.dirname(__file__) or "." - VERSION = re.search('__version__ = "([^"]+)"', -- open(TOPDIR + "/dateutil/__init__.py").read()).group(1) -+ codecs.open(TOPDIR + "/dateutil/__init__.py", encoding='utf-8').read()).group(1) - - - setup(name="python-dateutil", -- cgit v1.2.3