From 2043988b10bd1d320a020e14ac0d41e85b99b20a Mon Sep 17 00:00:00 2001 From: Nicola Vitale Date: Tue, 18 Mar 2025 10:42:46 +0100 Subject: [PATCH] www/py-httpx-sse: Add new port Python module that consumes Server-Sent Event (SSE) messages with HTTPX. https://pypi.python.org/pypi/httpx-sse --- www/Makefile | 1 + www/py-httpx-sse/Makefile | 23 +++++++++++++++++++++++ www/py-httpx-sse/distinfo | 3 +++ www/py-httpx-sse/pkg-descr | 1 + 4 files changed, 28 insertions(+) create mode 100644 www/py-httpx-sse/Makefile create mode 100644 www/py-httpx-sse/distinfo create mode 100644 www/py-httpx-sse/pkg-descr diff --git a/www/Makefile b/www/Makefile index 1ddee69d6ffa..7ab6d3c7ea5f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1790,6 +1790,7 @@ SUBDIR += py-httptools SUBDIR += py-httpx SUBDIR += py-httpx-oauth + SUBDIR += py-httpx-sse SUBDIR += py-httpx-socks SUBDIR += py-httpx-ws SUBDIR += py-httpx_gssapi diff --git a/www/py-httpx-sse/Makefile b/www/py-httpx-sse/Makefile new file mode 100644 index 000000000000..d968283781a7 --- /dev/null +++ b/www/py-httpx-sse/Makefile @@ -0,0 +1,23 @@ +PORTNAME= httpx-sse +DISTVERSION= 0.4.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Consume Server-Sent Event (SSE) messages with HTTPX +WWW= https://pypi.python.org/pypi/httpx-sse + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0.4:devel/py-setuptools-scm \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0_1:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.45.1:devel/py-wheel + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/www/py-httpx-sse/distinfo b/www/py-httpx-sse/distinfo new file mode 100644 index 000000000000..3d27ce8f9498 --- /dev/null +++ b/www/py-httpx-sse/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1741774707 +SHA256 (httpx-sse-0.4.0.tar.gz) = 1e81a3a3070ce322add1d3529ed42eb5f70817f45ed6ec915ab753f961139721 +SIZE (httpx-sse-0.4.0.tar.gz) = 12624 diff --git a/www/py-httpx-sse/pkg-descr b/www/py-httpx-sse/pkg-descr new file mode 100644 index 000000000000..c0c1d813dd10 --- /dev/null +++ b/www/py-httpx-sse/pkg-descr @@ -0,0 +1 @@ +Python module that consumes Server-Sent Event (SSE) messages with HTTPX.