From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48AF615808B for ; Mon, 21 Feb 2022 19:02:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 958E1E09E4; Mon, 21 Feb 2022 19:02:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 680A3E09E4 for ; Mon, 21 Feb 2022 19:02:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 488783431F0 for ; Mon, 21 Feb 2022 19:02:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 097382EE for ; Mon, 21 Feb 2022 19:02:35 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1645470150.132f0566b67c2ca13738aea632f7cbf3b13aa39a.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/jupyterlab-desktop-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-misc/jupyterlab-desktop-bin/Manifest sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.9.1.ebuild X-VCS-Directories: sci-misc/jupyterlab-desktop-bin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 132f0566b67c2ca13738aea632f7cbf3b13aa39a X-VCS-Branch: master Date: Mon, 21 Feb 2022 19:02:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7a8cfe4b-c734-4074-ba45-64a25ba604d1 X-Archives-Hash: 6e316fc75936af1c85e97de183c2dec5 commit: 132f0566b67c2ca13738aea632f7cbf3b13aa39a Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon Feb 21 19:01:46 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon Feb 21 19:02:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132f0566 sci-misc/jupyterlab-desktop-bin: add version 3.2.9.1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> sci-misc/jupyterlab-desktop-bin/Manifest | 1 + .../jupyterlab-desktop-bin-3.2.9.1.ebuild | 68 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/sci-misc/jupyterlab-desktop-bin/Manifest b/sci-misc/jupyterlab-desktop-bin/Manifest index 73ba007b1ea8..93fa8cf13034 100644 --- a/sci-misc/jupyterlab-desktop-bin/Manifest +++ b/sci-misc/jupyterlab-desktop-bin/Manifest @@ -1 +1,2 @@ DIST jupyterlab-desktop-bin-3.2.5.2.rpm 269694928 BLAKE2B c92a46c273d4b3edfedf9392ff65813366317003607ab27c359b995cd896591454fbf8460b6ce22d717e0d28ba2c7800bf346f18c23dd758e58b4c329b3164f1 SHA512 7720c727a2a027f0f45072c92186b9fe7ea911aa2168100995e79feac0e248e9d3dde2f2fadcd43b749c394f604f09a53db81eebf26fdac5396bba81f6c75904 +DIST jupyterlab-desktop-bin-3.2.9.1.rpm 332914260 BLAKE2B 57940cfc761cf3710303de6d6adc895027cacd9c97c40fa1773785ca66a9e4fdb041aef1857222b5c9eedfb766050aff4752927f87986b9fa0052cb9301a77f7 SHA512 73e963943f6e1254523d645264b4b1ac56cb2118c23fbf9a45a82a46b26bea9e876ef22549b832eb13392533a32edec5432ae7c29546ca7798f573e27880a0ab diff --git a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.9.1.ebuild b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.9.1.ebuild new file mode 100644 index 000000000000..15bdd61754eb --- /dev/null +++ b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.2.9.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 2019-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit rpm xdg + +DESCRIPTION="JupyterLab desktop application, based on Electron" +HOMEPAGE="https://jupyter.org/" +SRC_URI="https://github.com/jupyterlab/${PN%%-bin}/releases/download/v$(ver_rs 3 -)/JupyterLab-Setup-Fedora.rpm -> ${P}.rpm" + +KEYWORDS="-* ~amd64" +LICENSE="BSD MIT" +SLOT="0" + +RDEPEND=" + app-accessibility/at-spi2-atk + app-accessibility/at-spi2-core + dev-libs/atk + dev-libs/expat + dev-libs/glib + dev-libs/nspr + dev-libs/nss + dev-python/jupyterlab + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libXrandr + x11-libs/libxshmfence + x11-libs/pango +" + +QA_PREBUILT="opt/JupyterLab/*" + +S="${WORKDIR}" + +src_install() { + # remove files useless for Gentoo + rm -r usr/lib || die + mv "${S}"/* "${ED}" || die + # add convenience symlink to launch from cli + dosym ../JupyterLab/jupyterlab-desktop /opt/bin/jupyterlab-desktop +} + +pkg_postinst() { + xdg_pkg_postinst + elog "" + elog "On initial startup you will be prompted to select the python environment of" + elog "your choice. Either select a specific python version, e.g. /usr/bin/pythonX.Y," + elog "or choose /usr/bin/python to follow the system wide setting in" + elog "/etc/python-exec/python-exec.conf." + elog "Please note that only python environments corresponding to the enabled" + elog "PYTHON_TARGETS on dev-python/jupyterlab will work." + elog "" +}