Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/six/files/
Date: Tue, 29 Aug 2017 20:18:34
Message-Id: 1504037894.373b234677bc0ea604731845fa2ab2277840a26d.monsieurp@gentoo
1 commit: 373b234677bc0ea604731845fa2ab2277840a26d
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 16 08:48:25 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 29 20:18:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=373b2346
7
8 dev-python/six: remove unused patch.
9
10 dev-python/six/files/six-1.9.0-winreg.patch | 27 ---------------------------
11 1 file changed, 27 deletions(-)
12
13 diff --git a/dev-python/six/files/six-1.9.0-winreg.patch b/dev-python/six/files/six-1.9.0-winreg.patch
14 deleted file mode 100644
15 index 57e2074c826..00000000000
16 --- a/dev-python/six/files/six-1.9.0-winreg.patch
17 +++ /dev/null
18 @@ -1,27 +0,0 @@
19 -# HG changeset patch
20 -# User Benjamin Peterson <benjamin@××××××.org>
21 -# Date 1426865725 18000
22 -# Node ID c996ed1dc0064f45e691f1664d06001ae07fff00
23 -# Parent 7638872a6c760448ed8648d692c8eb702a29c361
24 -# Parent 24dc6a6f7384712152dd1e881c115fb4805be9ea
25 -Merged in mrossini/six (pull request #55)
26 -
27 -_winreg is added to the moves module under windows only
28 -
29 -diff --git a/six.py b/six.py
30 ---- a/six.py
31 -+++ b/six.py
32 -@@ -298,8 +298,12 @@
33 - MovedModule("urllib_robotparser", "robotparser", "urllib.robotparser"),
34 - MovedModule("xmlrpc_client", "xmlrpclib", "xmlrpc.client"),
35 - MovedModule("xmlrpc_server", "SimpleXMLRPCServer", "xmlrpc.server"),
36 -- MovedModule("winreg", "_winreg"),
37 - ]
38 -+#Add windows specific modules if needed
39 -+if sys.platform in ('win32', 'cygwin'):
40 -+ _moved_attributes += [
41 -+ MovedModule("winreg", "_winreg"),
42 -+ ]
43 - for attr in _moved_attributes:
44 - setattr(_MovedItems, attr.name, attr)
45 - if isinstance(attr, MovedModule):