diff options
author | 2016-09-20 18:46:31 +0200 | |
---|---|---|
committer | 2016-09-20 23:07:14 +0200 | |
commit | 0687022f8f76047bfb30948d8e505b61efbd9c0c (patch) | |
tree | 88ecb3bfeaaa8b26fe5919f1843eb81c692efae1 /dev-python/routes | |
parent | dev-python/yolk: remove unused patch (diff) | |
download | gentoo-0687022f8f76047bfb30948d8e505b61efbd9c0c.tar.gz gentoo-0687022f8f76047bfb30948d8e505b61efbd9c0c.tar.bz2 gentoo-0687022f8f76047bfb30948d8e505b61efbd9c0c.zip |
dev-python/routes: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/2375
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/routes')
-rw-r--r-- | dev-python/routes/files/routes-2.0-setup.py.patch | 38 |
1 files changed, 0 insertions, 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 ec090f42fce5..000000000000 --- 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 <floppym@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 - |