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.
This commit is contained in:
Po-Chuan Hsieh 2023-03-22 02:35:14 +08:00
parent 149c8b25f7
commit 6de44d4932
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 40 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1677770937
SHA256 (jupyter_ydoc-0.2.3.tar.gz) = 98db7785215873c64d7dfcb1b741f41df11994c4b3d7e2957e004b392d6f11ea
SIZE (jupyter_ydoc-0.2.3.tar.gz) = 64963

View file

@ -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.