summaryrefslogtreecommitdiff
path: root/dev-python/python-socketio
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-socketio')
-rw-r--r--dev-python/python-socketio/Manifest2
-rw-r--r--dev-python/python-socketio/metadata.xml9
-rw-r--r--dev-python/python-socketio/python-socketio-5.11.4.ebuild32
-rw-r--r--dev-python/python-socketio/python-socketio-5.12.1.ebuild31
4 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/python-socketio/Manifest b/dev-python/python-socketio/Manifest
new file mode 100644
index 000000000000..9ff5c0a9a8ad
--- /dev/null
+++ b/dev-python/python-socketio/Manifest
@@ -0,0 +1,2 @@
+DIST python_socketio-5.11.4.tar.gz 118982 BLAKE2B 577202ad731b0b25eb57617f322ae203376cdb381e42d0318e72bcc8b5eb9dcbbef20d50f5d2acb20360280160a58e0ca966b42038dde917c173e5cda3636522 SHA512 c61d8247b1f2aab5eb2094a1c6bdd9cd53da66847584c48e7f8e026f8ba1705a87a8bfb7837485c1c3929b6d40b453d297a3a109298eb4ce6d6a784f08da2e1b
+DIST python_socketio-5.12.1.tar.gz 119991 BLAKE2B f4f44f1c57ef1babff1bf1d456cfc1202360bb1a89b6f0eb20c3baef54d1654b0e20258ee031cebf07680ae0499475dd9d832480ca8555c6a09d65f51a761546 SHA512 f841eecfbc251f2933326d0de7c35b4b1c2a1b771c6683db8044b3bc67c7347dc3c0930900f2caf9097386994f2e980439dfd0682ca053e16e25b58f6ae27d2b
diff --git a/dev-python/python-socketio/metadata.xml b/dev-python/python-socketio/metadata.xml
new file mode 100644
index 000000000000..260afe76872d
--- /dev/null
+++ b/dev-python/python-socketio/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="client">Add websocket client</flag>
+ <flag name="asyncio-client">Add async websocket client</flag>
+ </use>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/python-socketio/python-socketio-5.11.4.ebuild b/dev-python/python-socketio/python-socketio-5.11.4.ebuild
new file mode 100644
index 000000000000..839dc8717472
--- /dev/null
+++ b/dev-python/python-socketio/python-socketio-5.11.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..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"
diff --git a/dev-python/python-socketio/python-socketio-5.12.1.ebuild b/dev-python/python-socketio/python-socketio-5.12.1.ebuild
new file mode 100644
index 000000000000..270d498fad03
--- /dev/null
+++ b/dev-python/python-socketio/python-socketio-5.12.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..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"
+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"