diff options
Diffstat (limited to 'dev-python/python-engineio')
-rw-r--r-- | dev-python/python-engineio/python-engineio-4.3.4.ebuild | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/dev-python/python-engineio/python-engineio-4.3.4.ebuild b/dev-python/python-engineio/python-engineio-4.3.4.ebuild index 894a35d40699..d5597b754d92 100644 --- a/dev-python/python-engineio/python-engineio-4.3.4.ebuild +++ b/dev-python/python-engineio/python-engineio-4.3.4.ebuild @@ -28,13 +28,8 @@ RDEPEND=" dev-python/websocket-client[${PYTHON_USEDEP}] " # Can use eventlet, werkzeug, or gevent, but no tests for werkzeug -# eventlet doesn't yet support Python 3.10, so let's work around it BDEPEND=" test? ( - $(python_gen_cond_dep ' - dev-python/eventlet[${PYTHON_USEDEP}] - ' python3_{8,9} ) - dev-python/gevent[${PYTHON_USEDEP}] dev-python/tornado[${PYTHON_USEDEP}] dev-python/websockets[${PYTHON_USEDEP}] @@ -45,19 +40,15 @@ distutils_enable_tests pytest distutils_enable_sphinx docs \ dev-python/alabaster -python_test() { - if ! has_version "dev-python/eventlet[${PYTHON_USEDEP}]"; then - local EPYTEST_IGNORE=( - tests/common/test_async_eventlet.py - ) - - local EPYTEST_DESELECT=( - tests/common/test_server.py::TestServer::test_async_mode_eventlet - tests/common/test_server.py::TestServer::test_connect - tests/common/test_server.py::TestServer::test_service_task_started - tests/common/test_server.py::TestServer::test_upgrades - ) - fi - - epytest -} +EPYTEST_IGNORE=( + # eventlet is masked for removal + tests/common/test_async_eventlet.py +) + +EPYTEST_DESELECT=( + # also eventlet + tests/common/test_server.py::TestServer::test_async_mode_eventlet + tests/common/test_server.py::TestServer::test_connect + tests/common/test_server.py::TestServer::test_service_task_started + tests/common/test_server.py::TestServer::test_upgrades +) |