git: d11136e2ec31 - main - devel/py-jupyter-kernel-gateway: New port: Web server for spawning and communicating with Jupyter kernels
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Aug 2025 05:19:04 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d11136e2ec3184b35457bf8f2610fb5cd0c9a610
commit d11136e2ec3184b35457bf8f2610fb5cd0c9a610
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-08-31 05:18:44 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-08-31 05:19:02 +0000
devel/py-jupyter-kernel-gateway: New port: Web server for spawning and communicating with Jupyter kernels
---
devel/Makefile | 1 +
devel/py-jupyter-kernel-gateway/Makefile | 29 +++++++++++++++++++++++++++++
devel/py-jupyter-kernel-gateway/distinfo | 3 +++
devel/py-jupyter-kernel-gateway/pkg-descr | 4 ++++
4 files changed, 37 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index c58e0cb516ba..7461e478beb4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5147,6 +5147,7 @@
SUBDIR += py-jupyter-core
SUBDIR += py-jupyter-docprovider
SUBDIR += py-jupyter-events
+ SUBDIR += py-jupyter-kernel-gateway
SUBDIR += py-jupyter-kernel-test
SUBDIR += py-jupyter-lsp
SUBDIR += py-jupyter-packaging
diff --git a/devel/py-jupyter-kernel-gateway/Makefile b/devel/py-jupyter-kernel-gateway/Makefile
new file mode 100644
index 000000000000..c38dfd1e8e7d
--- /dev/null
+++ b/devel/py-jupyter-kernel-gateway/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= jupyter-kernel-gateway
+DISTVERSION= 3.0.1
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Web server for spawning and communicating with Jupyter kernels
+WWW= https://jupyter-kernel-gateway.readthedocs.io/en/latest/ \
+ https://github.com/jupyter-server/kernel_gateway
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.5:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-client>=8.6:devel/py-jupyter-client@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyter-core>=5.7:devel/py-jupyter-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jupyter-server>=2.12:devel/py-jupyter-server@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.31:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tornado>=6.4:www/py-tornado@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}traitlets>=5.14.1:devel/py-traitlets@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-jupyter-kernel-gateway/distinfo b/devel/py-jupyter-kernel-gateway/distinfo
new file mode 100644
index 000000000000..04b7fd1bcdb7
--- /dev/null
+++ b/devel/py-jupyter-kernel-gateway/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1756616988
+SHA256 (jupyter_kernel_gateway-3.0.1.tar.gz) = 900690c4c0e796867355468d685f7fa1cf3c7775d08e871c157f77d65fbd6d7f
+SIZE (jupyter_kernel_gateway-3.0.1.tar.gz) = 54607
diff --git a/devel/py-jupyter-kernel-gateway/pkg-descr b/devel/py-jupyter-kernel-gateway/pkg-descr
new file mode 100644
index 000000000000..ee9d9d6c779c
--- /dev/null
+++ b/devel/py-jupyter-kernel-gateway/pkg-descr
@@ -0,0 +1,4 @@
+Jupyter Kernel Gateway is a web server that provides headless access to Jupyter
+kernels. Your application communicates with the kernels remotely, through REST
+calls and Websockets rather than ZeroMQ messages. There are no provisions for
+editing notebooks through the Kernel Gateway.