mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
www/py-httpx-ws: Add py-httpx-ws 0.6.2
httpx-ws provides WebSocket support for HTTPX. Features: - Sync and async client - Helper methods to send text, binary and JSON data - Helper methods to receive text, binary and JSON data - Automatic ping/pong answers - HTTPX transport to test WebSockets defined in ASGI apps - Automatic keepalive ping - asyncio and Trio support through AnyIO
This commit is contained in:
parent
b5800fe2c8
commit
5739121e24
@ -1752,6 +1752,7 @@
|
||||
SUBDIR += py-httpx-gssapi
|
||||
SUBDIR += py-httpx-oauth
|
||||
SUBDIR += py-httpx-socks
|
||||
SUBDIR += py-httpx-ws
|
||||
SUBDIR += py-hypercorn
|
||||
SUBDIR += py-hyperframe
|
||||
SUBDIR += py-hyperlink
|
||||
|
28
www/py-httpx-ws/Makefile
Normal file
28
www/py-httpx-ws/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
PORTNAME= httpx-ws
|
||||
PORTVERSION= 0.6.2
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= httpx_ws-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= WebSockets support for HTTPX
|
||||
WWW= https://frankie567.github.io/httpx-ws/ \
|
||||
https://github.com/frankie567/httpx-ws
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-regex-commit>=0:devel/py-hatch-regex-commit@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=4:devel/py-anyio@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httpcore>=1.0.4:www/py-httpcore@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}httpx>=0.23.1:www/py-httpx@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wsproto>=0:net/py-wsproto@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-httpx-ws/distinfo
Normal file
3
www/py-httpx-ws/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1732239502
|
||||
SHA256 (httpx_ws-0.6.2.tar.gz) = b07446b9067a30f1012fa9851fdfd14207012cd657c485565884f90553d0854c
|
||||
SIZE (httpx_ws-0.6.2.tar.gz) = 23430
|
10
www/py-httpx-ws/pkg-descr
Normal file
10
www/py-httpx-ws/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
httpx-ws provides WebSocket support for HTTPX.
|
||||
|
||||
Features:
|
||||
- Sync and async client
|
||||
- Helper methods to send text, binary and JSON data
|
||||
- Helper methods to receive text, binary and JSON data
|
||||
- Automatic ping/pong answers
|
||||
- HTTPX transport to test WebSockets defined in ASGI apps
|
||||
- Automatic keepalive ping
|
||||
- asyncio and Trio support through AnyIO
|
Loading…
Reference in New Issue
Block a user