[arch-commits] Commit in python-dateutil/trunk (python-dateutil-2.1-open-utf-8.patch)

Jelle van der Waa jelle at archlinux.org
Sat Dec 6 20:07:32 UTC 2014


    Date: Saturday, December 6, 2014 @ 21:07:32
  Author: jelle
Revision: 123551

python-dateutil: remove unneeded patch

Deleted:
  python-dateutil/trunk/python-dateutil-2.1-open-utf-8.patch

--------------------------------------+
 python-dateutil-2.1-open-utf-8.patch |   21 ---------------------
 1 file changed, 21 deletions(-)

Deleted: python-dateutil-2.1-open-utf-8.patch
===================================================================
--- python-dateutil-2.1-open-utf-8.patch	2014-12-06 19:29:51 UTC (rev 123550)
+++ python-dateutil-2.1-open-utf-8.patch	2014-12-06 20:07:32 UTC (rev 123551)
@@ -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",



More information about the arch-commits mailing list