[-- Attachment #1: Type: text/plain, Size: 335 bytes --] There is a new pull request by dkwo against master on the void-packages repository https://github.com/dkwo/void-packages jlabfix https://github.com/void-linux/void-packages/pull/35354 Jlabfix This fixes #35341 I updated one package as well. A patch file from https://github.com/void-linux/void-packages/pull/35354.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jlabfix-35354.patch --] [-- Type: text/x-diff, Size: 2075 bytes --] From b320b817495b9750c695f5347731d5c2d2098081 Mon Sep 17 00:00:00 2001 From: dkwo <nicolopiazzalunga@gmail.com> Date: Wed, 2 Feb 2022 11:08:44 +0100 Subject: [PATCH 1/2] jupyterlab: add shell snippet to /etc/profile.d --- srcpkgs/jupyterlab/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template index 488fdbc2ff87..6726ef09b049 100644 --- a/srcpkgs/jupyterlab/template +++ b/srcpkgs/jupyterlab/template @@ -1,7 +1,7 @@ # Template file for 'jupyterlab' pkgname=jupyterlab version=3.2.8 -revision=1 +revision=2 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-jupyterlab_server nodejs python3-nbclassic @@ -17,4 +17,8 @@ make_check=no post_install() { vlicense LICENSE + vmkdir etc/profile.d + cat > ${DESTDIR}/etc/profile.d/jupyterlab.sh <<EOF +export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab +EOF } From d1a53cf379116ff7e6d7c1550179a0de5c7d450d Mon Sep 17 00:00:00 2001 From: dkwo <nicolopiazzalunga@gmail.com> Date: Wed, 2 Feb 2022 11:10:16 +0100 Subject: [PATCH 2/2] python3-jupyter_server: update to 1.13.4 --- srcpkgs/python3-jupyter_server/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template index 9477e35947b0..4e6d8a6fe52a 100644 --- a/srcpkgs/python3-jupyter_server/template +++ b/srcpkgs/python3-jupyter_server/template @@ -1,6 +1,6 @@ # Template file for 'python3-jupyter_server' pkgname=python3-jupyter_server -version=1.13.3 +version=1.13.4 revision=1 wrksrc="jupyter_server-${version}" build_style=python3-module @@ -14,7 +14,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>" license="BSD-3-Clause" homepage="https://jupyter.org" distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz" -checksum=4d622161f4d378ff28548b49cc180024ce102d25ba5805821fcc17ab1bc5c754 +checksum=5fb5a219385338b1d13a013a68f54688b6a69ecff4e757fd230e27ecacdbf212 # Tarball defines no tests make_check=no
[-- Attachment #1: Type: text/plain, Size: 357 bytes --] New review comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/pull/35354#discussion_r797910694 Comment: Even though this is a one-line script, let's put it in `files/jupyterlab.sh` so you can just ```sh vinstall "${FILESDIR}/jupyterlab.sh" 644 etc/profile.d ``` here. It's nice to keep things out of heredocs.
[-- Attachment #1: Type: text/plain, Size: 356 bytes --] There is an updated pull request by dkwo against master on the void-packages repository https://github.com/dkwo/void-packages jlabfix https://github.com/void-linux/void-packages/pull/35354 fix issue in jupyterlab This fixes #35341 I updated one package as well. A patch file from https://github.com/void-linux/void-packages/pull/35354.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-jlabfix-35354.patch --] [-- Type: text/x-diff, Size: 2385 bytes --] From ba386e8835412085722f580d134a0bca65a6701b Mon Sep 17 00:00:00 2001 From: dkwo <nicolopiazzalunga@gmail.com> Date: Wed, 2 Feb 2022 11:08:44 +0100 Subject: [PATCH 1/2] jupyterlab: add shell snippet to /etc/profile.d --- srcpkgs/jupyterlab/files/jupyterlab.sh | 1 + srcpkgs/jupyterlab/template | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/jupyterlab/files/jupyterlab.sh diff --git a/srcpkgs/jupyterlab/files/jupyterlab.sh b/srcpkgs/jupyterlab/files/jupyterlab.sh new file mode 100644 index 000000000000..a90f35521b9c --- /dev/null +++ b/srcpkgs/jupyterlab/files/jupyterlab.sh @@ -0,0 +1 @@ +export JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab diff --git a/srcpkgs/jupyterlab/template b/srcpkgs/jupyterlab/template index 488fdbc2ff87..330d959bc154 100644 --- a/srcpkgs/jupyterlab/template +++ b/srcpkgs/jupyterlab/template @@ -1,7 +1,7 @@ # Template file for 'jupyterlab' pkgname=jupyterlab version=3.2.8 -revision=1 +revision=2 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-jupyterlab_server nodejs python3-nbclassic @@ -17,4 +17,5 @@ make_check=no post_install() { vlicense LICENSE + vinstall "${FILESDIR}/jupyterlab.sh" 644 etc/profile.d } From 95ddd84981e4ce8b5dde2934fbfb87f6cb299e5a Mon Sep 17 00:00:00 2001 From: dkwo <nicolopiazzalunga@gmail.com> Date: Wed, 2 Feb 2022 11:10:16 +0100 Subject: [PATCH 2/2] python3-jupyter_server: update to 1.13.4 --- srcpkgs/python3-jupyter_server/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-jupyter_server/template b/srcpkgs/python3-jupyter_server/template index 9477e35947b0..4e6d8a6fe52a 100644 --- a/srcpkgs/python3-jupyter_server/template +++ b/srcpkgs/python3-jupyter_server/template @@ -1,6 +1,6 @@ # Template file for 'python3-jupyter_server' pkgname=python3-jupyter_server -version=1.13.3 +version=1.13.4 revision=1 wrksrc="jupyter_server-${version}" build_style=python3-module @@ -14,7 +14,7 @@ maintainer="dkwo <nicolopiazzalunga@gmail.com>" license="BSD-3-Clause" homepage="https://jupyter.org" distfiles="${PYPI_SITE}/j/jupyter-server/jupyter_server-${version}.tar.gz" -checksum=4d622161f4d378ff28548b49cc180024ce102d25ba5805821fcc17ab1bc5c754 +checksum=5fb5a219385338b1d13a013a68f54688b6a69ecff4e757fd230e27ecacdbf212 # Tarball defines no tests make_check=no
[-- Attachment #1: Type: text/plain, Size: 149 bytes --] New review comment by dkwo on void-packages repository https://github.com/void-linux/void-packages/pull/35354#discussion_r797980041 Comment: Done.
[-- Attachment #1: Type: text/plain, Size: 206 bytes --] There's a merged pull request on the void-packages repository fix issue in jupyterlab https://github.com/void-linux/void-packages/pull/35354 Description: This fixes #35341 I updated one package as well.