From c89dec7542da4eba60f61d4639f611760a5585a9 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 27 Jul 2019 11:52:18 +0000 Subject: [PATCH] Add py-jupyterlab_server 1.0.0 The application author creates a JupyterLab build on their machine using the core JupyterLab application. They can then serve their files by subclassing the LabServerApp with the appropriate configuration and creating a Python entry point that launches the app. WWW: https://jupyter.org/ WWW: https://github.com/jupyterlab/jupyterlab_server --- devel/Makefile | 1 + devel/py-jupyterlab_server/Makefile | 25 +++++++++++++++++++++++++ devel/py-jupyterlab_server/distinfo | 3 +++ devel/py-jupyterlab_server/pkg-descr | 7 +++++++ 4 files changed, 36 insertions(+) create mode 100644 devel/py-jupyterlab_server/Makefile create mode 100644 devel/py-jupyterlab_server/distinfo create mode 100644 devel/py-jupyterlab_server/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 9a86ed5aae37..2358140772ac 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4556,6 +4556,7 @@ SUBDIR += py-jupyter_console SUBDIR += py-jupyter_core SUBDIR += py-jupyterlab_launcher + SUBDIR += py-jupyterlab_server SUBDIR += py-kaitaistruct SUBDIR += py-kaptan SUBDIR += py-kayako diff --git a/devel/py-jupyterlab_server/Makefile b/devel/py-jupyterlab_server/Makefile new file mode 100644 index 000000000000..fa376681573f --- /dev/null +++ b/devel/py-jupyterlab_server/Makefile @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= jupyterlab_server +PORTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= JupyterLab Server + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}json5>=0:devel/py-json5@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.1:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}notebook>=4.2.0:www/py-notebook@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-jupyterlab_server/distinfo b/devel/py-jupyterlab_server/distinfo new file mode 100644 index 000000000000..f0dbdc6a506f --- /dev/null +++ b/devel/py-jupyterlab_server/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1564157933 +SHA256 (jupyterlab_server-1.0.0.tar.gz) = a77e63ee8f93f77d03b5bcb9955ad0b4edda1e5c49d0b11fae6cc66cc1f41a1a +SIZE (jupyterlab_server-1.0.0.tar.gz) = 20550 diff --git a/devel/py-jupyterlab_server/pkg-descr b/devel/py-jupyterlab_server/pkg-descr new file mode 100644 index 000000000000..27df98090f1c --- /dev/null +++ b/devel/py-jupyterlab_server/pkg-descr @@ -0,0 +1,7 @@ +The application author creates a JupyterLab build on their machine using the +core JupyterLab application. They can then serve their files by subclassing the +LabServerApp with the appropriate configuration and creating a Python entry +point that launches the app. + +WWW: https://jupyter.org/ +WWW: https://github.com/jupyterlab/jupyterlab_server