git: d985e03910be - main - devel/py-notebook-shim: Add py-notebook-shim 0.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:42:25 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d985e03910bec72ec1bde737104ccb9b173a9fd3
commit d985e03910bec72ec1bde737104ccb9b173a9fd3
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:45:27 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:37 +0000
devel/py-notebook-shim: Add py-notebook-shim 0.1.0
Notebook Shim provides a way for JupyterLab and other frontends to switch to
Jupyter Server for their Python Web application backend.
WWW: https://github.com/jupyterlab/notebook_shim
---
devel/Makefile | 1 +
devel/py-notebook-shim/Makefile | 23 +++++++++++++++++++++++
devel/py-notebook-shim/distinfo | 3 +++
devel/py-notebook-shim/pkg-descr | 4 ++++
4 files changed, 31 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 37e870d12dc2..10c4e646c49a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4828,6 +4828,7 @@
SUBDIR += py-nose-timer
SUBDIR += py-nose2
SUBDIR += py-nosexcover
+ SUBDIR += py-notebook-shim
SUBDIR += py-notify2
SUBDIR += py-num2words
SUBDIR += py-numba
diff --git a/devel/py-notebook-shim/Makefile b/devel/py-notebook-shim/Makefile
new file mode 100644
index 000000000000..83335b4b2dfc
--- /dev/null
+++ b/devel/py-notebook-shim/Makefile
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= notebook-shim
+PORTVERSION= 0.1.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= notebook_shim-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Shim layer for notebook traits and config
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-server>=1.8<2:devel/py-jupyter-server@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-notebook-shim/distinfo b/devel/py-notebook-shim/distinfo
new file mode 100644
index 000000000000..e2dc59d98119
--- /dev/null
+++ b/devel/py-notebook-shim/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647264402
+SHA256 (notebook_shim-0.1.0.tar.gz) = 7897e47a36d92248925a2143e3596f19c60597708f7bef50d81fcd31d7263e85
+SIZE (notebook_shim-0.1.0.tar.gz) = 12275
diff --git a/devel/py-notebook-shim/pkg-descr b/devel/py-notebook-shim/pkg-descr
new file mode 100644
index 000000000000..614cb0bc70b0
--- /dev/null
+++ b/devel/py-notebook-shim/pkg-descr
@@ -0,0 +1,4 @@
+Notebook Shim provides a way for JupyterLab and other frontends to switch to
+Jupyter Server for their Python Web application backend.
+
+WWW: https://github.com/jupyterlab/notebook_shim