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/Manifest1
-rw-r--r--dev-python/python-socketio/metadata.xml14
-rw-r--r--dev-python/python-socketio/python-socketio-5.1.0.ebuild32
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/python-socketio/Manifest b/dev-python/python-socketio/Manifest
new file mode 100644
index 000000000000..e0ff42d039c5
--- /dev/null
+++ b/dev-python/python-socketio/Manifest
@@ -0,0 +1 @@
+DIST python-socketio-5.1.0.tar.gz 43824 BLAKE2B d6827834384856dabae8b4c8121ce382e047e6ddec4374f2c211318e68b3ff02182f9cf99409ba54ca151220774be0d6342befdd2dfc243b66c8783052c1fe8e SHA512 1023fc91f692f9e4a883acd40080805af29128bbba21f19a3d2ee0e8bce62426158ac67188d514eb21a9c64522481fb4626db9ffe0d1303aa8945729d690c198
diff --git a/dev-python/python-socketio/metadata.xml b/dev-python/python-socketio/metadata.xml
new file mode 100644
index 000000000000..93dad1f5d111
--- /dev/null
+++ b/dev-python/python-socketio/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>davidroman96@gmail.com</email>
+ <name>David Roman</name>
+ </maintainer>
+
+ <use>
+ <flag name="client">Add websocket client</flag>
+ <flag name="asyncio-client">Add async websocket client</flag>
+ </use>
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/python-socketio/python-socketio-5.1.0.ebuild b/dev-python/python-socketio/python-socketio-5.1.0.ebuild
new file mode 100644
index 000000000000..3bf9e93218f8
--- /dev/null
+++ b/dev-python/python-socketio/python-socketio-5.1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,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"