dev-python/python-engineio: Bump to 4.12.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-05 05:09:12 +02:00
parent 33cfcc9040
commit dc99ea577e
2 changed files with 61 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
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
DIST python-engineio-4.12.2.gh.tar.gz 319974 BLAKE2B c60dbd3d91fb9772ad11e676a304e337aaab55b36b1ac6fd3329d23cb7a7ed4d79a5d5a1a51de5ed7dfd0850d907ae234916e09051233ac01b68284f3eec42c8 SHA512 9a1740ec4b481aabe34b0b18eec03d03960d857ba0be5f7e00648fece7ca876294f6fd0c0df4627ca85474c9f100a2b79ac6ca8fd39dadfc43d3c5a0b8688188

View File

@@ -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
}