dev-python/python-socketio - 5.11.4 (guru)

Search

Install

Install this version:

emerge -a =dev-python/python-socketio-5.11.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/python-socketio-5.11.4

Or alternatively:

emerge --autounmask-write -a =dev-python/python-socketio-5.11.4

Package Information

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

Ebuild Details

Version EAPI Keywords Slot
5.11.4 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
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"
#wait for dev-python/python-engineio
KEYWORDS="~amd64"
IUSE="client asyncio-client"

RDEPEND="dev-python/bidict[${PYTHON_USEDEP}]
	>=dev-python/python-engineio-4.0.0[${PYTHON_USEDEP}]
	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"

src_prepare() {
	# License classifiers are deprecated, so we remove it
	sed -ie "/\"License ::/d" pyproject.toml \
		|| die "Failed to remove deprecated license classifiers"
	eapply_user
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/python-socketio | euse -E <flag> -p dev-python/python-socketio | euse -D <flag> -p dev-python/python-socketio

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

dev-python/bidict[]
	>=dev-python/python-engineio-4.0.0[]
	client? (
		dev-python/requests[]
		dev-python/websocket-client[]
	)
	asyncio-client? (
		dev-python/aiohttp[]
		dev-python/websockets[]
	)

RDEPEND

dev-python/bidict[]
	>=dev-python/python-engineio-4.0.0[]
	client? (
		dev-python/requests[]
		dev-python/websocket-client[]
	)
	asyncio-client? (
		dev-python/aiohttp[]
		dev-python/websockets[]
	)