commit: 46f74406c0c2fe8d0ee980b6d8540cdc049c7dc4 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Sat Sep 19 16:15:17 2020 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Sep 20 14:38:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f74406
dev-python/cheroot: remove unused patch(es) Closes: https://github.com/gentoo/gentoo/pull/17602 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../files/cheroot-8.3.0-test-unixsocket.patch | 57 ---------------------- 1 file changed, 57 deletions(-) diff --git a/dev-python/cheroot/files/cheroot-8.3.0-test-unixsocket.patch b/dev-python/cheroot/files/cheroot-8.3.0-test-unixsocket.patch deleted file mode 100644 index 31148956530..00000000000 --- a/dev-python/cheroot/files/cheroot-8.3.0-test-unixsocket.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 6ead1efb37edfade4dda60e48d1af8fe89be3cdc Mon Sep 17 00:00:00 2001 -From: "Jason R. Coombs" <jar...@jaraco.com> -Date: Sun, 12 Apr 2020 16:28:00 -0400 -Subject: [PATCH] Remove client from peercreds tests. Fixes #276. - ---- - cheroot/test/test_server.py | 13 ++++++------- - 1 file changed, 6 insertions(+), 7 deletions(-) - -diff --git a/cheroot/test/test_server.py b/cheroot/test/test_server.py -index 80728d66..6c4b53ee 100644 ---- a/cheroot/test/test_server.py -+++ b/cheroot/test/test_server.py -@@ -23,7 +23,6 @@ - ANY_INTERFACE_IPV4, - ANY_INTERFACE_IPV6, - EPHEMERAL_PORT, -- get_server_client, - ) - - -@@ -171,19 +170,19 @@ def send_payload(self, payload): - - - @pytest.fixture --def peercreds_enabled_server_and_client(http_server, unix_sock_file): -+def peercreds_enabled_server(http_server, unix_sock_file): - """Construct a test server with ``peercreds_enabled``.""" - httpserver = http_server.send(unix_sock_file) - httpserver.gateway = _TestGateway - httpserver.peercreds_enabled = True -- return httpserver, get_server_client(httpserver) -+ return httpserver - - - @unix_only_sock_test - @non_macos_sock_test --def test_peercreds_unix_sock(peercreds_enabled_server_and_client): -+def test_peercreds_unix_sock(peercreds_enabled_server): - """Check that ``PEERCRED`` lookup works when enabled.""" -- httpserver, testclient = peercreds_enabled_server_and_client -+ httpserver = peercreds_enabled_server - bind_addr = httpserver.bind_addr - - if isinstance(bind_addr, six.binary_type): -@@ -212,9 +211,9 @@ def test_peercreds_unix_sock(peercreds_enabled_server_and_client): - ) - @unix_only_sock_test - @non_macos_sock_test --def test_peercreds_unix_sock_with_lookup(peercreds_enabled_server_and_client): -+def test_peercreds_unix_sock_with_lookup(peercreds_enabled_server): - """Check that ``PEERCRED`` resolution works when enabled.""" -- httpserver, testclient = peercreds_enabled_server_and_client -+ httpserver = peercreds_enabled_server - httpserver.peercreds_resolve_enabled = True - - bind_addr = httpserver.bind_addr