1 |
commit: 1247a958c94d3a9fa638b23fb6971c23fe02e019 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 7 17:17:10 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 7 17:17:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1247a958 |
7 |
|
8 |
dev-python/eventlet: add 0.32.0 |
9 |
|
10 |
Upstream is working toward python 3.10 support, so still need to |
11 |
wait for it. |
12 |
|
13 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
14 |
|
15 |
dev-python/eventlet/Manifest | 1 + |
16 |
dev-python/eventlet/eventlet-0.32.0.ebuild | 52 ++++++++++++++++++++++++++++++ |
17 |
2 files changed, 53 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest |
20 |
index 67d2a481950..f721ffa090c 100644 |
21 |
--- a/dev-python/eventlet/Manifest |
22 |
+++ b/dev-python/eventlet/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST eventlet-0.31.1.tar.gz 412021 BLAKE2B 6358dca8e0a766f0cc2cef37586a8d38f5d87f03d8389a7cc11b3d2d616669825df2a416ae980eed8a980f8e81ce8b2848225921bb4536f5537a7954ed75fb64 SHA512 c240a332aaf8eeb4af429d1b190ae198b4bcb92ae1bc38ade3f824634327872526267c6ff02f7196e3f9dfd17d639af500c28a3ed70a773b1b050d6d967a88a5 |
25 |
+DIST eventlet-0.32.0.tar.gz 412769 BLAKE2B c0b35e1ea0e3353f326f24787f253ef666c34de5a2880c0d78e9541738c47f72787e6ccb3fb861a9f651da7e501443d220809a09d31dbd6e6d75aee509258dc8 SHA512 6a8ca80ef7318114e13690f8d2cd640f1be3c716f01644a7a84cd983ab90ab00ec0962cfc7e85f071e73a6da139bbdf8ad3918f15097e94dfc97db7056d13a9d |
26 |
|
27 |
diff --git a/dev-python/eventlet/eventlet-0.32.0.ebuild b/dev-python/eventlet/eventlet-0.32.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..5607ef1b884 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/eventlet/eventlet-0.32.0.ebuild |
32 |
@@ -0,0 +1,52 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..9} ) |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Highly concurrent networking library" |
42 |
+HOMEPAGE="https://pypi.org/project/eventlet/ https://github.com/eventlet/eventlet/" |
43 |
+SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~s390 sparc x86" |
48 |
+IUSE="examples" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] |
52 |
+ <dev-python/dnspython-2.0.0[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}] |
54 |
+ virtual/python-greenlet[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+BDEPEND=" |
57 |
+ test? ( |
58 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}/eventlet-0.25.1-tests.patch" |
64 |
+ "${FILESDIR}/eventlet-0.30.0-tests-socket.patch" |
65 |
+ "${FILESDIR}/eventlet-0.30.2-test-timeout.patch" |
66 |
+) |
67 |
+ |
68 |
+distutils_enable_tests nose |
69 |
+ |
70 |
+python_test() { |
71 |
+ unset PYTHONPATH |
72 |
+ export TMPDIR="${T}" |
73 |
+ nosetests -v -x || die |
74 |
+} |
75 |
+ |
76 |
+python_install_all() { |
77 |
+ if use examples; then |
78 |
+ docompress -x "/usr/share/doc/${PF}/examples" |
79 |
+ docinto examples |
80 |
+ dodoc -r examples/. |
81 |
+ fi |
82 |
+ |
83 |
+ distutils-r1_python_install_all |
84 |
+} |