1 |
commit: de82c304c4716c3ac4b53b5fe14a10a1086c9696 |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Fri Feb 25 06:39:31 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 25 09:38:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de82c304 |
7 |
|
8 |
dev-python/test_server: remove unused patch(es) |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/24344 |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
.../files/test_server-0.0.31-fix-py3.10.patch | 20 -------------------- |
16 |
1 file changed, 20 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/test_server/files/test_server-0.0.31-fix-py3.10.patch b/dev-python/test_server/files/test_server-0.0.31-fix-py3.10.patch |
19 |
deleted file mode 100644 |
20 |
index 755a641440a5..000000000000 |
21 |
--- a/dev-python/test_server/files/test_server-0.0.31-fix-py3.10.patch |
22 |
+++ /dev/null |
23 |
@@ -1,20 +0,0 @@ |
24 |
-From: Karthikeyan Singaravelan <tir.karthi@×××××.com> |
25 |
-Date: Fri, 10 Apr 2020 06:30:21 +0000 |
26 |
-Subject: [PATCH] Import ABC from collections.abc instead of collections for |
27 |
- Python 3 compatibility. |
28 |
- |
29 |
---- a/test_server/server.py |
30 |
-+++ b/test_server/server.py |
31 |
-@@ -6,7 +6,11 @@ |
32 |
- import time |
33 |
- import types |
34 |
- from six.moves.urllib.parse import urljoin |
35 |
--from collections import defaultdict, Iterable |
36 |
-+from collections import defaultdict |
37 |
-+try: |
38 |
-+ from collections.abc import Iterable |
39 |
-+except ImportError: |
40 |
-+ from collections import Iterable |
41 |
- |
42 |
- import six |
43 |
- from webtest.http import StopableWSGIServer |