diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-12-29 05:14:45 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-12-29 05:14:45 +0100 |
commit | df04d7909280a510a45588f7cd2322b12a821172 (patch) | |
tree | f47f454059c75c16f9039162f6a419d8858ca075 /dev-python/python-engineio | |
parent | dev-python/python-engineio: Remove old (diff) | |
download | gentoo-df04d7909280a510a45588f7cd2322b12a821172.tar.gz gentoo-df04d7909280a510a45588f7cd2322b12a821172.tar.bz2 gentoo-df04d7909280a510a45588f7cd2322b12a821172.zip |
dev-python/python-engineio: Bump to 4.8.1
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.8.1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/python-engineio/Manifest b/dev-python/python-engineio/Manifest index efebcdddfe0a..af2fdaa83b31 100644 --- a/dev-python/python-engineio/Manifest +++ b/dev-python/python-engineio/Manifest @@ -1 +1,2 @@ DIST python-engineio-4.8.0.gh.tar.gz 313056 BLAKE2B 508c7303ee1020db27f7d8a26148b1748b9685f1d8fadb6abbe110e9b4acb85d6510c6bbc074ae0582efeab7c5b8e294eeed7115d34784bddd55f0b4bd20318f SHA512 351d982bf729a9747215d5845d9b547ecc5dd031cb3c32cd98d75b42374455e625ba0a8f7edf0db63354f7d905eedeb749145a851f8744571f0f2ab9d1142b47 +DIST python-engineio-4.8.1.gh.tar.gz 313165 BLAKE2B 3d3b87b7fba18d2315c2ef20c404a49ada7b4ac3ade33c11ef7ecaa3271000d4d6fdef3b92e65f39e4eed28425efb7d264b9b63e6262722ad0bb998924f05af4 SHA512 071fea8ffc2bc08322bf16953a8aba956af9fef583168c04d47c893fe99424709b66cf2dd780b00faf6c973eb40a96eb42d62bb15417057ec3f248ea091533d0 diff --git a/dev-python/python-engineio/python-engineio-4.8.1.ebuild b/dev-python/python-engineio/python-engineio-4.8.1.ebuild new file mode 100644 index 000000000000..9b215468b329 --- /dev/null +++ b/dev-python/python-engineio/python-engineio-4.8.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 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 +} |