aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-03-28 14:44:12 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-03-28 22:28:44 +0000
commit92e7f70a91fcbf959d47d613446071fd2016cc82 (patch)
treed02b87501be7f332c376939df6a5e9f2cff9c512
parent8e95d4d983e8f550ba3e2336cad47f9f7f6ca041 (diff)
downloadports-92e7f70a91fcbf959d47d613446071fd2016cc82.tar.gz
ports-92e7f70a91fcbf959d47d613446071fd2016cc82.zip
devel/py-jupyter-kernel-test: New port: Tool for testing Jupyter kernels
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-jupyter-kernel-test/Makefile26
-rw-r--r--devel/py-jupyter-kernel-test/distinfo3
-rw-r--r--devel/py-jupyter-kernel-test/pkg-descr3
4 files changed, 33 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 4672233672b5..8cbd64063885 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4803,6 +4803,7 @@
SUBDIR += py-jupyter-client
SUBDIR += py-jupyter-core
SUBDIR += py-jupyter-events
+ SUBDIR += py-jupyter-kernel-test
SUBDIR += py-jupyter-packaging
SUBDIR += py-jupyter-server
SUBDIR += py-jupyter-server-fileid
diff --git a/devel/py-jupyter-kernel-test/Makefile b/devel/py-jupyter-kernel-test/Makefile
new file mode 100644
index 000000000000..2efae86584ad
--- /dev/null
+++ b/devel/py-jupyter-kernel-test/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= jupyter-kernel-test
+DISTVERSION= 0.5.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Tool for testing Jupyter kernels
+WWW= https://github.com/jupyter/jupyter_kernel_test
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyter-client>=6.1.13:devel/py-jupyter-client@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.5:devel/py-hatchling@${PY_FLAVOR} \
+ ${PY_DEPENDS}
+RUN_DEPENDS= ${PY_DEPENDS}
+
+USES= python:3.7+
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jupyter-kernel-test/distinfo b/devel/py-jupyter-kernel-test/distinfo
new file mode 100644
index 000000000000..4c313327a9e6
--- /dev/null
+++ b/devel/py-jupyter-kernel-test/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680041970
+SHA256 (jupyter_kernel_test-0.5.0.tar.gz) = 8741488a0f3e87d2ca056324922869d2d934e2ddcf8ff5a7ee15e31321a0b4f3
+SIZE (jupyter_kernel_test-0.5.0.tar.gz) = 15022
diff --git a/devel/py-jupyter-kernel-test/pkg-descr b/devel/py-jupyter-kernel-test/pkg-descr
new file mode 100644
index 000000000000..393dd81c94e2
--- /dev/null
+++ b/devel/py-jupyter-kernel-test/pkg-descr
@@ -0,0 +1,3 @@
+jupyter_kernel_test is a tool for testing Jupyter kernels. It tests kernels
+for successful code execution and conformance with the Jupyter Messaging
+Protocol (currently 5.0).