Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gevent/
Date: Fri, 24 Dec 2021 19:52:47
Message-Id: 1640375404.3bf9cc5eec44eda02a4be806cb7e4debfe25a261.arthurzam@gentoo
1 commit: 3bf9cc5eec44eda02a4be806cb7e4debfe25a261
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 24 19:49:35 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 19:50:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bf9cc5e
7
8 dev-python/gevent: drop 21.1.2
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/gevent/Manifest | 1 -
13 dev-python/gevent/gevent-21.1.2.ebuild | 89 ----------------------------------
14 dev-python/gevent/metadata.xml | 3 --
15 3 files changed, 93 deletions(-)
16
17 diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest
18 index c55adeb83200..0d019073722c 100644
19 --- a/dev-python/gevent/Manifest
20 +++ b/dev-python/gevent/Manifest
21 @@ -1,2 +1 @@
22 -DIST gevent-21.1.2.tar.gz 5943652 BLAKE2B ef85e9941a8e46370437a34728c012f9d8976b5680b22bf9b13ab35d7417019ac0e85fac5cfc8632972e38a2f70028a00ba3fe9f8be11aa2ff64e364052da594 SHA512 1ee2b748a97fa40f67ad2c3b83c6b9f48dbfaae9f2b4f1c118919cfd642c1ca27de0e33a00d950f003f90131354b56a4868ce3051864dbe2ea9b7f22eeafc1eb
23 DIST gevent-21.8.0.tar.gz 6162938 BLAKE2B f24770cdbf229d4a4ebe7e6c102c43ab0c89a52389ada40c8abaf032eada323333ca9ac965c65d335d96d69c97cdc239e193dd5a38076c81a2f3c80daa13b339 SHA512 dae95f986530e79b07a0006f6fb4cbd3911ac0bf2e58c4896ee5fa6d2e2a9ed5785c346958ee23cd57c2dcafb0a34c585b1f6375a29fd653e061a382482fc9fb
24
25 diff --git a/dev-python/gevent/gevent-21.1.2.ebuild b/dev-python/gevent/gevent-21.1.2.ebuild
26 deleted file mode 100644
27 index 1568ccd6675d..000000000000
28 --- a/dev-python/gevent/gevent-21.1.2.ebuild
29 +++ /dev/null
30 @@ -1,89 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -DISTUTILS_USE_SETUPTOOLS=rdepend
37 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
38 -PYTHON_REQ_USE="ssl(+),threads(+)"
39 -
40 -inherit distutils-r1 flag-o-matic
41 -
42 -DESCRIPTION="Coroutine-based network library"
43 -HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent/"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="MIT"
47 -SLOT="0"
48 -KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
49 -IUSE="doc events examples test"
50 -RESTRICT="!test? ( test )"
51 -
52 -RDEPEND="
53 - >=dev-libs/libev-4.31:=
54 - dev-libs/libuv:=
55 - >=net-dns/c-ares-1.12:=
56 - virtual/python-greenlet[${PYTHON_USEDEP}]
57 - events? (
58 - dev-python/zope-event[${PYTHON_USEDEP}]
59 - dev-python/zope-interface[${PYTHON_USEDEP}]
60 - )"
61 -DEPEND="${RDEPEND}
62 - test? (
63 - dev-python/psutil[${PYTHON_USEDEP}]
64 - dev-python/requests[${PYTHON_USEDEP}]
65 - dev-python/zope-event[${PYTHON_USEDEP}]
66 - dev-python/zope-interface[${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/metadata.xml b/dev-python/gevent/metadata.xml
122 index bc00ad0fd025..92f238969d44 100644
123 --- a/dev-python/gevent/metadata.xml
124 +++ b/dev-python/gevent/metadata.xml
125 @@ -5,9 +5,6 @@
126 <email>python@g.o</email>
127 <name>Python</name>
128 </maintainer>
129 - <use>
130 - <flag name="events">Enables the gevent events system which is required by libraries that use gevent monkey patching. This adds <pkg>dev-python/zope-event</pkg> and <pkg>dev-python/zope-interface</pkg> as runtime dependencies.</flag>
131 - </use>
132 <upstream>
133 <remote-id type="github">gevent/gevent</remote-id>
134 <remote-id type="pypi">gevent</remote-id>