1 |
commit: 66649372b9b553d293212861545b4656d9c45c98 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 15 23:20:29 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 15 23:20:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66649372 |
7 |
|
8 |
dev-python/eventlet: 0.26.1 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.2, Repoman-2.3.23 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
dev-python/eventlet/Manifest | 1 + |
14 |
dev-python/eventlet/eventlet-0.26.1.ebuild | 65 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 66 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest |
18 |
index 52d19056861..6e8f112415e 100644 |
19 |
--- a/dev-python/eventlet/Manifest |
20 |
+++ b/dev-python/eventlet/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST eventlet-0.25.1.tar.gz 392719 BLAKE2B 7dbc23e63e9dc8b8bb0b4a53fc07cb467661bd695b6c778b973bd690bd24f3dd0f867d7ed803e1a89ffd36e5597fd244ef2c616c663d3d9130033f5f5928e816 SHA512 936aac45e24b2797cc8b6cd6238d493ce5eb60a47096e13827b8be145bd8dd14503f5ae624485c87b163718a85733b2317688366ef5fdf347f7d367fbf4d521d |
23 |
+DIST eventlet-0.26.1.tar.gz 398200 BLAKE2B f14024d0825fb5530929766c63dceea7446057d9ad5dfb98ab013e96cab9b0eef5440f2d4d7ceeef17691c8a2a9055cac2b93fb23653a6facba4967c4e7cb0b3 SHA512 55b9b214130d0482ea005ea570a5aa3eafdf66e6d315a95c5ba60186a2d9a9df5c2638c86d886968954ce39e5ac2153e1f9e11631e6aef237078c3776af7d6c5 |
24 |
|
25 |
diff --git a/dev-python/eventlet/eventlet-0.26.1.ebuild b/dev-python/eventlet/eventlet-0.26.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..9b2eb99eebe |
28 |
--- /dev/null |
29 |
+++ b/dev-python/eventlet/eventlet-0.26.1.ebuild |
30 |
@@ -0,0 +1,65 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Highly concurrent networking library" |
40 |
+HOMEPAGE="https://pypi.org/project/eventlet/ https://github.com/eventlet/eventlet/" |
41 |
+SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
46 |
+IUSE="doc examples test" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] |
50 |
+ <dev-python/dnspython-2.0.0[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/greenlet-0.3[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/monotonic-1.4[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/six-1.10.0[${PYTHON_USEDEP}]" |
54 |
+DEPEND="doc? ( >=dev-python/python-docs-2.7.6-r1:2.7 ) |
55 |
+ test? ( ${RDEPEND} |
56 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
57 |
+ dev-python/nose[${PYTHON_USEDEP}] )" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}/eventlet-0.25.1-tests.patch" |
61 |
+) |
62 |
+ |
63 |
+distutils_enable_sphinx doc |
64 |
+distutils_enable_tests nose |
65 |
+ |
66 |
+python_prepare_all() { |
67 |
+ if use doc; then |
68 |
+ local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7) |
69 |
+ local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" |
70 |
+ local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" |
71 |
+ local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" |
72 |
+ sed -i "s|'https://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die |
73 |
+ fi |
74 |
+ |
75 |
+ if use test; then |
76 |
+# sed -i '/This is a Python 3 module/d' eventlet/green/http/__init__.py || die |
77 |
+# sed -i 's/^import/from OpenSSL import/g' eventlet/green/OpenSSL/__init__.py || die |
78 |
+# sed -i 's/^from version/from OpenSSL.version/' eventlet/green/OpenSSL/__init__.py || die |
79 |
+ sed -i 's/TEST_TIMEOUT = 1/TEST_TIMEOUT = 10/' tests/__init__.py || die |
80 |
+ fi |
81 |
+ |
82 |
+ # Prevent file collisions from teestsuite |
83 |
+ sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die |
84 |
+ |
85 |
+ distutils-r1_python_prepare_all |
86 |
+} |
87 |
+ |
88 |
+python_install_all() { |
89 |
+ if use examples; then |
90 |
+ docompress -x "/usr/share/doc/${PF}/examples" |
91 |
+ docinto examples |
92 |
+ dodoc -r examples/. |
93 |
+ fi |
94 |
+ distutils-r1_python_install_all |
95 |
+} |