1 |
commit: eb5c65238c8c617f2a7c3b88ca2af7e16a88fde0 |
2 |
Author: Gino McCarty <onigino <AT> protonmail <DOT> com> |
3 |
AuthorDate: Mon Apr 20 01:58:51 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 01:44:49 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb5c6523 |
7 |
|
8 |
dev-python/aiohttp: Add new version 3.6.2 |
9 |
|
10 |
Needed for net-misc/gns3-server-2.2.7 |
11 |
|
12 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
13 |
Signed-off-by: Gino McCarty <onigino <AT> protonmail.com> |
14 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
15 |
|
16 |
dev-python/aiohttp/Manifest | 1 + |
17 |
dev-python/aiohttp/aiohttp-3.6.2.ebuild | 132 ++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 133 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest |
21 |
index 36f91edc7ac..2331c88c9d8 100644 |
22 |
--- a/dev-python/aiohttp/Manifest |
23 |
+++ b/dev-python/aiohttp/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST aiohttp-3.6.1.tar.gz 1113678 BLAKE2B cfdf1c650ec52c7b6423f7afd40060ccd1631a407f126bf64c2a353c51f09c31bae3912b8ce9397c0c8350a2e82a98724ae58335998d1ab08ae46a49abce0251 SHA512 4939b89d45abcd655ef212ff87f66a83882fb12dffb87d62ae57afcd9517725af61f46f9b7428112e2dcd72d3a4027524967461270ede34348ff3ead47d14c9b |
26 |
+DIST aiohttp-3.6.2.tar.gz 1076923 BLAKE2B 14327a0bc5b5fffdf436a4c3525e4c25d80100aa464ed652316f7724c2bea6de4ace6c27e8a2a8cf9d895673ed63ed52e8c958ad611636e1e524a4e40efa4735 SHA512 49bd3089158c05ff6312420190ccd7fed95efb4a18b8aff7497d5507c71c692080d6949801edabdcd95379ca8e6614398408118d72ff1e782399e059e2cfc1a8 |
27 |
|
28 |
diff --git a/dev-python/aiohttp/aiohttp-3.6.2.ebuild b/dev-python/aiohttp/aiohttp-3.6.2.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..fe8ce0270cf |
31 |
--- /dev/null |
32 |
+++ b/dev-python/aiohttp/aiohttp-3.6.2.ebuild |
33 |
@@ -0,0 +1,132 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="http client/server for asyncio" |
44 |
+HOMEPAGE="https://pypi.org/project/aiohttp/" |
45 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
50 |
+IUSE="doc test" |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+COMMON_DEPEND=" |
54 |
+ >=dev-python/async_timeout-3.0.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] |
56 |
+ dev-python/chardet[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/yarl-1.0[${PYTHON_USEDEP}] |
59 |
+ dev-python/idna-ssl[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+DEPEND=" |
62 |
+ dev-python/cython[${PYTHON_USEDEP}] |
63 |
+ test? ( |
64 |
+ ${COMMON_DEPEND} |
65 |
+ dev-python/async_generator[${PYTHON_USEDEP}] |
66 |
+ dev-python/brotlipy[${PYTHON_USEDEP}] |
67 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
68 |
+ www-servers/gunicorn[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/pytest-3.4.0[${PYTHON_USEDEP}] |
70 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
71 |
+ dev-python/pytest-timeout[${PYTHON_USEDEP}] |
72 |
+ dev-python/trustme[${PYTHON_USEDEP}] |
73 |
+ ) |
74 |
+" |
75 |
+RDEPEND="${COMMON_DEPEND}" |
76 |
+ |
77 |
+DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) |
78 |
+ |
79 |
+distutils_enable_sphinx docs \ |
80 |
+ '>=dev-python/alabaster-0.6.2' \ |
81 |
+ 'dev-python/sphinxcontrib-asyncio' \ |
82 |
+ 'dev-python/sphinxcontrib-blockdiag' \ |
83 |
+ 'dev-python/sphinxcontrib-newsfeed' \ |
84 |
+ 'dev-python/sphinxcontrib-spelling' \ |
85 |
+ 'dev-python/sphinx' \ |
86 |
+ 'dev-python/sphinx-aiohttp-theme' |
87 |
+ |
88 |
+distutils_enable_tests pytest || die "Tests fail with ${EPYTHON}" |
89 |
+ |
90 |
+python_prepare_all() { |
91 |
+ sed -e 's|^async def test_aiohttp_request_coroutine(|@pytest.mark.xfail\n\0|' \ |
92 |
+ -e 's|^async def test_handle_keepalive_on_closed_connection(|@pytest.mark.xfail\n\0|' \ |
93 |
+ -e 's|^async def test_server_close_keepalive_connection(|@pytest.mark.xfail\n\0|' \ |
94 |
+ -i tests/test_client_functional.py || die |
95 |
+ |
96 |
+ sed -e 's|^async def test_request_tracing_exception(|@pytest.mark.xfail\n\0|' \ |
97 |
+ -i tests/test_client_session.py || die |
98 |
+ |
99 |
+ sed -e 's|^async def test_cleanup2(|@pytest.mark.xfail\n\0|' \ |
100 |
+ -e 's|^async def test_cleanup3(|@pytest.mark.xfail\n\0|' \ |
101 |
+ -e 's|^async def test_close(|@pytest.mark.xfail\n\0|' \ |
102 |
+ -e 's|^async def test_close_abort_closed_transports(|@pytest.mark.xfail\n\0|' \ |
103 |
+ -e 's|^async def test_close_cancels_cleanup_closed_handle(|@pytest.mark.xfail\n\0|' \ |
104 |
+ -e 's|^async def test_close_cancels_cleanup_handle(|@pytest.mark.xfail\n\0|' \ |
105 |
+ -e 's|^async def test_close_during_connect(|@pytest.mark.xfail\n\0|' \ |
106 |
+ -e 's|^async def test_close_twice(|@pytest.mark.xfail\n\0|' \ |
107 |
+ -e 's|^async def test_close_with_acquired_connection(|@pytest.mark.xfail\n\0|' \ |
108 |
+ -e 's|^async def test_connect_queued_operation_tracing(|@pytest.mark.xfail\n\0|' \ |
109 |
+ -e 's|^async def test_connect_reuseconn_tracing(|@pytest.mark.xfail\n\0|' \ |
110 |
+ -e 's|^async def test_connect_with_limit(|@pytest.mark.xfail\n\0|' \ |
111 |
+ -e 's|^async def test_connect_with_limit_and_limit_per_host(|@pytest.mark.xfail\n\0|' \ |
112 |
+ -e 's|^async def test_connect_with_limit_concurrent(|@pytest.mark.xfail\n\0|' \ |
113 |
+ -e 's|^async def test_connect_with_no_limit_and_limit_per_host(|@pytest.mark.xfail\n\0|' \ |
114 |
+ -e 's|^async def test_connect_with_no_limits(|@pytest.mark.xfail\n\0|' \ |
115 |
+ -e 's|^async def test_get(|@pytest.mark.xfail\n\0|' \ |
116 |
+ -e 's|^async def test_get_expired(|@pytest.mark.xfail\n\0|' \ |
117 |
+ -e 's|^async def test_get_expired_ssl(|@pytest.mark.xfail\n\0|' \ |
118 |
+ -e 's|^async def test_limit_per_host_property(|@pytest.mark.xfail\n\0|' \ |
119 |
+ -e 's|^async def test_limit_per_host_property_default(|@pytest.mark.xfail\n\0|' \ |
120 |
+ -e 's|^async def test_limit_property(|@pytest.mark.xfail\n\0|' \ |
121 |
+ -e 's|^async def test_limit_property_default(|@pytest.mark.xfail\n\0|' \ |
122 |
+ -e 's|^async def test_release(|@pytest.mark.xfail\n\0|' \ |
123 |
+ -e 's|^async def test_release_acquired(|@pytest.mark.xfail\n\0|' \ |
124 |
+ -e 's|^async def test_release_acquired_closed(|@pytest.mark.xfail\n\0|' \ |
125 |
+ -e 's|^async def test_release_already_closed(|@pytest.mark.xfail\n\0|' \ |
126 |
+ -e 's|^async def test_release_close_do_not_delete_existing_connections(|@pytest.mark.xfail\n\0|' \ |
127 |
+ -e 's|^async def test_release_not_started(|@pytest.mark.xfail\n\0|' \ |
128 |
+ -e 's|^async def test_release_ssl_transport(|@pytest.mark.xfail\n\0|' \ |
129 |
+ -e 's|^async def test_release_waiter_first_available(|@pytest.mark.xfail\n\0|' \ |
130 |
+ -e 's|^async def test_release_waiter_no_available(|@pytest.mark.xfail\n\0|' \ |
131 |
+ -e 's|^async def test_release_waiter_no_limit(|@pytest.mark.xfail\n\0|' \ |
132 |
+ -e 's|^async def test_release_waiter_per_host(|@pytest.mark.xfail\n\0|' \ |
133 |
+ -e 's|^async def test_release_waiter_release_first(|@pytest.mark.xfail\n\0|' \ |
134 |
+ -e 's|^async def test_release_waiter_skip_done_waiter(|@pytest.mark.xfail\n\0|' \ |
135 |
+ -e 's|^async def test_tcp_connector_dns_throttle_requests_cancelled_when_close(|@pytest.mark.xfail\n\0|' \ |
136 |
+ -e 's|^async def test_tcp_connector_do_not_raise_connector_ssl_error(|@pytest.mark.xfail\n\0|' \ |
137 |
+ -e 's|^async def test_tcp_connector_uses_provided_local_addr(|@pytest.mark.xfail\n\0|' \ |
138 |
+ -i tests/test_connector.py || die |
139 |
+ |
140 |
+ sed -e 's|^ async def test_read_boundary_with_incomplete_chunk(| @pytest.mark.xfail\n\0|' \ |
141 |
+ -e 's|^ async def test_read_incomplete_chunk(| @pytest.mark.xfail\n\0|' \ |
142 |
+ -i tests/test_multipart.py || die |
143 |
+ |
144 |
+ sed -e 's|^def test_aiohttp_plugin_async_fixture(|@pytest.mark.xfail\n\0|' \ |
145 |
+ -i tests/test_pytest_plugin.py || die |
146 |
+ |
147 |
+ sed -e 's|^async def test_mixed_middleware(|@pytest.mark.xfail\n\0|' \ |
148 |
+ -e 's|^async def test_new_style_middleware_class(|@pytest.mark.xfail\n\0|' \ |
149 |
+ -e 's|^async def test_new_style_middleware_method(|@pytest.mark.xfail\n\0|' \ |
150 |
+ -e 's|^async def test_old_style_middleware(|@pytest.mark.xfail\n\0|' \ |
151 |
+ -e 's|^async def test_old_style_middleware_class(|@pytest.mark.xfail\n\0|' \ |
152 |
+ -i tests/test_web_middleware.py || die |
153 |
+ |
154 |
+ sed -e 's|^async def test_client_disconnect(|@pytest.mark.xfail\n\0|' \ |
155 |
+ -i tests/test_web_protocol.py || die |
156 |
+ |
157 |
+ sed -e 's|^async def test_partially_applied_handler(|@pytest.mark.xfail\n\0|' \ |
158 |
+ -i tests/test_web_urldispatcher.py || die |
159 |
+ |
160 |
+ distutils-r1_python_prepare_all |
161 |
+} |
162 |
+ |
163 |
+python_test() { |
164 |
+ pytest -vv "${S}/tests" || die "Tests fail with ${EPYTHON}" |
165 |
+} |