diff options
author | Michael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com> | 2016-09-20 18:57:27 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-20 23:07:01 +0200 |
commit | 90ea17a95c9e556b9f7cbea9d25f2f4ff58b2e8d (patch) | |
tree | 7ce20cc087113a6f01ecddbdadba20113a5bc11b /dev-python | |
parent | dev-python/webob: remove unused patches (diff) | |
download | gentoo-90ea17a95c9e556b9f7cbea9d25f2f4ff58b2e8d.tar.gz gentoo-90ea17a95c9e556b9f7cbea9d25f2f4ff58b2e8d.tar.bz2 gentoo-90ea17a95c9e556b9f7cbea9d25f2f4ff58b2e8d.zip |
dev-python/ws4py: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/2376
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/ws4py/files/ws4py-0.2-cherrypy_test.patch | 24 | ||||
-rw-r--r-- | dev-python/ws4py/files/ws4py-0.2.1-process-data.patch | 27 |
2 files changed, 0 insertions, 51 deletions
diff --git a/dev-python/ws4py/files/ws4py-0.2-cherrypy_test.patch b/dev-python/ws4py/files/ws4py-0.2-cherrypy_test.patch deleted file mode 100644 index e1d55afa0a6b..000000000000 --- a/dev-python/ws4py/files/ws4py-0.2-cherrypy_test.patch +++ /dev/null @@ -1,24 +0,0 @@ -db23aff2ea commit 4ec8638c268ecdb710d97176a55cc5b818aa1a18 -https://github.com/Lawouach/WebSocket-for-Python/issues/72 -diff -ur ws4py-0.2.4.orig/test/test_cherrypy.py ws4py-0.2.4/test/test_cherrypy.py ---- test/test_cherrypy.py 2012-12-14 03:35:48.000000000 +0800 -+++ test/test_cherrypy.py 2013-01-11 16:56:37.555534011 +0800 -@@ -4,6 +4,7 @@ - import cherrypy - from ws4py.server.cherrypyserver import WebSocketPlugin, WebSocketTool - from ws4py.websocket import EchoWebSocket -+from ws4py.compat import py3k - - class FakeSocket(object): - def settimeout(self, timeout): -@@ -65,7 +66,10 @@ - h = EchoWebSocket(s, [], []) - cherrypy.engine.publish('handle-websocket', h, ('127.0.0.1', 0)) - self.assertEquals(len(cherrypy.engine.websocket.pool), 1) -- k = cherrypy.engine.websocket.pool.keys()[0] -+ if py3k: -+ k = list(cherrypy.engine.websocket.pool.keys())[0] -+ else: -+ k = cherrypy.engine.websocket.pool.keys()[0] - self.assertTrue(k is h) - self.assertEquals(cherrypy.engine.websocket.pool[k][1], ('127.0.0.1', 0)) diff --git a/dev-python/ws4py/files/ws4py-0.2.1-process-data.patch b/dev-python/ws4py/files/ws4py-0.2.1-process-data.patch deleted file mode 100644 index 5476f2d28625..000000000000 --- a/dev-python/ws4py/files/ws4py-0.2.1-process-data.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 38cf669e27fab9de187eb11dabd7d85d73d5f470 Mon Sep 17 00:00:00 2001 -From: Jon Salz <jsalz@chromium.org> -Date: Fri, 20 Apr 2012 02:22:46 +0800 -Subject: [PATCH] Process remaining bytes in the body, if any. - -https://github.com/Lawouach/WebSocket-for-Python/issues/46 ---- - ws4py/client/__init__.py | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/ws4py/client/__init__.py b/ws4py/client/__init__.py -index aa4c8f2..29b1357 100644 ---- a/ws4py/client/__init__.py -+++ b/ws4py/client/__init__.py -@@ -71,6 +71,9 @@ class WebSocketBaseClient(WebSocket): - - self.handshake_ok() - -+ if body != '': -+ self.process(body) -+ - @property - def handshake_headers(self): - parts = urlsplit(self.url) --- -1.7.3.4 - |