commit:     45a77e03625d48ab439c14cffc1b325e407521b6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 12 02:34:49 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 12 02:34:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a77e03

dev-python/python-engineio: Bump to 4.12.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-engineio/Manifest                |  1 +
 .../python-engineio/python-engineio-4.12.1.ebuild  | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-python/python-engineio/Manifest 
b/dev-python/python-engineio/Manifest
index 02343cc92769..bd4bcecb366e 100644
--- a/dev-python/python-engineio/Manifest
+++ b/dev-python/python-engineio/Manifest
@@ -1 +1,2 @@
 DIST python-engineio-4.12.0.gh.tar.gz 319601 BLAKE2B 
3da3382dd568f74ed5a0362b36641cd9cbe60fd0370e4e4172455251250ad6470662e1bfdb1903eb7b2dd934cbb895994e407ab8487a80a9dd2f629c87a55f89
 SHA512 
4d4996183b837b656566bc94f17f8bed7551a18d46985cb83aca44f040a1c9031ad48abac8f33ec63826cff506bb015826a4c080d3d42d47ee684d67948d0708
+DIST python-engineio-4.12.1.gh.tar.gz 319719 BLAKE2B 
830fbd7f707aa8929ecd0c945d4d642b0780d812fb5033c0a2e632389cfba6ce0b1f186efef6358187eaf5d0cdec849ceeed9811c5b151f5d071be8d8c48a1df
 SHA512 
025a85412c2fa706b3b660885f75b44d61dfdc9ad214346dd0fb7e739b7984488ba43140fc8836abf2b2339e5d9b5975bfc7ca26b8676522992a4bcb2c4439b6

diff --git a/dev-python/python-engineio/python-engineio-4.12.1.ebuild 
b/dev-python/python-engineio/python-engineio-4.12.1.ebuild
new file mode 100644
index 000000000000..6138803847e1
--- /dev/null
+++ b/dev-python/python-engineio/python-engineio-4.12.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+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/pytest-asyncio[${PYTHON_USEDEP}]
+               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 -p asyncio
+}

Reply via email to