git: 149c8b25f74f - main - devel/py-jupyter-server-ydoc: Add py-jupyter-server-ydoc 0.6.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:23:54 UTC
The branch main has been updated by sunpoet:

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

commit 149c8b25f74f8db4f43fe66adc8d82272ca458ef
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:35:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:19:52 +0000

    devel/py-jupyter-server-ydoc: Add py-jupyter-server-ydoc 0.6.1
    
    Jupyter Server YDoc is a Jupyter Server Extension providing support for Y
    documents.
---
 devel/Makefile                         |  1 +
 devel/py-jupyter-server-ydoc/Makefile  | 25 +++++++++++++++++++++++++
 devel/py-jupyter-server-ydoc/distinfo  |  3 +++
 devel/py-jupyter-server-ydoc/pkg-descr |  2 ++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 51d14f944a8b..fa1e6b05f6b4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4805,6 +4805,7 @@
     SUBDIR += py-jupyter-server
     SUBDIR += py-jupyter-server-fileid
     SUBDIR += py-jupyter-server-mathjax
+    SUBDIR += py-jupyter-server-ydoc
     SUBDIR += py-jupyter-telemetry
     SUBDIR += py-jupyter_console
     SUBDIR += py-jupyterlab
diff --git a/devel/py-jupyter-server-ydoc/Makefile b/devel/py-jupyter-server-ydoc/Makefile
new file mode 100644
index 000000000000..f3bb2ad516eb
--- /dev/null
+++ b/devel/py-jupyter-server-ydoc/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	jupyter-server-ydoc
+PORTVERSION=	0.6.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	jupyter_server_ydoc-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Jupyter Server Extension Providing Y Documents
+WWW=		https://github.com/jupyterlab/jupyter_collaboration
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0.25:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jupyter-server-fileid>=0.6.0<1:devel/py-jupyter-server-fileid@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyter-ydoc>=0.2.0<0.4.0:devel/py-jupyter-ydoc@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ypy-websocket>=0.8.2<0.9.0:devel/py-ypy-websocket@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jupyter-server-ydoc/distinfo b/devel/py-jupyter-server-ydoc/distinfo
new file mode 100644
index 000000000000..2742778bcbc8
--- /dev/null
+++ b/devel/py-jupyter-server-ydoc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677770935
+SHA256 (jupyter_server_ydoc-0.6.1.tar.gz) = ab10864708c81fa41ab9f2ed3626b54ff6926eaf14545d1d439714978dad6e9f
+SIZE (jupyter_server_ydoc-0.6.1.tar.gz) = 25122
diff --git a/devel/py-jupyter-server-ydoc/pkg-descr b/devel/py-jupyter-server-ydoc/pkg-descr
new file mode 100644
index 000000000000..12be7adafaa0
--- /dev/null
+++ b/devel/py-jupyter-server-ydoc/pkg-descr
@@ -0,0 +1,2 @@
+Jupyter Server YDoc is a Jupyter Server Extension providing support for Y
+documents.