From 450c323f7680d5af6055a7e259bb8b21f6173822 Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 12 Dec 2022 15:44:22 -0500 Subject: [PATCH 1/3] python3-jupyter_console: add missing dep --- srcpkgs/python3-jupyter_console/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-jupyter_console/template b/srcpkgs/python3-jupyter_console/template index 502bef78a4bf..878fbe08eea8 100644 --- a/srcpkgs/python3-jupyter_console/template +++ b/srcpkgs/python3-jupyter_console/template @@ -1,11 +1,12 @@ # Template file for 'python3-jupyter_console' pkgname=python3-jupyter_console version=6.4.4 -revision=1 +revision=2 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 3aa354c813c44bbd2f394e9138dbe09c817cbf70 Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 12 Dec 2022 15:44:45 -0500 Subject: [PATCH 2/3] New package: python3-notebook_shim-0.2.2 --- srcpkgs/python3-notebook_shim/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-notebook_shim/template diff --git a/srcpkgs/python3-notebook_shim/template b/srcpkgs/python3-notebook_shim/template new file mode 100644 index 000000000000..8ae5302cedd6 --- /dev/null +++ b/srcpkgs/python3-notebook_shim/template @@ -0,0 +1,21 @@ +# Template file for 'python3-notebook_shim' +pkgname=python3-notebook_shim +version=0.2.2 +revision=1 +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/ +} From 77c4d565d3a2603f8d098dfa871669c83c0dc061 Mon Sep 17 00:00:00 2001 From: dkwo Date: Mon, 12 Dec 2022 15:43:58 -0500 Subject: [PATCH 3/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..7b199460804f 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 python3-notebook_shim" short_desc="JupyterLab computational environment" maintainer="dkwo " license="custom:jupyterlab"