1 |
commit: 67f749a6c6ba3a9c13dc30cb134d3511c8422ba6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 19:30:14 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 19:31:14 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67f749a6 |
7 |
|
8 |
dev-python/aiohttp: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/aiohttp/Manifest | 1 - |
13 |
dev-python/aiohttp/aiohttp-3.8.3-r1.ebuild | 107 ----------------------------- |
14 |
2 files changed, 108 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest |
17 |
index 873299b4a13a..96d87652c37b 100644 |
18 |
--- a/dev-python/aiohttp/Manifest |
19 |
+++ b/dev-python/aiohttp/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST aiohttp-3.8.3.tar.gz 7337480 BLAKE2B 28d2b5bf6dd6f19506127747511e006c22fcb59959ab090bdc53ca5ee0f7f186aedb0c8b4103c2ea52399dc998fa2e6d3f872239223cf72629a1168e3950f1f8 SHA512 248c232604c91442b2fc9fa55fbf7df8e3af56dcf4cd9c516414a3a738c5c60a8a06395cd9c6e2c8ea9884728aea757423735c7b9be889e6f17e3ee6395a2f64 |
22 |
DIST aiohttp-3.8.4.tar.gz 7338512 BLAKE2B 019e39eab7cfafe4ca2781c5efe7cc63ed16b5400c548a9a5169a98b59f4014c79bf1a32def1071ac4e1890dcfa583354a227ed2a541449dc725726216b7750b SHA512 ee193320d57161ba9d96b22502cea4eddb05d9586bde5ba1ce813e0bd149f62286ab8a76f120ef2a69f8bf882ab0605ca42103c0811fe53c7a024682ee31aa1e |
23 |
|
24 |
diff --git a/dev-python/aiohttp/aiohttp-3.8.3-r1.ebuild b/dev-python/aiohttp/aiohttp-3.8.3-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 5df4cf93b5bd..000000000000 |
27 |
--- a/dev-python/aiohttp/aiohttp-3.8.3-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,107 +0,0 @@ |
30 |
-# Copyright 1999-2023 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
37 |
- |
38 |
-inherit distutils-r1 multiprocessing |
39 |
- |
40 |
-DESCRIPTION="HTTP client/server for asyncio" |
41 |
-HOMEPAGE=" |
42 |
- https://github.com/aio-libs/aiohttp/ |
43 |
- https://pypi.org/project/aiohttp/ |
44 |
-" |
45 |
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="Apache-2.0" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" |
50 |
-IUSE="test-rust" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- app-arch/brotli[python,${PYTHON_USEDEP}] |
54 |
- >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}] |
55 |
- >=dev-python/async-timeout-4.0.0_alpha3[${PYTHON_USEDEP}] |
56 |
- >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] |
57 |
- >=dev-python/charset_normalizer-2.0[${PYTHON_USEDEP}] |
58 |
- >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}] |
59 |
- >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] |
60 |
- >=dev-python/yarl-1.0[${PYTHON_USEDEP}] |
61 |
-" |
62 |
-BDEPEND=" |
63 |
- dev-python/cython[${PYTHON_USEDEP}] |
64 |
- test? ( |
65 |
- app-arch/brotli[python,${PYTHON_USEDEP}] |
66 |
- dev-python/async_generator[${PYTHON_USEDEP}] |
67 |
- dev-python/freezegun[${PYTHON_USEDEP}] |
68 |
- www-servers/gunicorn[${PYTHON_USEDEP}] |
69 |
- dev-python/pytest-forked[${PYTHON_USEDEP}] |
70 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
71 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
72 |
- dev-python/re-assert[${PYTHON_USEDEP}] |
73 |
- test-rust? ( |
74 |
- dev-python/trustme[${PYTHON_USEDEP}] |
75 |
- ) |
76 |
- ) |
77 |
-" |
78 |
- |
79 |
-DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) |
80 |
- |
81 |
-distutils_enable_tests pytest |
82 |
- |
83 |
-src_prepare() { |
84 |
- # increase the timeout a little |
85 |
- sed -e '/abs_tol=/s/0.001/0.01/' -i tests/test_helpers.py || die |
86 |
- |
87 |
- # xfail_strict fails on py3.10 |
88 |
- sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die |
89 |
- |
90 |
- # which(1)... |
91 |
- sed -i -e 's:which:command -v:' Makefile || die |
92 |
- |
93 |
- # remove upper bound from charset-normalizer |
94 |
- sed -i -e '/charset-normalizer/s:, < 3\.0::' setup.cfg || die |
95 |
- |
96 |
- distutils-r1_src_prepare |
97 |
-} |
98 |
- |
99 |
-python_configure_all() { |
100 |
- # workaround missing files |
101 |
- mkdir requirements tools || die |
102 |
- > requirements/cython.txt || die |
103 |
- > tools/gen.py || die |
104 |
- chmod +x tools/gen.py || die |
105 |
- # force rehashing first |
106 |
- emake requirements/.hash/cython.txt.hash |
107 |
- > .update-pip || die |
108 |
- > .install-cython || die |
109 |
- emake cythonize |
110 |
-} |
111 |
- |
112 |
-python_test() { |
113 |
- local EPYTEST_IGNORE=( |
114 |
- # proxy is not packaged |
115 |
- tests/test_proxy_functional.py |
116 |
- ) |
117 |
- |
118 |
- local EPYTEST_DESELECT=( |
119 |
- # Internet |
120 |
- tests/test_client_session.py::test_client_session_timeout_zero |
121 |
- ) |
122 |
- |
123 |
- case ${EPYTHON} in |
124 |
- pypy3) |
125 |
- EPYTEST_DESELECT+=( |
126 |
- # C extensions are not used on PyPy3 |
127 |
- tests/test_http_parser.py::test_c_parser_loaded |
128 |
- ) |
129 |
- ;; |
130 |
- esac |
131 |
- |
132 |
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 |
133 |
- local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked |
134 |
- rm -rf aiohttp || die |
135 |
- epytest -n "$(makeopts_jobs)" --forked |
136 |
-} |