From 7b0ef607f11c3e6d417e566f233e972115e816d5 Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 12 Dec 2022 15:43:58 -0500 Subject: [PATCH 1/3] jupyterlab: add missing depends --- srcpkgs/jupyterlab/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template index d10fe2436e23..179e536d2552 100644 --- a/srcpkgs/jupyterlab/template +++ b/srcpkgs/jupyterlab/template @@ -1,11 +1,12 @@ # Template file for 'jupyterlab' pkgname=jupyterlab version=3.5.0 -revision=1 +revision=2 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-jupyterlab_server nodejs python3-nbclassic - python3-requests-unixsocket python3-jupyter_ipywidgets" + python3-requests-unixsocket python3-jupyter_ipywidgets + python3-platformdirs jupyter-notebook-shim" short_desc="JupyterLab computational environment" maintainer="dkwo " license="custom:jupyterlab" From c9ee611613db24bba9d6211001441e4f03996416 Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 12 Dec 2022 15:44:22 -0500 Subject: [PATCH 2/3] python3-jupyter_console: add missing dep --- srcpkgs/python3-jupyter_console/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template index 502bef78a4bf..d21a19f8b696 100644 --- a/srcpkgs/python3-jupyter_console/template +++ b/srcpkgs/python3-jupyter_console/template @@ -5,7 +5,8 @@ revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-ipython python3-ipython_ipykernel python3-jupyter_client - python3-prompt_toolkit python3-Pygments python3-traitlets" + python3-prompt_toolkit python3-Pygments python3-traitlets + python3-platformdirs" checkdepends="$depends python3-pytest" short_desc="Jupyter terminal console (Python3)" maintainer="Alessio Sergi " From 545b969c036fb7c868195f42f4b0b173f047c52f Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 12 Dec 2022 15:44:45 -0500 Subject: [PATCH 3/3] new package: jupyter-notebook-shim --- srcpkgs/jupyter-notebook-shim/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/jupyter-notebook-shim/template diff --git a/srcpkgs/jupyter-notebook-shim/template b/srcpkgs/jupyter-notebook-shim/template new file mode 100644 index 000000000000..4a4f9ca48937 --- /dev/null +++ b/srcpkgs/jupyter-notebook-shim/template @@ -0,0 +1,22 @@ +# Template file for 'jupyter-notebook-shim' +pkgname=jupyter-notebook-shim +version=0.2.2 +revision=1 +#archs="i686 x86_64" +build_style=python3-pep517 +make_install_target="dist/notebook_shim-${version}-*-*-*.whl" +hostmakedepends="hatchling" +depends="python3-jupyter_server" +checkdepends="python3-pytest python3-jupyter_server python3-platformdirs" +short_desc="Shim layer for notebook traits and config" +maintainer="dkwo " +license="BSD-3-Clause" +homepage="https://github.com/jupyter/notebook_shim" +distfiles="https://github.com/jupyter/notebook_shim/releases/download/v${version}/notebook_shim-${version}.tar.gz" +checksum=090e0baf9a5582ff59b607af523ca2db68ff216da0c69956b62cab2ef4fc9c3f +make_check=no # missing pytest_tornasync + +post_install() { + vlicense LICENSE + mv "$PKGDESTDIR/usr/etc" $PKGDESTDIR/etc/ +}