aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2025-03-18 09:42:46 +0000
committerNicola Vitale <nivit@FreeBSD.org>2025-03-18 09:43:29 +0000
commit2043988b10bd1d320a020e14ac0d41e85b99b20a (patch)
treeadca7e089b358bf9fe6f762985eaa56df842a462
parent528376ec4687e4221fd13b16dd98cf6daeffebee (diff)
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
-rw-r--r--www/Makefile1
-rw-r--r--www/py-httpx-sse/Makefile23
-rw-r--r--www/py-httpx-sse/distinfo3
-rw-r--r--www/py-httpx-sse/pkg-descr1
4 files changed, 28 insertions, 0 deletions
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.