diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-24 13:10:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-24 13:10:40 +0000 |
commit | c92d0cd2b34d17bce6d5bb4e3a4fc00af4193c99 (patch) | |
tree | 517559f918260cf91e7bdd4e484aa6fe9085cb9f /dev-python/eventlet | |
parent | a59ffccce3bf214fae9932cc42400eeeaec25c6c (diff) |
gentoo auto-resync : 24:11:2022 - 13:10:39
Diffstat (limited to 'dev-python/eventlet')
-rw-r--r-- | dev-python/eventlet/Manifest | 6 | ||||
-rw-r--r-- | dev-python/eventlet/eventlet-0.33.1.ebuild | 63 | ||||
-rw-r--r-- | dev-python/eventlet/files/eventlet-0.25.1-tests.patch | 40 | ||||
-rw-r--r-- | dev-python/eventlet/files/eventlet-0.30.0-tests-socket.patch | 13 | ||||
-rw-r--r-- | dev-python/eventlet/files/eventlet-0.30.2-test-timeout.patch | 39 | ||||
-rw-r--r-- | dev-python/eventlet/metadata.xml | 12 |
6 files changed, 0 insertions, 173 deletions
diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest deleted file mode 100644 index b90a0a34faa2..000000000000 --- a/dev-python/eventlet/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX eventlet-0.25.1-tests.patch 1428 BLAKE2B be4b0e0104473e8434075175a85cb658e7257eea6bb554f92160d308649aa7faee6f4db7d2aa8a3df54e22bf6689d649dec6b74d523425a27bc1a77233b5976e SHA512 a7a413cce99def526ed63b79d1f73d270db9332ac88ff83a830fdc4106ffa20f2e14dfbf8d0dbdd071d39c4d2f161250bd8e7c0681f187fa0736d8184cccd872 -AUX eventlet-0.30.0-tests-socket.patch 607 BLAKE2B 3da02ca5cbc16ef2a8ecbd6fc9f817404cd2ad6cd6378e0faaaac7c9721e0ac03d3becee1962f44df3edfe0c30c55d7eb92c66b4a01bc94468d4f1791e40eecc SHA512 3a4f6985c3880a85578591ccbdcc0e76f5dce7c4c8897489d2f2976faf3e73e7ab1d755c91ddfa4cf28b1019e730580ba45184179c0ceef6eee859a2bf6ae28e -AUX eventlet-0.30.2-test-timeout.patch 1421 BLAKE2B 11730b1a5827d1b30537eaecb896d981b19875fdcbf874625057a838b5a48638bec45adecfb9445f68111d00075e81a13780f87f09a11ae332fd6f48748b7db9 SHA512 fa338488912b87bf4ae802ccfc0fcc6e1506ea3d47f82f86da1fced0d3928410a3d62588a9d14b39b6846b4b9539c37d9b678f575680432cbafd3dc3e07f9f82 -DIST eventlet-0.33.1.tar.gz 415294 BLAKE2B 25efb9b9848a6e0db2040d111288447aa07ceb70d2cbd9b3d189a2ca58aadad6b6d64054f76f3329ff7ca832efccbabb780c839c4db6d95a5b623d80079b7da3 SHA512 c8ece6a26039631b13ecc188f480f348a42551267fb6135551899dec7a23d0cfd032c14728e114901e4d256bf580203bfbdb1795881abdd71e49a53f8ed58964 -EBUILD eventlet-0.33.1.ebuild 1321 BLAKE2B 009e00356dbe8ed24857151ee62ecc49784b3d2f5efa08c9542ebc39255d839a877c7ade74c3ce28c8609d6993fbafb727c2eda8217c651fb82498aebdc0c39a SHA512 591453b07c132da66473cffb9753252c23b8b734454520bf5653e56cd4cac334a561077f8283a207fd820f820e41caf95f6120917f235303920d93f2b29143e3 -MISC metadata.xml 381 BLAKE2B 13525cba2b71b496ca49573beacbd552a86320d40200747ce991163060aef7746dd568eaf572f19e990eb22ad3791f20a546264109c3a47687b03bbcf25a5115 SHA512 f7be09d2e34f1259e1e9ae685cb591e061452974789b0027878d7514e956a216068dcd139f4e3f57ed50530d828941caec12598e9f8d79e98e820c9683c71c05 diff --git a/dev-python/eventlet/eventlet-0.33.1.ebuild b/dev-python/eventlet/eventlet-0.33.1.ebuild deleted file mode 100644 index 3dc52c7dc551..000000000000 --- a/dev-python/eventlet/eventlet-0.33.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..9} ) - -inherit distutils-r1 - -DESCRIPTION="Highly concurrent networking library" -HOMEPAGE=" - https://pypi.org/project/eventlet/ - https://github.com/eventlet/eventlet/ -" -SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="examples" - -RDEPEND=" - >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] - >=dev-python/six-1.10.0[${PYTHON_USEDEP}] - virtual/python-greenlet[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pyopenssl[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/eventlet-0.25.1-tests.patch" - "${FILESDIR}/eventlet-0.30.0-tests-socket.patch" - "${FILESDIR}/eventlet-0.30.2-test-timeout.patch" -) - -distutils_enable_tests nose - -src_prepare() { - # increase timeout - #791748 - sed -e '/eventlet.sleep/s/0.1/5.0/' -i tests/isolated/patcher_fork_after_monkey_patch.py || die - - distutils-r1_src_prepare -} - -python_test() { - unset PYTHONPATH - export TMPDIR="${T}" - nosetests -v -x || die -} - -python_install_all() { - if use examples; then - docompress -x "/usr/share/doc/${PF}/examples" - docinto examples - dodoc -r examples/. - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/eventlet/files/eventlet-0.25.1-tests.patch b/dev-python/eventlet/files/eventlet-0.25.1-tests.patch deleted file mode 100644 index 423f8ef8e408..000000000000 --- a/dev-python/eventlet/files/eventlet-0.25.1-tests.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/tests/ssl_test.py b/tests/ssl_test.py -index d8b7d7e..5a3580b 100644 ---- a/tests/ssl_test.py -+++ b/tests/ssl_test.py -@@ -180,7 +180,6 @@ class SSLTest(tests.LimitedTestCase): - self.assertEqual(client.recv(8), b'response') - stage_1.send() - -- tests.check_idle_cpu_usage(0.2, 0.1) - server_coro.kill() - - def test_greensslobject(self): -diff --git a/tests/zmq_test.py b/tests/zmq_test.py -index 601878f..c643e48 100644 ---- a/tests/zmq_test.py -+++ b/tests/zmq_test.py -@@ -432,6 +432,8 @@ class TestUpstreamDownStream(tests.LimitedTestCase): - events = sock2.getsockopt(zmq.EVENTS) - self.assertEqual(events & zmq.POLLIN, zmq.POLLIN) - -+ # this will often fail on portage... -+ @tests.skip_if(True) - @tests.skip_unless(zmq_supported) - def test_cpu_usage_after_bind(self): - """zmq eats CPU after PUB socket .bind() -@@ -461,14 +463,12 @@ class TestUpstreamDownStream(tests.LimitedTestCase): - sub.setsockopt(zmq.SUBSCRIBE, b"") - eventlet.sleep() - pub.send(b'test_send') -- tests.check_idle_cpu_usage(0.2, 0.1) - - sender, receiver, _port = self.create_bound_pair(zmq.DEALER, zmq.DEALER) - eventlet.sleep() - sender.send(b'test_recv') - msg = receiver.recv() - self.assertEqual(msg, b'test_recv') -- tests.check_idle_cpu_usage(0.2, 0.1) - - - class TestQueueLock(tests.LimitedTestCase): diff --git a/dev-python/eventlet/files/eventlet-0.30.0-tests-socket.patch b/dev-python/eventlet/files/eventlet-0.30.0-tests-socket.patch deleted file mode 100644 index 4dd309c68a38..000000000000 --- a/dev-python/eventlet/files/eventlet-0.30.0-tests-socket.patch +++ /dev/null @@ -1,13 +0,0 @@ -Let's use TMPDIR as the base for this test's unix socket to help it pass. -We set TMPDIR in the ebuild to ${T}. ---- a/tests/backdoor_test.py -+++ b/tests/backdoor_test.py -@@ -47,7 +47,7 @@ class BackdoorTest(tests.LimitedTestCase): - self._run_test_on_client_and_server(client, serv) - - def test_server_on_unix_socket(self): -- SOCKET_PATH = '/tmp/eventlet_backdoor_test.socket' -+ SOCKET_PATH = os.getenv('TMPDIR', '/tmp') + '/eventlet_backdoor_test.socket' - if os.path.exists(SOCKET_PATH): - os.unlink(SOCKET_PATH) - listener = socket.socket(socket.AF_UNIX) diff --git a/dev-python/eventlet/files/eventlet-0.30.2-test-timeout.patch b/dev-python/eventlet/files/eventlet-0.30.2-test-timeout.patch deleted file mode 100644 index d31b3738bc16..000000000000 --- a/dev-python/eventlet/files/eventlet-0.30.2-test-timeout.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 0b8fd069386354d2d7e5464ce0b0d5b7d1795376 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 11 Apr 2021 12:20:09 +0200 -Subject: [PATCH] Force test timeouts to 60 s - -The upstream test timeouts are far too low for a busy system, and there -is no point in pursuing such low values anyway. Force 60 s that should -be reasonably safe for our test runs. ---- - tests/__init__.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/tests/__init__.py b/tests/__init__.py -index 82cd247..3a943c4 100644 ---- a/tests/__init__.py -+++ b/tests/__init__.py -@@ -170,8 +170,8 @@ class LimitedTestCase(unittest.TestCase): - - def setUp(self): - self.previous_alarm = None -- self.timer = eventlet.Timeout(self.TEST_TIMEOUT, -- TestIsTakingTooLong(self.TEST_TIMEOUT)) -+ self.timer = eventlet.Timeout(60, -+ TestIsTakingTooLong(60)) - - def reset_timeout(self, new_timeout): - """Changes the timeout duration; only has effect during one test. -@@ -350,7 +350,7 @@ def run_python(path, env=None, args=None, timeout=None, pythonpath_extend=None, - stdout=subprocess.PIPE, - ) - if timeout is None: -- timeout = 10 -+ timeout = 60 - try: - output, _ = p.communicate(timeout=timeout) - except subprocess.TimeoutExpired: --- -2.31.1 - diff --git a/dev-python/eventlet/metadata.xml b/dev-python/eventlet/metadata.xml deleted file mode 100644 index 411e9d7f41d0..000000000000 --- a/dev-python/eventlet/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="pypi">eventlet</remote-id> - <remote-id type="github">eventlet/eventlet</remote-id> - </upstream> -</pkgmetadata> |