Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2024 06:13:46 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3d170989d103 - main - www/py-sse-starlette: New port: Starlette: SSE plugin
Message-ID:  <202407280613.46S6DklB011723@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 3d170989d10329bd1005a6da43bc307a36c876f8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-28 06:13:01 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-28 06:13:40 +0000

    www/py-sse-starlette: New port: Starlette: SSE plugin
---
 www/Makefile                   |  1 +
 www/py-sse-starlette/Makefile  | 36 ++++++++++++++++++++++++++++++++++++
 www/py-sse-starlette/distinfo  |  3 +++
 www/py-sse-starlette/pkg-descr |  1 +
 4 files changed, 41 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 5a8816f94ae3..ac8533e36ce9 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1820,6 +1820,7 @@
     SUBDIR += py-soupsieve
     SUBDIR += py-splinter
     SUBDIR += py-spyne
+    SUBDIR += py-sse-starlette
     SUBDIR += py-sseclient
     SUBDIR += py-starlette
     SUBDIR += py-starlette-context
diff --git a/www/py-sse-starlette/Makefile b/www/py-sse-starlette/Makefile
new file mode 100644
index 000000000000..5f4af6b8815f
--- /dev/null
+++ b/www/py-sse-starlette/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	sse-starlette
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2.1.2
+CATEGORIES=	www python
+#MASTER_SITES=	PYPI # no tests
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Starlette: SSE plugin
+WWW=		https://github.com/sysid/sse-starlette
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyio>0:devel/py-anyio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}starlette>0:www/py-starlette@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}uvicorn>0:www/py-uvicorn@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asgi-lifespan>0:devel/py-asgi-lifespan@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}fastapi>0:www/py-fastapi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}httpx>0:www/py-httpx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}isort>0:devel/py-isort@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-asyncio>0:devel/py-pytest-asyncio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	sysid
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-sse-starlette/distinfo b/www/py-sse-starlette/distinfo
new file mode 100644
index 000000000000..7d37a77dc9a9
--- /dev/null
+++ b/www/py-sse-starlette/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722146286
+SHA256 (sysid-sse-starlette-v2.1.2_GH0.tar.gz) = 742db06df61434d7861748d58558b43b28ad4531eed8e9e23dbe155d036abe21
+SIZE (sysid-sse-starlette-v2.1.2_GH0.tar.gz) = 535815
diff --git a/www/py-sse-starlette/pkg-descr b/www/py-sse-starlette/pkg-descr
new file mode 100644
index 000000000000..4592b5da2012
--- /dev/null
+++ b/www/py-sse-starlette/pkg-descr
@@ -0,0 +1 @@
+SSE (Server Sent Events) plugin for the Starlette framework.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407280613.46S6DklB011723>