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/uvloop/, dev-python/uvloop/files/
Date: Wed, 28 Apr 2021 23:35:05
Message-Id: 1619652881.83f605eb3538a48c43d071191ec449cb3eea4d1f.mgorny@gentoo
1 commit: 83f605eb3538a48c43d071191ec449cb3eea4d1f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 28 23:26:27 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 28 23:34:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83f605eb
7
8 dev-python/uvloop: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/uvloop/Manifest | 3 --
13 .../files/uvloop-0.14.0-asyncio-test-hang.patch | 33 ------------
14 dev-python/uvloop/uvloop-0.14.0.ebuild | 63 ----------------------
15 dev-python/uvloop/uvloop-0.15.0.ebuild | 54 -------------------
16 dev-python/uvloop/uvloop-0.15.1.ebuild | 54 -------------------
17 5 files changed, 207 deletions(-)
18
19 diff --git a/dev-python/uvloop/Manifest b/dev-python/uvloop/Manifest
20 index c459c325c1c..8d5cc2eedaa 100644
21 --- a/dev-python/uvloop/Manifest
22 +++ b/dev-python/uvloop/Manifest
23 @@ -1,4 +1 @@
24 -DIST uvloop-0.14.0.tar.gz 2009041 BLAKE2B 4d984f5023e0974ee68795e6cf29585cee32345e8a682611a72dbc36efefdfeeecb3c22aecb581ff7e5ae826345e1de3b0e6c7a6e8319829b0b3cbe5a180ed11 SHA512 8a9a64c91fd34c65a1c40d8d76ad7dbd7e959d45188ef81cdc06995312f52106b2c648a504d51b64b470e54dfc4854dcf9a05cafa3d4a42f1bc1e31766114d61
25 -DIST uvloop-0.15.0.tar.gz 2086686 BLAKE2B 34bbce58f47a4da1c8fa27011c4a39e864ba1959affe2584eb33425ddb3fbb3a59783e3cf771669cdb1343299bbc7a7a8a14f4bfcbf2b694ac71b9fc055341d1 SHA512 fcb18511a1af89c11cd4022ecb6e8893915a159b34a054bab5e82da3b9127b886ab3e785a98ca39e612cdf2b18abd95bd7fc505808cccf9d4ac281f5a0b6e0d7
26 -DIST uvloop-0.15.1.tar.gz 2087966 BLAKE2B 31892cfa2cacb02ae8a78ced2066a60012dfdc95ff9b1d68119487ec543e45fe7867c6a4b597b2ee83632c48d6d53216f648005a6202036e99f38b34b8d5e60a SHA512 104153760781b5596b552f00d0c897144fe2fbe208c2216e94daf5eef08ebde2ec45ddeaf6a24d1b28f9351d241832541a754124229af71245695da262458ffc
27 DIST uvloop-0.15.2.tar.gz 2092589 BLAKE2B 05c518ba5854fa22fe72a0224856fa0529af0b9432f366b5b1cb0df09a92c787425713fadb85b151363df28800a94ed2a2ad617aaa1c4e854586e49d16f7dd1c SHA512 e398c7ff85da65344a6ab637e9b2f560e9ba61a3be7a3138d546138949359e30bc2e5f8268f1569b73c3881c66d71cf6298038ca1a883be71a33d7ef86d09eed
28
29 diff --git a/dev-python/uvloop/files/uvloop-0.14.0-asyncio-test-hang.patch b/dev-python/uvloop/files/uvloop-0.14.0-asyncio-test-hang.patch
30 deleted file mode 100644
31 index d139d6f66b0..00000000000
32 --- a/dev-python/uvloop/files/uvloop-0.14.0-asyncio-test-hang.patch
33 +++ /dev/null
34 @@ -1,33 +0,0 @@
35 -From 1549514de9c344ac978472097e750b1caf6a36b9 Mon Sep 17 00:00:00 2001
36 -From: Fantix King <fantix.king@×××××.com>
37 -Date: Mon, 25 May 2020 14:10:07 -0500
38 -Subject: [PATCH] Skip for bpo-30064 until 3.8.2
39 -
40 -[mgorny: extended to all py3.8 versions]
41 ----
42 - tests/test_sockets.py | 9 +++++----
43 - 1 file changed, 5 insertions(+), 4 deletions(-)
44 -
45 -diff --git a/tests/test_sockets.py b/tests/test_sockets.py
46 -index 6a8a63f..d9f258e 100644
47 ---- a/tests/test_sockets.py
48 -+++ b/tests/test_sockets.py
49 -@@ -194,10 +194,11 @@ class _TestSockets:
50 - self.loop.run_until_complete(asyncio.sleep(0.01))
51 -
52 - def test_sock_cancel_add_reader_race(self):
53 -- if self.is_asyncio_loop() and sys.version_info[:3] == (3, 8, 0):
54 -- # asyncio 3.8.0 seems to have a regression;
55 -- # tracked in https://bugs.python.org/issue30064
56 -- raise unittest.SkipTest()
57 -+ if self.is_asyncio_loop():
58 -+ if (3, 9) > sys.version_info[:3] >= (3, 8, 0):
59 -+ # asyncio 3.8.0 seems to have a regression;
60 -+ # tracked in https://bugs.python.org/issue30064
61 -+ raise unittest.SkipTest()
62 -
63 - srv_sock_conn = None
64 -
65 ---
66 -2.27.0
67 -
68
69 diff --git a/dev-python/uvloop/uvloop-0.14.0.ebuild b/dev-python/uvloop/uvloop-0.14.0.ebuild
70 deleted file mode 100644
71 index d3640c25ef1..00000000000
72 --- a/dev-python/uvloop/uvloop-0.14.0.ebuild
73 +++ /dev/null
74 @@ -1,63 +0,0 @@
75 -# Copyright 1999-2020 Gentoo Authors
76 -# Distributed under the terms of the GNU General Public License v2
77 -
78 -EAPI=7
79 -
80 -PYTHON_COMPAT=( python3_{7..8} )
81 -inherit distutils-r1
82 -
83 -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv"
84 -HOMEPAGE="https://github.com/magicstack/uvloop"
85 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
86 -
87 -KEYWORDS="amd64 x86"
88 -LICENSE="MIT"
89 -SLOT="0"
90 -IUSE="doc examples test"
91 -RESTRICT="!test? ( test )"
92 -
93 -RDEPEND=">=dev-libs/libuv-1.11.0:="
94 -DEPEND="
95 - ${RDEPEND}
96 - doc? (
97 - >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
98 - dev-python/sphinx[${PYTHON_USEDEP}]
99 - )
100 - test? (
101 - dev-python/pyopenssl[${PYTHON_USEDEP}]
102 - dev-python/psutil[${PYTHON_USEDEP}]
103 - )
104 -"
105 -
106 -PATCHES=(
107 - "${FILESDIR}"/${P}-asyncio-test-hang.patch
108 -)
109 -
110 -python_prepare_all() {
111 - cat <<EOF >> setup.cfg || die
112 -[build_ext]
113 -use-system-libuv=1
114 -EOF
115 -
116 - # flake8 only
117 - rm tests/test_sourcecode.py || die
118 -
119 - sed -i -e 's:test_write_to_closed_transport:_&:' \
120 - tests/test_tcp.py || die
121 -
122 - distutils-r1_python_prepare_all
123 -}
124 -
125 -python_compile_all() {
126 - use doc && esetup.py build_ext --inplace build_sphinx
127 -}
128 -
129 -python_test() {
130 - esetup.py test
131 -}
132 -
133 -python_install_all() {
134 - use examples && dodoc -r examples
135 - use doc && local HTML_DOCS=( "${BUILD_DIR}/sphinx/html/." )
136 - distutils-r1_python_install_all
137 -}
138
139 diff --git a/dev-python/uvloop/uvloop-0.15.0.ebuild b/dev-python/uvloop/uvloop-0.15.0.ebuild
140 deleted file mode 100644
141 index 1ce46b172f5..00000000000
142 --- a/dev-python/uvloop/uvloop-0.15.0.ebuild
143 +++ /dev/null
144 @@ -1,54 +0,0 @@
145 -# Copyright 1999-2021 Gentoo Authors
146 -# Distributed under the terms of the GNU General Public License v2
147 -
148 -EAPI=7
149 -
150 -PYTHON_COMPAT=( python3_{7..9} )
151 -inherit distutils-r1
152 -
153 -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv"
154 -HOMEPAGE="https://github.com/magicstack/uvloop"
155 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
156 -
157 -KEYWORDS="~amd64 ~x86"
158 -LICENSE="MIT"
159 -SLOT="0"
160 -IUSE="doc examples"
161 -
162 -RDEPEND=">=dev-libs/libuv-1.11.0:="
163 -DEPEND="${RDEPEND}"
164 -BDEPEND="
165 - doc? (
166 - >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
167 - dev-python/sphinx[${PYTHON_USEDEP}]
168 - )
169 - test? (
170 - dev-python/aiohttp[${PYTHON_USEDEP}]
171 - dev-python/pyopenssl[${PYTHON_USEDEP}]
172 - dev-python/psutil[${PYTHON_USEDEP}]
173 - )
174 -"
175 -
176 -distutils_enable_tests setup.py
177 -
178 -python_prepare_all() {
179 - cat <<EOF >> setup.cfg || die
180 -[build_ext]
181 -use-system-libuv=1
182 -EOF
183 -
184 - # flake8 only
185 - rm tests/test_sourcecode.py || die
186 -
187 - distutils-r1_python_prepare_all
188 -}
189 -
190 -python_compile_all() {
191 - use doc && esetup.py build_ext --inplace build_sphinx
192 -}
193 -
194 -python_install_all() {
195 - use examples && dodoc -r examples
196 - use doc && local HTML_DOCS=( "${BUILD_DIR}/sphinx/html/." )
197 - distutils-r1_python_install_all
198 -}
199
200 diff --git a/dev-python/uvloop/uvloop-0.15.1.ebuild b/dev-python/uvloop/uvloop-0.15.1.ebuild
201 deleted file mode 100644
202 index 1ce46b172f5..00000000000
203 --- a/dev-python/uvloop/uvloop-0.15.1.ebuild
204 +++ /dev/null
205 @@ -1,54 +0,0 @@
206 -# Copyright 1999-2021 Gentoo Authors
207 -# Distributed under the terms of the GNU General Public License v2
208 -
209 -EAPI=7
210 -
211 -PYTHON_COMPAT=( python3_{7..9} )
212 -inherit distutils-r1
213 -
214 -DESCRIPTION="Ultra-fast implementation of asyncio event loop on top of libuv"
215 -HOMEPAGE="https://github.com/magicstack/uvloop"
216 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
217 -
218 -KEYWORDS="~amd64 ~x86"
219 -LICENSE="MIT"
220 -SLOT="0"
221 -IUSE="doc examples"
222 -
223 -RDEPEND=">=dev-libs/libuv-1.11.0:="
224 -DEPEND="${RDEPEND}"
225 -BDEPEND="
226 - doc? (
227 - >=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
228 - dev-python/sphinx[${PYTHON_USEDEP}]
229 - )
230 - test? (
231 - dev-python/aiohttp[${PYTHON_USEDEP}]
232 - dev-python/pyopenssl[${PYTHON_USEDEP}]
233 - dev-python/psutil[${PYTHON_USEDEP}]
234 - )
235 -"
236 -
237 -distutils_enable_tests setup.py
238 -
239 -python_prepare_all() {
240 - cat <<EOF >> setup.cfg || die
241 -[build_ext]
242 -use-system-libuv=1
243 -EOF
244 -
245 - # flake8 only
246 - rm tests/test_sourcecode.py || die
247 -
248 - distutils-r1_python_prepare_all
249 -}
250 -
251 -python_compile_all() {
252 - use doc && esetup.py build_ext --inplace build_sphinx
253 -}
254 -
255 -python_install_all() {
256 - use examples && dodoc -r examples
257 - use doc && local HTML_DOCS=( "${BUILD_DIR}/sphinx/html/." )
258 - distutils-r1_python_install_all
259 -}