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/gevent/
Date: Fri, 26 Feb 2021 14:35:24
Message-Id: 1614349613.c30de31026df52c5a6964ace353de98c99d5db23.mgorny@gentoo
1 commit: c30de31026df52c5a6964ace353de98c99d5db23
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 26 14:01:18 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 26 14:26:53 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c30de310
7
8 dev-python/gevent: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/gevent/Manifest | 3 --
13 dev-python/gevent/gevent-20.12.0.ebuild | 86 ---------------------------------
14 dev-python/gevent/gevent-20.12.1.ebuild | 86 ---------------------------------
15 dev-python/gevent/gevent-20.9.0.ebuild | 86 ---------------------------------
16 4 files changed, 261 deletions(-)
17
18 diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest
19 index a9697a5e7fa..cbc3cd64ece 100644
20 --- a/dev-python/gevent/Manifest
21 +++ b/dev-python/gevent/Manifest
22 @@ -1,4 +1 @@
23 -DIST gevent-20.12.0.tar.gz 5898634 BLAKE2B a73129c7d393aedcd84b6e62c890c3b306722876a1ea4c96485096ce2ea7d1db5f03c77ea77a2c35ef41c7a96183246316c577735bcf4b25fb41095282c64d38 SHA512 76c75128ba2b33e47bd85ef2788387aa6d47d230ef9aeac4bceee03e8a2555dd204c321de7d1779fe4f44503e4fca5dce3b43c1922238da994faed0d78e5c4c1
24 -DIST gevent-20.12.1.tar.gz 5908977 BLAKE2B fd3536de1ca518e889868537cfb856d022ec2be8f5f658cddb06b9797841333a475d2c4d7eb3f97ecd715a19999804e724f8126b189087582452a88076bf5d12 SHA512 63bf8d63ed0eeed63b5ae6b58a2a0a36bb4a606d7d76f51cb59d5b76aa639296264a01455699cfb6abee53c958368c17f4c6bfca1543d04f9d750637b113046b
25 -DIST gevent-20.9.0.tar.gz 5806581 BLAKE2B 6b1b653fa6e22539e049a9bba3d3a2b9d798a5555ce4ba60ce33ecbdf14bb5201967d22d677e1ce3170129b0763fddfcc5991347186fb102d10ae39e22538c44 SHA512 966efc945b623df2521fffadca3b7e56cae1efe6de904a724765e0593389e8b1305094baa6fbc9f4fa376b1157d0f230b01e2a90de21e4b9650614363edec9f4
26 DIST gevent-21.1.2.tar.gz 5943652 BLAKE2B ef85e9941a8e46370437a34728c012f9d8976b5680b22bf9b13ab35d7417019ac0e85fac5cfc8632972e38a2f70028a00ba3fe9f8be11aa2ff64e364052da594 SHA512 1ee2b748a97fa40f67ad2c3b83c6b9f48dbfaae9f2b4f1c118919cfd642c1ca27de0e33a00d950f003f90131354b56a4868ce3051864dbe2ea9b7f22eeafc1eb
27
28 diff --git a/dev-python/gevent/gevent-20.12.0.ebuild b/dev-python/gevent/gevent-20.12.0.ebuild
29 deleted file mode 100644
30 index abdfa4f3151..00000000000
31 --- a/dev-python/gevent/gevent-20.12.0.ebuild
32 +++ /dev/null
33 @@ -1,86 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -DISTUTILS_USE_SETUPTOOLS=rdepend
40 -PYTHON_COMPAT=( python3_{7,8,9} )
41 -PYTHON_REQ_USE="ssl(+),threads(+)"
42 -
43 -inherit distutils-r1 flag-o-matic
44 -
45 -DESCRIPTION="Coroutine-based network library"
46 -HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent/"
47 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 -
49 -LICENSE="MIT"
50 -SLOT="0"
51 -KEYWORDS="~alpha amd64 ~arm arm64 ~mips ~ppc ppc64 s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
52 -IUSE="doc examples test"
53 -RESTRICT="!test? ( test )"
54 -
55 -RDEPEND="
56 - >=dev-libs/libev-4.31:=
57 - dev-libs/libuv:=
58 - >=net-dns/c-ares-1.12:=
59 - >=dev-python/greenlet-0.4.17
60 - dev-python/zope-event[${PYTHON_USEDEP}]
61 - dev-python/zope-interface[${PYTHON_USEDEP}]
62 - virtual/python-greenlet[${PYTHON_USEDEP}]"
63 -DEPEND="${RDEPEND}
64 - test? (
65 - dev-python/psutil[${PYTHON_USEDEP}]
66 - dev-python/requests[${PYTHON_USEDEP}]
67 - )"
68 -
69 -distutils_enable_sphinx doc
70 -
71 -# Tests take long and fail terribly a few times.
72 -# It also seems that they require network access.
73 -#RESTRICT="test"
74 -
75 -python_prepare_all() {
76 - export LIBEV_EMBED="false"
77 - export CARES_EMBED="false"
78 - export EMBED="false"
79 -
80 - distutils-r1_python_prepare_all
81 -}
82 -
83 -python_configure_all() {
84 - append-flags -fno-strict-aliasing
85 -}
86 -
87 -python_test() {
88 - cd src/gevent/tests || die
89 - # TODO: figure out how to make them work and not hang
90 -# GEVENT_RESOLVER=ares \
91 -# "${EPYTHON}" -m gevent.tests \
92 -# -uall,-network \
93 -# --config known_failures.py \
94 -# --ignore tests_that_dont_use_resolver.txt || die
95 -# GEVENT_RESOLVER=dnspython \
96 -# "${EPYTHON}" -m gevent.tests \
97 -# -uall,-network \
98 -# --config known_failures.py \
99 -# --ignore tests_that_dont_use_resolver.txt || die
100 -# GEVENT_RESOLVER=thread \
101 -# "${EPYTHON}" -m gevent.tests \
102 -# --verbose \
103 -# -uall,-network \
104 -# --config known_failures.py \
105 -# --ignore tests_that_dont_use_resolver.txt || die
106 - GEVENT_FILE=thread \
107 - "${EPYTHON}" -m gevent.tests \
108 - --verbose \
109 - -uall,-network \
110 - --config known_failures.py \
111 - test__*subprocess*.py || die
112 -}
113 -
114 -python_install_all() {
115 - local DOCS=( AUTHORS README.rst )
116 - use examples && dodoc -r examples
117 -
118 - distutils-r1_python_install_all
119 -}
120
121 diff --git a/dev-python/gevent/gevent-20.12.1.ebuild b/dev-python/gevent/gevent-20.12.1.ebuild
122 deleted file mode 100644
123 index 43a7f0126fa..00000000000
124 --- a/dev-python/gevent/gevent-20.12.1.ebuild
125 +++ /dev/null
126 @@ -1,86 +0,0 @@
127 -# Copyright 1999-2020 Gentoo Authors
128 -# Distributed under the terms of the GNU General Public License v2
129 -
130 -EAPI=7
131 -
132 -DISTUTILS_USE_SETUPTOOLS=rdepend
133 -PYTHON_COMPAT=( python3_{7,8,9} )
134 -PYTHON_REQ_USE="ssl(+),threads(+)"
135 -
136 -inherit distutils-r1 flag-o-matic
137 -
138 -DESCRIPTION="Coroutine-based network library"
139 -HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent/"
140 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
141 -
142 -LICENSE="MIT"
143 -SLOT="0"
144 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
145 -IUSE="doc examples test"
146 -RESTRICT="!test? ( test )"
147 -
148 -RDEPEND="
149 - >=dev-libs/libev-4.31:=
150 - dev-libs/libuv:=
151 - >=net-dns/c-ares-1.12:=
152 - >=dev-python/greenlet-0.4.17
153 - dev-python/zope-event[${PYTHON_USEDEP}]
154 - dev-python/zope-interface[${PYTHON_USEDEP}]
155 - virtual/python-greenlet[${PYTHON_USEDEP}]"
156 -DEPEND="${RDEPEND}
157 - test? (
158 - dev-python/psutil[${PYTHON_USEDEP}]
159 - dev-python/requests[${PYTHON_USEDEP}]
160 - )"
161 -
162 -distutils_enable_sphinx doc
163 -
164 -# Tests take long and fail terribly a few times.
165 -# It also seems that they require network access.
166 -#RESTRICT="test"
167 -
168 -python_prepare_all() {
169 - export LIBEV_EMBED="false"
170 - export CARES_EMBED="false"
171 - export EMBED="false"
172 -
173 - distutils-r1_python_prepare_all
174 -}
175 -
176 -python_configure_all() {
177 - append-flags -fno-strict-aliasing
178 -}
179 -
180 -python_test() {
181 - cd src/gevent/tests || die
182 - # TODO: figure out how to make them work and not hang
183 -# GEVENT_RESOLVER=ares \
184 -# "${EPYTHON}" -m gevent.tests \
185 -# -uall,-network \
186 -# --config known_failures.py \
187 -# --ignore tests_that_dont_use_resolver.txt || die
188 -# GEVENT_RESOLVER=dnspython \
189 -# "${EPYTHON}" -m gevent.tests \
190 -# -uall,-network \
191 -# --config known_failures.py \
192 -# --ignore tests_that_dont_use_resolver.txt || die
193 -# GEVENT_RESOLVER=thread \
194 -# "${EPYTHON}" -m gevent.tests \
195 -# --verbose \
196 -# -uall,-network \
197 -# --config known_failures.py \
198 -# --ignore tests_that_dont_use_resolver.txt || die
199 - GEVENT_FILE=thread \
200 - "${EPYTHON}" -m gevent.tests \
201 - --verbose \
202 - -uall,-network \
203 - --config known_failures.py \
204 - test__*subprocess*.py || die
205 -}
206 -
207 -python_install_all() {
208 - local DOCS=( AUTHORS README.rst )
209 - use examples && dodoc -r examples
210 -
211 - distutils-r1_python_install_all
212 -}
213
214 diff --git a/dev-python/gevent/gevent-20.9.0.ebuild b/dev-python/gevent/gevent-20.9.0.ebuild
215 deleted file mode 100644
216 index 61a02d60251..00000000000
217 --- a/dev-python/gevent/gevent-20.9.0.ebuild
218 +++ /dev/null
219 @@ -1,86 +0,0 @@
220 -# Copyright 1999-2020 Gentoo Authors
221 -# Distributed under the terms of the GNU General Public License v2
222 -
223 -EAPI=7
224 -
225 -DISTUTILS_USE_SETUPTOOLS=rdepend
226 -PYTHON_COMPAT=( python3_{7,8,9} )
227 -PYTHON_REQ_USE="ssl(+),threads(+)"
228 -
229 -inherit distutils-r1 flag-o-matic
230 -
231 -DESCRIPTION="Coroutine-based network library"
232 -HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent/"
233 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
234 -
235 -LICENSE="MIT"
236 -SLOT="0"
237 -KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
238 -IUSE="doc examples test"
239 -RESTRICT="!test? ( test )"
240 -
241 -RDEPEND="
242 - >=dev-libs/libev-4.31:=
243 - dev-libs/libuv:=
244 - >=net-dns/c-ares-1.12:=
245 - >=dev-python/greenlet-0.4.17
246 - dev-python/zope-event[${PYTHON_USEDEP}]
247 - dev-python/zope-interface[${PYTHON_USEDEP}]
248 - virtual/python-greenlet[${PYTHON_USEDEP}]"
249 -DEPEND="${RDEPEND}
250 - test? (
251 - dev-python/psutil[${PYTHON_USEDEP}]
252 - dev-python/requests[${PYTHON_USEDEP}]
253 - )"
254 -
255 -distutils_enable_sphinx doc
256 -
257 -# Tests take long and fail terribly a few times.
258 -# It also seems that they require network access.
259 -#RESTRICT="test"
260 -
261 -python_prepare_all() {
262 - export LIBEV_EMBED="false"
263 - export CARES_EMBED="false"
264 - export EMBED="false"
265 -
266 - distutils-r1_python_prepare_all
267 -}
268 -
269 -python_configure_all() {
270 - append-flags -fno-strict-aliasing
271 -}
272 -
273 -python_test() {
274 - cd src/gevent/tests || die
275 - # TODO: figure out how to make them work and not hang
276 -# GEVENT_RESOLVER=ares \
277 -# "${EPYTHON}" -m gevent.tests \
278 -# -uall,-network \
279 -# --config known_failures.py \
280 -# --ignore tests_that_dont_use_resolver.txt || die
281 -# GEVENT_RESOLVER=dnspython \
282 -# "${EPYTHON}" -m gevent.tests \
283 -# -uall,-network \
284 -# --config known_failures.py \
285 -# --ignore tests_that_dont_use_resolver.txt || die
286 -# GEVENT_RESOLVER=thread \
287 -# "${EPYTHON}" -m gevent.tests \
288 -# --verbose \
289 -# -uall,-network \
290 -# --config known_failures.py \
291 -# --ignore tests_that_dont_use_resolver.txt || die
292 - GEVENT_FILE=thread \
293 - "${EPYTHON}" -m gevent.tests \
294 - --verbose \
295 - -uall,-network \
296 - --config known_failures.py \
297 - test__*subprocess*.py || die
298 -}
299 -
300 -python_install_all() {
301 - local DOCS=( AUTHORS README.rst )
302 - use examples && dodoc -r examples
303 -
304 - distutils-r1_python_install_all
305 -}