python-socketio: pkgcheck fixes

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-04-03 21:41:18 -04:00
parent 84824991f8
commit 0c23734c2d
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 24 additions and 6 deletions

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>noone@pentoo.org</email>
<name>No one</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">python-socketio</remote-id>
<remote-id type="github">miguelgrinberg/python-socketio</remote-id>
</upstream>
<use>
<flag name="asyncio_client">Allow client to work async</flag>
<flag name="client">Support client</flag>
</use>
</pkgmetadata>

View file

@ -1,17 +1,18 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
PYPI_NO_NORMALIZE=1
DISTUTILS_USE_PEP517=setuptools
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"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@ -22,9 +23,9 @@ 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}] )
dev-python/websocket-client[${PYTHON_USEDEP}] )
asyncio_client? ( dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/websockets[${PYTHON_USEDEP}] )"
dev-python/websockets[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"