commit: 0687022f8f76047bfb30948d8e505b61efbd9c0c Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Tue Sep 20 16:46:31 2016 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Tue Sep 20 21:07:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0687022f
dev-python/routes: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/2375 Signed-off-by: David Seifert <soap <AT> gentoo.org> dev-python/routes/files/routes-2.0-setup.py.patch | 38 ----------------------- 1 file changed, 38 deletions(-) diff --git a/dev-python/routes/files/routes-2.0-setup.py.patch b/dev-python/routes/files/routes-2.0-setup.py.patch deleted file mode 100644 index ec090f4..00000000 --- a/dev-python/routes/files/routes-2.0-setup.py.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 414ba660bccd3eed60f63cc8a1d117740065126f Mon Sep 17 00:00:00 2001 -From: Mike Gilbert <flop...@gentoo.org> -Date: Wed, 25 Dec 2013 10:42:26 -0500 -Subject: [PATCH] Specify encoding when opening files in setup.py - -This resolves a UnicodeDecodeError when setup.py is invoked with a -non-utf8 locale. - -https://bugs.gentoo.org/show_bug.cgi?id=495118 ---- - setup.py | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/setup.py b/setup.py -index c76e869..9191f11 100644 ---- a/setup.py -+++ b/setup.py -@@ -1,12 +1,14 @@ - __version__ = '2.0' - --import os, sys -+import io, os, sys - - from setuptools import setup, find_packages - - here = os.path.abspath(os.path.dirname(__file__)) --README = open(os.path.join(here, 'README.rst')).read() --CHANGES = open(os.path.join(here, 'CHANGELOG.rst')).read() -+with io.open(os.path.join(here, 'README.rst'), encoding='utf8') as f: -+ README = f.read() -+with io.open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf8') as f: -+ CHANGES = f.read() - PY3 = sys.version_info[0] == 3 - - extra_options = { --- -1.8.5.2 -