guru/dev-python/python-socketio/python-socketio-5.1.0.ebuild
David Roman 69d205ca0e
dev-python/python-socketio: new package, add 5.1.0
Signed-off-by: David Roman <davidroman96@gmail.com>
2022-05-25 19:55:14 +02:00

33 lines
965 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
inherit distutils-r1
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"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
#wait for dev-python/python-engineio
KEYWORDS="~amd64 ~x86"
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"