1 |
commit: c5fe701c84fb5ca21d2fbc7643d2a9d9ecb6355c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 29 14:16:59 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 29 14:37:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5fe701c |
7 |
|
8 |
dev-python/aiohttp: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/aiohttp/aiohttp-3.8.1.ebuild | 92 --------------------------------- |
13 |
1 file changed, 92 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/aiohttp/aiohttp-3.8.1.ebuild b/dev-python/aiohttp/aiohttp-3.8.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 798204e83307..000000000000 |
18 |
--- a/dev-python/aiohttp/aiohttp-3.8.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,92 +0,0 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
27 |
- |
28 |
-inherit distutils-r1 multiprocessing |
29 |
- |
30 |
-DESCRIPTION="http client/server for asyncio" |
31 |
-HOMEPAGE=" |
32 |
- https://pypi.org/project/aiohttp/ |
33 |
- https://github.com/aio-libs/aiohttp/" |
34 |
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
35 |
- |
36 |
-LICENSE="Apache-2.0" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" |
39 |
- |
40 |
-RDEPEND=" |
41 |
- app-arch/brotli[python,${PYTHON_USEDEP}] |
42 |
- >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] |
43 |
- >=dev-python/async-timeout-4.0.0_alpha3[${PYTHON_USEDEP}] |
44 |
- >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] |
45 |
- >=dev-python/charset_normalizer-2.0[${PYTHON_USEDEP}] |
46 |
- >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] |
47 |
- >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] |
48 |
- >=dev-python/yarl-1.0[${PYTHON_USEDEP}] |
49 |
-" |
50 |
-BDEPEND=" |
51 |
- test? ( |
52 |
- app-arch/brotli[python,${PYTHON_USEDEP}] |
53 |
- dev-python/async_generator[${PYTHON_USEDEP}] |
54 |
- dev-python/freezegun[${PYTHON_USEDEP}] |
55 |
- www-servers/gunicorn[${PYTHON_USEDEP}] |
56 |
- dev-python/pytest-forked[${PYTHON_USEDEP}] |
57 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
58 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
59 |
- dev-python/re-assert[${PYTHON_USEDEP}] |
60 |
- !hppa? ( !ia64? ( |
61 |
- dev-python/trustme[${PYTHON_USEDEP}] |
62 |
- ) ) |
63 |
- ) |
64 |
-" |
65 |
- |
66 |
-DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) |
67 |
- |
68 |
-distutils_enable_tests pytest |
69 |
-distutils_enable_sphinx docs \ |
70 |
- '>=dev-python/alabaster-0.6.2' \ |
71 |
- 'dev-python/sphinxcontrib-asyncio' \ |
72 |
- 'dev-python/sphinxcontrib-blockdiag' \ |
73 |
- 'dev-python/sphinxcontrib-newsfeed' \ |
74 |
- 'dev-python/sphinxcontrib-spelling' \ |
75 |
- 'dev-python/sphinx' \ |
76 |
- 'dev-python/sphinx-aiohttp-theme' |
77 |
- |
78 |
-# TODO: re-cythonize modules? |
79 |
- |
80 |
-src_prepare() { |
81 |
- # increate a little the timeout |
82 |
- sed -e '/abs_tol=/s/0.001/0.01/' -i tests/test_helpers.py || die |
83 |
- |
84 |
- # xfail_strict fails on py3.10 |
85 |
- sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die |
86 |
- distutils-r1_src_prepare |
87 |
-} |
88 |
- |
89 |
-python_test() { |
90 |
- local EPYTEST_IGNORE=( |
91 |
- # proxy is not packaged |
92 |
- tests/test_proxy_functional.py |
93 |
- ) |
94 |
- |
95 |
- local EPYTEST_DESELECT=( |
96 |
- # runtime warnings |
97 |
- 'tests/test_client_functional.py::test_aiohttp_request_coroutine[pyloop]' |
98 |
- # Internet |
99 |
- tests/test_client_session.py::test_client_session_timeout_zero |
100 |
- ) |
101 |
- |
102 |
- [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
103 |
- # C extensions are not used on PyPy3 |
104 |
- tests/test_http_parser.py::test_c_parser_loaded |
105 |
- ) |
106 |
- |
107 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
108 |
- local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked |
109 |
- mv aiohttp aiohttp.hidden || die |
110 |
- epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" --forked |
111 |
- mv aiohttp.hidden aiohttp || die |
112 |
-} |