aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-12-22 02:48:54 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-12-22 03:29:26 +0000
commit592866db80ede0b037ddd11e34497a3ec342c0d6 (patch)
tree171ce43d0edafbad2a455791ffd67223610ab596
parent62123dd7d14800b050718140d7acb11dbe42956e (diff)
misc/py-pyviz-comms: New port: JupyterLab extension for rendering HoloViz content
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-pyviz-comms/Makefile26
-rw-r--r--misc/py-pyviz-comms/distinfo3
-rw-r--r--misc/py-pyviz-comms/pkg-descr4
4 files changed, 34 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 2829e81a0bd9..3d3aa8ba15b9 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -468,6 +468,7 @@
SUBDIR += py-python-utils
SUBDIR += py-pytorch
SUBDIR += py-pytorch-lightning
+ SUBDIR += py-pyviz-comms
SUBDIR += py-qiskit-machine-learning
SUBDIR += py-scikit-fusion
SUBDIR += py-scikit-quant
diff --git a/misc/py-pyviz-comms/Makefile b/misc/py-pyviz-comms/Makefile
new file mode 100644
index 000000000000..b6d564b3f5c4
--- /dev/null
+++ b/misc/py-pyviz-comms/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= pyviz-comms
+DISTVERSION= 3.0.0
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= JupyterLab extension for rendering HoloViz content
+WWW= https://github.com/holoviz/pyviz_comms
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-nodejs-version>=0:devel/py-hatch-nodejs-version@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.8.2:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.5.0:devel/py-hatchling@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.0.0<5:devel/py-jupyterlab@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}param>0:devel/py-param@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-pyviz-comms/distinfo b/misc/py-pyviz-comms/distinfo
new file mode 100644
index 000000000000..d4ad84d504c9
--- /dev/null
+++ b/misc/py-pyviz-comms/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703209865
+SHA256 (pyviz_comms-3.0.0.tar.gz) = f4ca91e4157a64e3abed7cc249e60b9a8d2532f8832f1cb075914d19337d2ba6
+SIZE (pyviz_comms-3.0.0.tar.gz) = 194326
diff --git a/misc/py-pyviz-comms/pkg-descr b/misc/py-pyviz-comms/pkg-descr
new file mode 100644
index 000000000000..dd2dfdd80d45
--- /dev/null
+++ b/misc/py-pyviz-comms/pkg-descr
@@ -0,0 +1,4 @@
+pyviz_comms offers a simple bidirectional communication architecture between
+Python and JavaScript, with support for Jupyter comms in both the classic
+notebook and Jupyterlab. Available for use by any PyViz tool, but currently
+primarily used by HoloViz tools.