import ports/net/py-socketio, ok landry@ kmos@

Socket.IO is a transport protocol that enables real-time bidirectional
event-based communication between clients (typically, though not always,
web browsers) and a server. The official implementations of the client
and server components are written in JavaScript. This package provides
Python implementations of both, each with standard and asyncio variants.
This commit is contained in:
sthen 2022-03-22 15:31:42 +00:00
parent 6e57bf10ec
commit 2142dfdbcc
4 changed files with 88 additions and 0 deletions

28
net/py-socketio/Makefile Normal file
View File

@ -0,0 +1,28 @@
COMMENT= client/server implementation of Socket.IO
# py-ripe.atlas.cousteau 1.5.0 needs <5.0
MODPY_EGG_VERSION= 4.6.1
DISTNAME= python-socketio-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:S/python-/py-/}
CATEGORIES= net
HOMEPAGE= https://python-socketio.readthedocs.io/en/latest/
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
MODPY_PI= Yes
NO_TEST= Yes
RUN_DEPENDS= devel/py-six${MODPY_FLAVOR} \
net/py-engineio${MODPY_FLAVOR}<4 \
sysutils/py-find${MODPY_FLAVOR}
FLAVORS= python3
FLAVOR= python3
.include <bsd.port.mk>

2
net/py-socketio/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (python-socketio-4.6.1.tar.gz) = zR9apJLB6yvneDjoN6SV8Rfhf2hgKevAPWLAnjP0+hA=
SIZE (python-socketio-4.6.1.tar.gz) = 42374

View File

@ -0,0 +1,5 @@
Socket.IO is a transport protocol that enables real-time bidirectional
event-based communication between clients (typically, though not always,
web browsers) and a server. The official implementations of the client
and server components are written in JavaScript. This package provides
Python implementations of both, each with standard and asyncio variants.

53
net/py-socketio/pkg/PLIST Normal file
View File

@ -0,0 +1,53 @@
lib/python${MODPY_VERSION}/site-packages/python_socketio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/python_socketio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/python_socketio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/python_socketio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/python_socketio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
lib/python${MODPY_VERSION}/site-packages/python_socketio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/python_socketio-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/socketio/
lib/python${MODPY_VERSION}/site-packages/socketio/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}asgi.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}asyncio_aiopika_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}asyncio_client.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}asyncio_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}asyncio_namespace.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}asyncio_pubsub_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}asyncio_redis_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}asyncio_server.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}base_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}client.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}kafka_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}kombu_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}middleware.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}namespace.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}packet.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}pubsub_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}redis_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}server.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}tornado.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/${MODPY_PYCACHE}zmq_manager.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/socketio/asgi.py
lib/python${MODPY_VERSION}/site-packages/socketio/asyncio_aiopika_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/asyncio_client.py
lib/python${MODPY_VERSION}/site-packages/socketio/asyncio_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/asyncio_namespace.py
lib/python${MODPY_VERSION}/site-packages/socketio/asyncio_pubsub_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/asyncio_redis_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/asyncio_server.py
lib/python${MODPY_VERSION}/site-packages/socketio/base_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/client.py
lib/python${MODPY_VERSION}/site-packages/socketio/exceptions.py
lib/python${MODPY_VERSION}/site-packages/socketio/kafka_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/kombu_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/middleware.py
lib/python${MODPY_VERSION}/site-packages/socketio/namespace.py
lib/python${MODPY_VERSION}/site-packages/socketio/packet.py
lib/python${MODPY_VERSION}/site-packages/socketio/pubsub_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/redis_manager.py
lib/python${MODPY_VERSION}/site-packages/socketio/server.py
lib/python${MODPY_VERSION}/site-packages/socketio/tornado.py
lib/python${MODPY_VERSION}/site-packages/socketio/zmq_manager.py