mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-07 00:05:47 +03:00
dev-python/python-engineio: Bump to 4.12.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST python-engineio-4.11.2.gh.tar.gz 319497 BLAKE2B d3f97f34c6e8043b0079c1555a8b4acb12f068883a1d117b19e0875d445239cc3c24e884f9b63c82268e9a8c67f3bbac193acc417cdd441e6f9d07cc79b97ccf SHA512 05f7fad64c3ddb136bb9fe4762bc5125d1e72813bd8f28d0c567c016ab3db9ff3b99719eafa106b997ce90da71be5aafb2bd34460d5097a9f68cf4dc7db34ba7
|
||||
DIST python-engineio-4.12.0.gh.tar.gz 319601 BLAKE2B 3da3382dd568f74ed5a0362b36641cd9cbe60fd0370e4e4172455251250ad6470662e1bfdb1903eb7b2dd934cbb895994e407ab8487a80a9dd2f629c87a55f89 SHA512 4d4996183b837b656566bc94f17f8bed7551a18d46985cb83aca44f040a1c9031ad48abac8f33ec63826cff506bb015826a4c080d3d42d47ee684d67948d0708
|
||||
|
||||
60
dev-python/python-engineio/python-engineio-4.12.0.ebuild
Normal file
60
dev-python/python-engineio/python-engineio-4.12.0.ebuild
Normal 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_{10..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
|
||||
}
|
||||
Reference in New Issue
Block a user