commit:     e30fe642f2b61b6e56e471ed3442d5a46b1ac48b
Author:     Mazunki Hoksaas <rolferen <AT> gmail <DOT> com>
AuthorDate: Tue May 16 13:37:35 2023 +0000
Commit:     Mazunki Hoksaas <rolferen <AT> gmail <DOT> com>
CommitDate: Tue May 16 13:40:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e30fe642

dev-python/python-socketio: add 5.8.0

Signed-off-by: Mazunki Hoksaas <rolferen <AT> gmail.com>

 dev-python/python-socketio/Manifest                |  1 +
 dev-python/python-socketio/metadata.xml            |  4 +++
 .../python-socketio/python-socketio-5.8.0.ebuild   | 33 ++++++++++++++++++++++
 3 files changed, 38 insertions(+)

diff --git a/dev-python/python-socketio/Manifest 
b/dev-python/python-socketio/Manifest
index e0ff42d03..8694ec6ea 100644
--- a/dev-python/python-socketio/Manifest
+++ b/dev-python/python-socketio/Manifest
@@ -1 +1,2 @@
 DIST python-socketio-5.1.0.tar.gz 43824 BLAKE2B 
d6827834384856dabae8b4c8121ce382e047e6ddec4374f2c211318e68b3ff02182f9cf99409ba54ca151220774be0d6342befdd2dfc243b66c8783052c1fe8e
 SHA512 
1023fc91f692f9e4a883acd40080805af29128bbba21f19a3d2ee0e8bce62426158ac67188d514eb21a9c64522481fb4626db9ffe0d1303aa8945729d690c198
+DIST python-socketio-5.8.0.tar.gz 47872 BLAKE2B 
465593a89bb0504af485ec4c94a52159548ce3cace3f58c9174d694e35b40c6eb68e5a0350ee34551b6d01c47d571be63f7cc91a42ca9815c2a3a271825f3624
 SHA512 
653a6764e22738f0aaad3fb03ef193d820780d61fcffede117a2a2cf7097c722974bded7869639f4ac01dc9a121d90dcbeca70fcc9bbb4e96e3b87bd39e69180

diff --git a/dev-python/python-socketio/metadata.xml 
b/dev-python/python-socketio/metadata.xml
index de7c0e62f..69979a313 100644
--- a/dev-python/python-socketio/metadata.xml
+++ b/dev-python/python-socketio/metadata.xml
@@ -9,4 +9,8 @@
                <flag name="client">Add websocket client</flag>
                <flag name="asyncio-client">Add async websocket client</flag>
        </use>
+       <upstream>
+               <remote-id 
type="github">miguelgrinberg/python-socketio</remote-id> 
+               <remote-id type="pypi">python-socketio</remote-id> 
+       </upstream>
 </pkgmetadata>

diff --git a/dev-python/python-socketio/python-socketio-5.8.0.ebuild 
b/dev-python/python-socketio/python-socketio-5.8.0.ebuild
new file mode 100644
index 000000000..f02fa5f93
--- /dev/null
+++ b/dev-python/python-socketio/python-socketio-5.8.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10,11} )
+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"

Reply via email to