git: 6de44d4932c1 - main - devel/py-jupyter-ydoc: Add py-jupyter-ydoc 0.2.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:23:55 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6de44d4932c178aa0dc00f75fb60b56f6bf752d9
commit 6de44d4932c178aa0dc00f75fb60b56f6bf752d9
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:35:14 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:19:52 +0000
devel/py-jupyter-ydoc: Add py-jupyter-ydoc 0.2.3
jupyter_ydoc provides Ypy-based data structures for various documents used in
the Jupyter ecosystem. Built-in documents include:
- YBlob: a generic immutable binary document.
- YUnicode: a generic UTF8-encoded text document (YFile is an alias to
YUnicode).
- YNotebook: a Jupyter notebook document.
---
devel/Makefile | 1 +
devel/py-jupyter-ydoc/Makefile | 30 ++++++++++++++++++++++++++++++
devel/py-jupyter-ydoc/distinfo | 3 +++
devel/py-jupyter-ydoc/pkg-descr | 6 ++++++
4 files changed, 40 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index fa1e6b05f6b4..805e26f9133d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4807,6 +4807,7 @@
SUBDIR += py-jupyter-server-mathjax
SUBDIR += py-jupyter-server-ydoc
SUBDIR += py-jupyter-telemetry
+ SUBDIR += py-jupyter-ydoc
SUBDIR += py-jupyter_console
SUBDIR += py-jupyterlab
SUBDIR += py-jupyterlab-server
diff --git a/devel/py-jupyter-ydoc/Makefile b/devel/py-jupyter-ydoc/Makefile
new file mode 100644
index 000000000000..ba4631544629
--- /dev/null
+++ b/devel/py-jupyter-ydoc/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= jupyter-ydoc
+PORTVERSION= 0.2.3
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= jupyter_ydoc-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Document structures for collaborative editing using Ypy
+WWW= https://github.com/jupyter-server/jupyter_ydoc
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-nodejs-version>=0:devel/py-hatch-nodejs-version@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}y-py>=0.5.3<0.6.0:devel/py-y-py@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-jupyter-ydoc/distinfo b/devel/py-jupyter-ydoc/distinfo
new file mode 100644
index 000000000000..758df2122844
--- /dev/null
+++ b/devel/py-jupyter-ydoc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677770937
+SHA256 (jupyter_ydoc-0.2.3.tar.gz) = 98db7785215873c64d7dfcb1b741f41df11994c4b3d7e2957e004b392d6f11ea
+SIZE (jupyter_ydoc-0.2.3.tar.gz) = 64963
diff --git a/devel/py-jupyter-ydoc/pkg-descr b/devel/py-jupyter-ydoc/pkg-descr
new file mode 100644
index 000000000000..4142cb04c6c0
--- /dev/null
+++ b/devel/py-jupyter-ydoc/pkg-descr
@@ -0,0 +1,6 @@
+jupyter_ydoc provides Ypy-based data structures for various documents used in
+the Jupyter ecosystem. Built-in documents include:
+- YBlob: a generic immutable binary document.
+- YUnicode: a generic UTF8-encoded text document (YFile is an alias to
+ YUnicode).
+- YNotebook: a Jupyter notebook document.