git: 92e7f70a91fc - main - devel/py-jupyter-kernel-test: New port: Tool for testing Jupyter kernels

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 28 Mar 2023 22:28:47 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=92e7f70a91fcbf959d47d613446071fd2016cc82

commit 92e7f70a91fcbf959d47d613446071fd2016cc82
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-28 14:44:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-28 22:28:44 +0000

    devel/py-jupyter-kernel-test: New port: Tool for testing Jupyter kernels
---
 devel/Makefile                         |  1 +
 devel/py-jupyter-kernel-test/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-jupyter-kernel-test/distinfo  |  3 +++
 devel/py-jupyter-kernel-test/pkg-descr |  3 +++
 4 files changed, 33 insertions(+)

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