Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/httpcore/
Date: Sun, 17 Oct 2021 08:58:15
Message-Id: 1634461077.1f4480cc9d967e18a828cd7357fb3283d6b4fd08.mgorny@gentoo
1 commit: 1f4480cc9d967e18a828cd7357fb3283d6b4fd08
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 17 08:54:24 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 17 08:57:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f4480cc
7
8 dev-python/httpcore: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/httpcore/Manifest | 4 --
13 dev-python/httpcore/httpcore-0.12.3.ebuild | 64 ------------------------------
14 dev-python/httpcore/httpcore-0.13.0.ebuild | 63 -----------------------------
15 dev-python/httpcore/httpcore-0.13.1.ebuild | 63 -----------------------------
16 dev-python/httpcore/httpcore-0.13.2.ebuild | 63 -----------------------------
17 5 files changed, 257 deletions(-)
18
19 diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
20 index 72fa0eb6dfc..8bd60a2b895 100644
21 --- a/dev-python/httpcore/Manifest
22 +++ b/dev-python/httpcore/Manifest
23 @@ -1,7 +1,3 @@
24 -DIST httpcore-0.12.3.tar.gz 57587 BLAKE2B 3c0e7a210b21e54564c4c6077fadf66344b887662c71b05a1ad4a2c0224a4d703eccdf576d4443341176edee03b6776bfd49aaef2ea2f29f02614677e1dfad85 SHA512 b31535231dc2b6a5f1c9c0c538628f75360f04b4747b447ab0a7168ed32d0eabd463335c2f7fa782dcabb4cbc32891a2839ae50e0999d5a791c01b02533d38f0
25 -DIST httpcore-0.13.0.tar.gz 58310 BLAKE2B 29ed4ad768088c6226ece27cb82e2a1d8df32eba4cf446015b43360c330ec65b433f571ac8e13e4b8f8994ff6e097ce5bf79ae1b9561d940298172c66d539153 SHA512 28ed65d3b3b30a62e3f198d98ae77a3cc26bd80250f10a506851433b5572a6fdcab38bf0d670caea94dec43d5b61de21a3ea967a445041536cad68eb98cc12bc
26 -DIST httpcore-0.13.1.tar.gz 58538 BLAKE2B 4c0b681f96fd64d17bc1974bdb74486fd336f84b27eda450d7de630c9f5dc2012ca91d10c4d0bcdaa06ff0e60d524993ab784721e4ffb55ff2848d68ea9ebb29 SHA512 ba410bf61e820016b061a8cd5a30b227bb75a78e90465459b2ff67dd76b9de9120d3b2474f6d8bb54698f627bb8801f2da5b3d85a4a41a0c5330d6bba8e10a49
27 -DIST httpcore-0.13.2.tar.gz 59043 BLAKE2B c534c304b238837486b8a61860553475c87363b43842c9dad2629673c1d30c2f906f31658f6ff75bd9354040c08453c3d4ffe8bdf53077ca993399b93d68a57a SHA512 b032d56bc5bf4049d02ca2ddfaf66615a1ac2f0723291f82f9104a0d7f09d5eec710f9e1ac2082fa1e83ef7fa6fe4f5a6c7c28d660abd6803a990094c952834f
28 DIST httpcore-0.13.3.tar.gz 64246 BLAKE2B afc43122a5502770b6efe7052846926e25fa678dcbd5c8ddbcd806df36dcf684d94df12571efaab0ff1b657fef14d5d71dd902be5cbec12c61db13004d7fe5a9 SHA512 7ba6c2cb77c082bcdb8cdfad2bc17646ccc9348f49760150ec1070429f94913b2fb9eae6d3407b404581b48670b866bf11696453325dd70610bd700e94990450
29 DIST httpcore-0.13.6.tar.gz 64716 BLAKE2B 6eadcaac626d4561dec2e41bdbde21836727f10870093890469e6b5a4af2aa276361044d08b5e25e3bf760092e5537edff9d0c99acb1ddf6ab0a17343bcd9af2 SHA512 52b6189763755dbbd762ad26fef0107ad50949c1dd4865db788317ce981079cc095161e543f1a455ce84138b51f89806d8c55267378574feced107675f6cde47
30 DIST httpcore-0.13.7.tar.gz 64734 BLAKE2B e6c4b1720ce4bf62689995d3e1c648c4702bb416f3b3586eb8dd2f0cfd2155046e64181c4c04e65f721a5f0fcbc23b5ffd01c2930c7c69d37ee4c36e37b7d0d4 SHA512 0cc48828d0710066b3ef89998ec85975285763ac63a8b59106952ef2dac5a02dac71e7e106c4b6ea1022eb4d06a9cb5ee3e634eb564bad49c5508beff75279d6
31
32 diff --git a/dev-python/httpcore/httpcore-0.12.3.ebuild b/dev-python/httpcore/httpcore-0.12.3.ebuild
33 deleted file mode 100644
34 index 9d5010440b8..00000000000
35 --- a/dev-python/httpcore/httpcore-0.12.3.ebuild
36 +++ /dev/null
37 @@ -1,64 +0,0 @@
38 -# Copyright 1999-2021 Gentoo Authors
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=7
42 -
43 -PYTHON_COMPAT=( python3_{7..9} )
44 -
45 -inherit distutils-r1
46 -
47 -DESCRIPTION="A minimal low-level HTTP client"
48 -HOMEPAGE="https://www.encode.io/httpcore/"
49 -SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
50 -
51 -LICENSE="BSD"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~x86"
54 -
55 -RDEPEND="
56 - =dev-python/h11-0*[${PYTHON_USEDEP}]
57 - =dev-python/sniffio-1*[${PYTHON_USEDEP}]
58 -"
59 -BDEPEND="
60 - test? (
61 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
62 - dev-python/trustme[${PYTHON_USEDEP}]
63 - )
64 -"
65 -
66 -distutils_enable_tests pytest
67 -
68 -python_prepare_all() {
69 - # anyio and trio are not in the tree
70 - sed -i 's/^@pytest.mark.\(anyio\|trio\)/@pytest.mark.skip/' \
71 - tests/async_tests/test_*.py || die
72 - sed -i '/^import trio/d' tests/utils.py || die
73 - # pproxy is not in the tree, the associated fixture
74 - # must be disabled to prevent errors during test setup
75 - sed -i 's/def proxy_server().*/&\n pytest.skip()/' \
76 - tests/conftest.py || die
77 - distutils-r1_python_prepare_all
78 -}
79 -
80 -python_test() {
81 - local skipped_tests=(
82 - # Require Internet access or hypercorn (not in the tree)
83 - tests/test_threadsafety.py::test_threadsafe_basic
84 - tests/sync_tests/test_interfaces.py::test_http_request
85 - tests/sync_tests/test_interfaces.py::test_https_request
86 - tests/sync_tests/test_interfaces.py::test_http2_request
87 - tests/sync_tests/test_interfaces.py::test_closing_http_request
88 - tests/sync_tests/test_interfaces.py::test_connection_pool_get_connection_info
89 - tests/sync_tests/test_interfaces.py::test_max_keepalive_connections_handled_correctly
90 - tests/sync_tests/test_interfaces.py::test_explicit_backend_name
91 - tests/sync_tests/test_interfaces.py::test_connection_timeout_tcp
92 - tests/sync_tests/test_interfaces.py::test_broken_socket_detection_many_open_files
93 - tests/sync_tests/test_retries.py::test_no_retries
94 - tests/sync_tests/test_retries.py::test_retries_exceeded
95 - tests/sync_tests/test_retries.py::test_retries_enabled
96 - # Require hypercorn
97 - tests/sync_tests/test_interfaces.py::test_connection_timeout_uds
98 - )
99 - pytest -vv ${skipped_tests[@]/#/--deselect } \
100 - || die "Tests failed with ${EPYTHON}"
101 -}
102
103 diff --git a/dev-python/httpcore/httpcore-0.13.0.ebuild b/dev-python/httpcore/httpcore-0.13.0.ebuild
104 deleted file mode 100644
105 index 65db8571836..00000000000
106 --- a/dev-python/httpcore/httpcore-0.13.0.ebuild
107 +++ /dev/null
108 @@ -1,63 +0,0 @@
109 -# Copyright 1999-2021 Gentoo Authors
110 -# Distributed under the terms of the GNU General Public License v2
111 -
112 -EAPI=7
113 -
114 -PYTHON_COMPAT=( python3_{7..9} )
115 -
116 -inherit distutils-r1
117 -
118 -DESCRIPTION="A minimal low-level HTTP client"
119 -HOMEPAGE="https://www.encode.io/httpcore/"
120 -SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
121 -
122 -LICENSE="BSD"
123 -SLOT="0"
124 -KEYWORDS="~amd64 ~x86"
125 -
126 -RDEPEND="
127 - =dev-python/h11-0*[${PYTHON_USEDEP}]
128 - =dev-python/sniffio-1*[${PYTHON_USEDEP}]
129 -"
130 -BDEPEND="
131 - test? (
132 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
133 - dev-python/trustme[${PYTHON_USEDEP}]
134 - )
135 -"
136 -
137 -distutils_enable_tests pytest
138 -
139 -python_prepare_all() {
140 - # anyio and trio are not in the tree
141 - sed -i 's/^@pytest.mark.\(anyio\|trio\)/@pytest.mark.skip/' \
142 - tests/async_tests/test_*.py || die
143 - sed -i '/^import trio/d' tests/utils.py || die
144 - # pproxy is not in the tree, the associated fixture
145 - # must be disabled to prevent errors during test setup
146 - sed -i 's/def proxy_server().*/&\n pytest.skip()/' \
147 - tests/conftest.py || die
148 - distutils-r1_python_prepare_all
149 -}
150 -
151 -python_test() {
152 - local skipped_tests=(
153 - # Require Internet access or hypercorn (not in the tree)
154 - tests/test_threadsafety.py::test_threadsafe_basic
155 - tests/sync_tests/test_interfaces.py::test_http_request
156 - tests/sync_tests/test_interfaces.py::test_https_request
157 - tests/sync_tests/test_interfaces.py::test_http2_request
158 - tests/sync_tests/test_interfaces.py::test_closing_http_request
159 - tests/sync_tests/test_interfaces.py::test_connection_pool_get_connection_info
160 - tests/sync_tests/test_interfaces.py::test_max_keepalive_connections_handled_correctly
161 - tests/sync_tests/test_interfaces.py::test_explicit_backend_name
162 - tests/sync_tests/test_interfaces.py::test_connection_timeout_tcp
163 - tests/sync_tests/test_interfaces.py::test_broken_socket_detection_many_open_files
164 - tests/sync_tests/test_retries.py::test_no_retries
165 - tests/sync_tests/test_retries.py::test_retries_exceeded
166 - tests/sync_tests/test_retries.py::test_retries_enabled
167 - # Require hypercorn
168 - tests/sync_tests/test_interfaces.py::test_connection_timeout_uds
169 - )
170 - epytest ${skipped_tests[@]/#/--deselect }
171 -}
172
173 diff --git a/dev-python/httpcore/httpcore-0.13.1.ebuild b/dev-python/httpcore/httpcore-0.13.1.ebuild
174 deleted file mode 100644
175 index 65db8571836..00000000000
176 --- a/dev-python/httpcore/httpcore-0.13.1.ebuild
177 +++ /dev/null
178 @@ -1,63 +0,0 @@
179 -# Copyright 1999-2021 Gentoo Authors
180 -# Distributed under the terms of the GNU General Public License v2
181 -
182 -EAPI=7
183 -
184 -PYTHON_COMPAT=( python3_{7..9} )
185 -
186 -inherit distutils-r1
187 -
188 -DESCRIPTION="A minimal low-level HTTP client"
189 -HOMEPAGE="https://www.encode.io/httpcore/"
190 -SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
191 -
192 -LICENSE="BSD"
193 -SLOT="0"
194 -KEYWORDS="~amd64 ~x86"
195 -
196 -RDEPEND="
197 - =dev-python/h11-0*[${PYTHON_USEDEP}]
198 - =dev-python/sniffio-1*[${PYTHON_USEDEP}]
199 -"
200 -BDEPEND="
201 - test? (
202 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
203 - dev-python/trustme[${PYTHON_USEDEP}]
204 - )
205 -"
206 -
207 -distutils_enable_tests pytest
208 -
209 -python_prepare_all() {
210 - # anyio and trio are not in the tree
211 - sed -i 's/^@pytest.mark.\(anyio\|trio\)/@pytest.mark.skip/' \
212 - tests/async_tests/test_*.py || die
213 - sed -i '/^import trio/d' tests/utils.py || die
214 - # pproxy is not in the tree, the associated fixture
215 - # must be disabled to prevent errors during test setup
216 - sed -i 's/def proxy_server().*/&\n pytest.skip()/' \
217 - tests/conftest.py || die
218 - distutils-r1_python_prepare_all
219 -}
220 -
221 -python_test() {
222 - local skipped_tests=(
223 - # Require Internet access or hypercorn (not in the tree)
224 - tests/test_threadsafety.py::test_threadsafe_basic
225 - tests/sync_tests/test_interfaces.py::test_http_request
226 - tests/sync_tests/test_interfaces.py::test_https_request
227 - tests/sync_tests/test_interfaces.py::test_http2_request
228 - tests/sync_tests/test_interfaces.py::test_closing_http_request
229 - tests/sync_tests/test_interfaces.py::test_connection_pool_get_connection_info
230 - tests/sync_tests/test_interfaces.py::test_max_keepalive_connections_handled_correctly
231 - tests/sync_tests/test_interfaces.py::test_explicit_backend_name
232 - tests/sync_tests/test_interfaces.py::test_connection_timeout_tcp
233 - tests/sync_tests/test_interfaces.py::test_broken_socket_detection_many_open_files
234 - tests/sync_tests/test_retries.py::test_no_retries
235 - tests/sync_tests/test_retries.py::test_retries_exceeded
236 - tests/sync_tests/test_retries.py::test_retries_enabled
237 - # Require hypercorn
238 - tests/sync_tests/test_interfaces.py::test_connection_timeout_uds
239 - )
240 - epytest ${skipped_tests[@]/#/--deselect }
241 -}
242
243 diff --git a/dev-python/httpcore/httpcore-0.13.2.ebuild b/dev-python/httpcore/httpcore-0.13.2.ebuild
244 deleted file mode 100644
245 index 65db8571836..00000000000
246 --- a/dev-python/httpcore/httpcore-0.13.2.ebuild
247 +++ /dev/null
248 @@ -1,63 +0,0 @@
249 -# Copyright 1999-2021 Gentoo Authors
250 -# Distributed under the terms of the GNU General Public License v2
251 -
252 -EAPI=7
253 -
254 -PYTHON_COMPAT=( python3_{7..9} )
255 -
256 -inherit distutils-r1
257 -
258 -DESCRIPTION="A minimal low-level HTTP client"
259 -HOMEPAGE="https://www.encode.io/httpcore/"
260 -SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
261 -
262 -LICENSE="BSD"
263 -SLOT="0"
264 -KEYWORDS="~amd64 ~x86"
265 -
266 -RDEPEND="
267 - =dev-python/h11-0*[${PYTHON_USEDEP}]
268 - =dev-python/sniffio-1*[${PYTHON_USEDEP}]
269 -"
270 -BDEPEND="
271 - test? (
272 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
273 - dev-python/trustme[${PYTHON_USEDEP}]
274 - )
275 -"
276 -
277 -distutils_enable_tests pytest
278 -
279 -python_prepare_all() {
280 - # anyio and trio are not in the tree
281 - sed -i 's/^@pytest.mark.\(anyio\|trio\)/@pytest.mark.skip/' \
282 - tests/async_tests/test_*.py || die
283 - sed -i '/^import trio/d' tests/utils.py || die
284 - # pproxy is not in the tree, the associated fixture
285 - # must be disabled to prevent errors during test setup
286 - sed -i 's/def proxy_server().*/&\n pytest.skip()/' \
287 - tests/conftest.py || die
288 - distutils-r1_python_prepare_all
289 -}
290 -
291 -python_test() {
292 - local skipped_tests=(
293 - # Require Internet access or hypercorn (not in the tree)
294 - tests/test_threadsafety.py::test_threadsafe_basic
295 - tests/sync_tests/test_interfaces.py::test_http_request
296 - tests/sync_tests/test_interfaces.py::test_https_request
297 - tests/sync_tests/test_interfaces.py::test_http2_request
298 - tests/sync_tests/test_interfaces.py::test_closing_http_request
299 - tests/sync_tests/test_interfaces.py::test_connection_pool_get_connection_info
300 - tests/sync_tests/test_interfaces.py::test_max_keepalive_connections_handled_correctly
301 - tests/sync_tests/test_interfaces.py::test_explicit_backend_name
302 - tests/sync_tests/test_interfaces.py::test_connection_timeout_tcp
303 - tests/sync_tests/test_interfaces.py::test_broken_socket_detection_many_open_files
304 - tests/sync_tests/test_retries.py::test_no_retries
305 - tests/sync_tests/test_retries.py::test_retries_exceeded
306 - tests/sync_tests/test_retries.py::test_retries_enabled
307 - # Require hypercorn
308 - tests/sync_tests/test_interfaces.py::test_connection_timeout_uds
309 - )
310 - epytest ${skipped_tests[@]/#/--deselect }
311 -}