git: a6d892773b99 - main - www/py-requests-sse: New port: Server-sent events Python client library based on requests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 11 Sep 2026 07:41:07 UTC
The branch main has been updated by yuri:

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

commit a6d892773b99d28e75c43b2f57d65805b9bfdd44
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-11 06:33:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-11 07:40:20 +0000

    www/py-requests-sse: New port: Server-sent events Python client library based on requests
    
    PR:             298384
    Approved by:    Baptiste Daroussin <bapt@FreeBSD.org> (on behalf of portmgr@)
---
 www/Makefile                  |  1 +
 www/py-requests-sse/Makefile  | 23 +++++++++++++++++++++++
 www/py-requests-sse/distinfo  |  3 +++
 www/py-requests-sse/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 95fd69ccc0e6..5db95707a846 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1953,6 +1953,7 @@
     SUBDIR += py-requests-mock
     SUBDIR += py-requests-oauthlib
     SUBDIR += py-requests-ratelimiter
+    SUBDIR += py-requests-sse
     SUBDIR += py-requests-toolbelt
     SUBDIR += py-requests-unixsocket
     SUBDIR += py-requests-wsgi-adapter
diff --git a/www/py-requests-sse/Makefile b/www/py-requests-sse/Makefile
new file mode 100644
index 000000000000..1d972fbe79e8
--- /dev/null
+++ b/www/py-requests-sse/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	requests-sse
+DISTVERSION=	0.5.3
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	requests_sse-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Server-sent events Python client library based on requests
+WWW=		https://github.com/overcat/requests-sse
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-requests-sse/distinfo b/www/py-requests-sse/distinfo
new file mode 100644
index 000000000000..16c49cd58070
--- /dev/null
+++ b/www/py-requests-sse/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1789073094
+SHA256 (requests_sse-0.5.3.tar.gz) = 107c63afb2a2292b422ab2504849f3adb54b4c884700646ebe9f6e4178ba375c
+SIZE (requests_sse-0.5.3.tar.gz) = 9057
diff --git a/www/py-requests-sse/pkg-descr b/www/py-requests-sse/pkg-descr
new file mode 100644
index 000000000000..c14956d7f1e5
--- /dev/null
+++ b/www/py-requests-sse/pkg-descr
@@ -0,0 +1,2 @@
+Server-sent events (SSE) Python client library based on requests.
+It provides a simple interface to consume SSE streams from HTTP servers.