git: 608361c04e05 - main - devel/py-jupyter-docprovider: Add py-jupyter-docprovider 1.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 31 Oct 2024 09:23:46 UTC
The branch main has been updated by sunpoet:

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

commit 608361c04e056a54303eaad08c35847c11550128
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-31 09:07:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-31 09:22:51 +0000

    devel/py-jupyter-docprovider: Add py-jupyter-docprovider 1.0.0
    
    jupyter-shared-docprovider is a JupyterLab/Jupyter Notebook 7+ extension
    integrating collaborative shared models.
    
    The collaborative shared models are used for both:
    - real time collaboration, and
    - server-side execution of notebooks
---
 devel/Makefile                         |  1 +
 devel/py-jupyter-docprovider/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-jupyter-docprovider/distinfo  |  3 +++
 devel/py-jupyter-docprovider/pkg-descr |  6 ++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1c043ee501af..e8f8ec735afd 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5100,6 +5100,7 @@
     SUBDIR += py-jupyter-collaboration
     SUBDIR += py-jupyter-collaboration-ui
     SUBDIR += py-jupyter-core
+    SUBDIR += py-jupyter-docprovider
     SUBDIR += py-jupyter-events
     SUBDIR += py-jupyter-kernel-test
     SUBDIR += py-jupyter-lsp
diff --git a/devel/py-jupyter-docprovider/Makefile b/devel/py-jupyter-docprovider/Makefile
new file mode 100644
index 000000000000..dd46afeebb61
--- /dev/null
+++ b/devel/py-jupyter-docprovider/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	jupyter-docprovider
+PORTVERSION=	1.0.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	jupyter_docprovider-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	JupyterLab/Jupyter Notebook 7+ extension integrating collaborative shared models
+WWW=		https://jupyterlab-realtime-collaboration.readthedocs.io/en/latest/ \
+		https://github.com/jupyterlab/jupyter-collaboration/tree/main/projects/jupyter-docprovider \
+		https://github.com/jupyterlab/jupyter-collaboration
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.5:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=1.4.0:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.0.0:devel/py-jupyterlab@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jupyter-docprovider/distinfo b/devel/py-jupyter-docprovider/distinfo
new file mode 100644
index 000000000000..ecf7a538e595
--- /dev/null
+++ b/devel/py-jupyter-docprovider/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730301002
+SHA256 (jupyter_docprovider-1.0.0.tar.gz) = 11c3b71aa75b851c5ac07c1f4a78ce1df166623a59cb636eb867390925bfc656
+SIZE (jupyter_docprovider-1.0.0.tar.gz) = 40235
diff --git a/devel/py-jupyter-docprovider/pkg-descr b/devel/py-jupyter-docprovider/pkg-descr
new file mode 100644
index 000000000000..b254a01053b5
--- /dev/null
+++ b/devel/py-jupyter-docprovider/pkg-descr
@@ -0,0 +1,6 @@
+jupyter-shared-docprovider is a JupyterLab/Jupyter Notebook 7+ extension
+integrating collaborative shared models.
+
+The collaborative shared models are used for both:
+- real time collaboration, and
+- server-side execution of notebooks