diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-02-06 03:55:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-02-06 04:07:39 +0100 |
commit | 73ef19f75ec9a7728729b1817641d1174752d035 (patch) | |
tree | 601e9b70f30f3d292b00c53508029c230c89f4ce /dev-python/python-engineio | |
parent | dev-python/peewee: Bump to 3.17.1 (diff) | |
download | gentoo-73ef19f75ec9a7728729b1817641d1174752d035.tar.gz gentoo-73ef19f75ec9a7728729b1817641d1174752d035.tar.bz2 gentoo-73ef19f75ec9a7728729b1817641d1174752d035.zip |
dev-python/python-engineio: Bump to 4.9.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-engineio')
-rw-r--r-- | dev-python/python-engineio/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-engineio/python-engineio-4.9.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/python-engineio/Manifest b/dev-python/python-engineio/Manifest index d468cdfd18f6..4655af63e53b 100644 --- a/dev-python/python-engineio/Manifest +++ b/dev-python/python-engineio/Manifest @@ -1,2 +1,3 @@ DIST python-engineio-4.8.1.gh.tar.gz 313165 BLAKE2B 3d3b87b7fba18d2315c2ef20c404a49ada7b4ac3ade33c11ef7ecaa3271000d4d6fdef3b92e65f39e4eed28425efb7d264b9b63e6262722ad0bb998924f05af4 SHA512 071fea8ffc2bc08322bf16953a8aba956af9fef583168c04d47c893fe99424709b66cf2dd780b00faf6c973eb40a96eb42d62bb15417057ec3f248ea091533d0 DIST python-engineio-4.8.2.gh.tar.gz 313823 BLAKE2B a985466a661c1ad1995999c1792758bc6a412097911f64cbb8a38af362b19f5a2abd7aa0fb1e6806310f766db0fc4486ae2793ad4fc8804fe580540daff73a3a SHA512 ad61794f4ebabdaca86e049f378818506f6d2dc0bc52a4a7687185c2ef11788652d55e397a7e45f666f8c4233e46be5b16b7fda38440e96d0a66116e9327c172 +DIST python-engineio-4.9.0.gh.tar.gz 314185 BLAKE2B e14bb11f5762c42a77d782b0e1ce20c30f0f5599ba0c4577699d53f085464ce588660805d1b8c18a147b3bf01a2e255980f21e36003127e17351c28bd42f433e SHA512 24838cb71ca3beda6a28deaa37208fae0e673bb0a00696594aa638af95e49af479b0088809f093ace9b2a8f5f7a4dcc95bbd2aa5c97938137b6e594ac1a7950d diff --git a/dev-python/python-engineio/python-engineio-4.9.0.ebuild b/dev-python/python-engineio/python-engineio-4.9.0.ebuild new file mode 100644 index 000000000000..bc862843428a --- /dev/null +++ b/dev-python/python-engineio/python-engineio-4.9.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Python implementation of the Engine.IO realtime server" +HOMEPAGE=" + https://python-engineio.readthedocs.io/ + https://github.com/miguelgrinberg/python-engineio/ + https://pypi.org/project/python-engineio/" +SRC_URI=" + https://github.com/miguelgrinberg/python-engineio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/simple-websocket-0.10.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +# Can use eventlet, werkzeug, or gevent, but no tests for werkzeug +BDEPEND=" + test? ( + dev-python/tornado[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/alabaster + +python_test() { + local EPYTEST_IGNORE=( + # eventlet is masked for removal + tests/common/test_async_eventlet.py + ) + + local 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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |