2026-10-31 12:02:29 +01:00
|
|
|
# Copyright 1999-2026 Gentoo Authors
|
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2026-11-02 13:52:08 +01:00
|
|
|
PYTHON_COMPAT=( python3_{13..15} )
|
2026-10-31 12:02:29 +01:00
|
|
|
inherit distutils-r1 pypi
|
|
|
|
|
|
|
|
|
|
DESCRIPTION="Python implementation of the Socket.IO realtime server"
|
|
|
|
|
HOMEPAGE="
|
|
|
|
|
https://python-socketio.readthedocs.org/
|
|
|
|
|
https://github.com/miguelgrinberg/python-socketio/
|
|
|
|
|
https://pypi.org/project/python-socketio
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
|
|
IUSE="client asyncio-client"
|
|
|
|
|
|
2026-10-31 18:30:03 +01:00
|
|
|
RDEPEND=">=dev-python/bidict-0.24.1[${PYTHON_USEDEP}]
|
2026-10-31 17:59:49 +01:00
|
|
|
>=dev-python/python-engineio-4.15.1[${PYTHON_USEDEP}]
|
2026-10-31 12:02:29 +01:00
|
|
|
client? (
|
|
|
|
|
dev-python/requests[${PYTHON_USEDEP}]
|
|
|
|
|
dev-python/websocket-client[${PYTHON_USEDEP}]
|
|
|
|
|
)
|
|
|
|
|
asyncio-client? (
|
|
|
|
|
dev-python/aiohttp[${PYTHON_USEDEP}]
|
|
|
|
|
dev-python/websockets[${PYTHON_USEDEP}]
|
|
|
|
|
)
|
|
|
|
|
"
|
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
|
|
|
|
|
|
# pypi tarball does not contain tests
|
|
|
|
|
RESTRICT="test"
|