git: 2043988b10bd - main - www/py-httpx-sse: Add new port

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Tue, 18 Mar 2025 09:44:16 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2043988b10bd1d320a020e14ac0d41e85b99b20a

commit 2043988b10bd1d320a020e14ac0d41e85b99b20a
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2025-03-18 09:42:46 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2025-03-18 09:43:29 +0000

    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(+)

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 <bsd.port.mk>
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.