diff --git a/devel/py-python-socketio/Makefile b/devel/py-python-socketio/Makefile index fedd0a80d22c..4e190c55aa28 100644 --- a/devel/py-python-socketio/Makefile +++ b/devel/py-python-socketio/Makefile @@ -1,17 +1,20 @@ # $FreeBSD$ PORTNAME= python-socketio -PORTVERSION= 1.8.4 +PORTVERSION= 4.6.1 CATEGORIES= devel python net MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Python implementation of the SocketIO realtime server +COMMENT= Python implementation of the Socket.IO realtime client and server LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-engineio>=3.13.0<4:devel/py-python-engineio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} + USES= python USE_PYTHON= autoplist concurrent distutils diff --git a/devel/py-python-socketio/distinfo b/devel/py-python-socketio/distinfo index e79c88453f4d..97fa9c69c19e 100644 --- a/devel/py-python-socketio/distinfo +++ b/devel/py-python-socketio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1518003807 -SHA256 (python-socketio-1.8.4.tar.gz) = 13807ce17e85371d15b31295a43b1fac1c0dba1eb5fc233353a3efd53aa122cc -SIZE (python-socketio-1.8.4.tar.gz) = 24537 +TIMESTAMP = 1607685381 +SHA256 (python-socketio-4.6.1.tar.gz) = cd1f5aa492c1eb2be77838e837a495f117e17f686029ebc03d62c09e33f4fa10 +SIZE (python-socketio-4.6.1.tar.gz) = 42374 diff --git a/devel/py-python-socketio/pkg-descr b/devel/py-python-socketio/pkg-descr index af8eb9a848bc..06f34d8edb1c 100644 --- a/devel/py-python-socketio/pkg-descr +++ b/devel/py-python-socketio/pkg-descr @@ -1,23 +1,10 @@ -Python implementation of the Socket.IO realtime server. +This projects implements Socket.IO clients and servers that can run standalone +or integrated with a variety of Python web frameworks. -Features - Fully compatible with the Javascript, Swift, C++ and Java - official Socket.IO clients, plus any third party clients that - comply with the Socket.IO specification. - Compatible with Python 2.7 and Python 3.3+. - Supports large number of clients even on modest hardware when - used with an asynchronous server based on asyncio, eventlet or gevent. - For development and testing, - any WSGI compliant multi-threaded server can be used. - Includes a WSGI middleware that integrates Socket.IO traffic - with standard WSGI applications. - Uses an event-based architecture implemented with decorators - that hides the details of the protocol. - Implements HTTP long-polling and WebSocket transports. - Supports XHR2 and XHR browsers as clients. - Supports text and binary messages. - Supports gzip and deflate HTTP compression. - Configurable CORS responses to avoid cross-origin problems with browsers. +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. - -WWW: https://github.com/miguelgrinberg/python-socketio/ +WWW: https://github.com/miguelgrinberg/python-socketio