summaryrefslogtreecommitdiff
path: root/sci-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /sci-misc
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/Manifest.gzbin2575 -> 2575 bytes
-rw-r--r--sci-misc/jupyterlab-desktop-bin/Manifest2
-rw-r--r--sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.6.1.1.ebuild111
3 files changed, 113 insertions, 0 deletions
diff --git a/sci-misc/Manifest.gz b/sci-misc/Manifest.gz
index f0409c0b61fe..9337f2e55ee3 100644
--- a/sci-misc/Manifest.gz
+++ b/sci-misc/Manifest.gz
Binary files differ
diff --git a/sci-misc/jupyterlab-desktop-bin/Manifest b/sci-misc/jupyterlab-desktop-bin/Manifest
index 46384749e4e3..cc055b049daa 100644
--- a/sci-misc/jupyterlab-desktop-bin/Manifest
+++ b/sci-misc/jupyterlab-desktop-bin/Manifest
@@ -1,5 +1,7 @@
DIST jupyterlab-desktop-bin-3.5.0.1.rpm 331913564 BLAKE2B 1035fb96b7289a465d2b0d3e60dbb975ab4cb76132c8cbe43162b13b5a7950045940b8fb458a0139719dee1b5648249666529c39fdd53da9b04a97b7b2187eb7 SHA512 4e6d146c7448186e38175128c4ef67aed6b0bbc3a47de2734be1ff23dcb2814236aab9aa4820f02aae0d2ea3fd3656e48b0a53a5f3f8c27f33dcdd83908ade48
DIST jupyterlab-desktop-bin-3.5.1.1.rpm 323640057 BLAKE2B d6516d922f28eed846af92be3bdccbf9c2d656c4056fabb118c3dd3d6d3bafc68e11cd7ffe5fa97172c2125da826b352758546d8fd4c2dd2a3748031f4c5b0b3 SHA512 3b46834532776b341f3b9b74e38d32c11bcf909634b8a2695f1d4d0c9cb829b4d5013f1349b099acd84cf40e17fa9ad9bb8f2ed5f134d0d7b521f599fc6227e0
+DIST jupyterlab-desktop-bin-3.6.1.1.rpm 321961145 BLAKE2B e2662ac07d2af9a69230a95782d1a9a4bd7e92e357952b51f45b254adae7423a338878214c422ba50b977dabdcd8fa21996145ac53e0fc3867105a444aa0c400 SHA512 c586c4b738ad975dbe044a24a95a7ef38de91e8b331c98ae99fa3610631945d437bda7e08ebb9ff0760bc2772bde0c9e9b92d45b6dc73b7e880d6a093ca8e7aa
EBUILD jupyterlab-desktop-bin-3.5.0.1.ebuild 2908 BLAKE2B 45747415a5684bb2c54b44965f47e9513b37a0b0f4d89ac6b5eeee0067a85df740f97b36e3468d7f7ac62acfbe8cfec1b98c73029ed944e9a2adbb6be6a2ed83 SHA512 1eff8cb68d4d60cfbb0a60271900d5c71c7f6bca3d06a1e227beb26093024ef7849c18bee5a32961fef0031cfc217db4d0e6a3345d6850042e9dd501cf2ba915
EBUILD jupyterlab-desktop-bin-3.5.1.1.ebuild 2854 BLAKE2B 2b1f7677234788c998f713af3b7040c9e0ac78faca2c41b9228f4352bf4937ff739bea92c9366a700e58cf035b8c3946a851f5d8b444b605653023cbf0b57e31 SHA512 a89162c81ec9611c253bb0f538ab93f1fea3abfa80f90bcf2788f5d6709ce9b38b2546d76507cd99336cb10ec08b65650c97f5d73aae6a957cb9cab1e916d8af
+EBUILD jupyterlab-desktop-bin-3.6.1.1.ebuild 2854 BLAKE2B 215468c0a9ea9b5dabac685bc9c517a8ecb7fccd2858a05bb8e27c9a43d97b5bd26da4e38bc0f5bbb82cbff0958dd6587e32eb405fd526c8a1eb9ec1652ea580 SHA512 1116113a52da40171efa751ba0cdd1f431c47a0d541bf5db2cc0d57c4df79b511605bfeaa79b26ab485fe5ee8d309874581b3176614da51a790fa9455bc9d3fe
MISC metadata.xml 430 BLAKE2B 1bd3f621bb4d25086cc80c5b44a7eef4a61f58c1f56c7cb91ca4e39b8a5e7d5fdd37e912e48d99ee6ba6a19de1c61252b4ebe3afd554d487c549d22597c376fc SHA512 b99b088cb0bdcfdaa9d584fb580b12a754f30a378fdede655f7723075e81948fc57f9aad11a59944b164eb8c9c24f6f0828e95c5a227766e985778900ea08079
diff --git a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.6.1.1.ebuild b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.6.1.1.ebuild
new file mode 100644
index 000000000000..4bb8e3351976
--- /dev/null
+++ b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.6.1.1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 2019-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_LANGS="
+ af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+ hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+ sw ta te th tr uk ur vi zh-CN zh-TW
+"
+
+inherit chromium-2 desktop 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"
+S="${WORKDIR}"
+
+KEYWORDS="-* ~amd64"
+# Electron bundles a bunch of things
+LICENSE="
+ MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2
+ unRAR OFL CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved
+"
+SLOT="0"
+RESTRICT="bindist mirror"
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib
+ dev-libs/nspr
+ dev-libs/nss
+ >=dev-python/jupyterlab-$(ver_cut 1-3)
+ 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/*"
+
+pkg_pretend() {
+ chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+ default
+ # cleanup languages
+ pushd "opt/JupyterLab/locales" || die
+ chromium_remove_language_paks
+ popd || die
+}
+
+src_configure() {
+ chromium_suid_sandbox_check_kernel_config
+ default
+}
+
+src_install() {
+ for size in {16,32,48,64,128,256,512}; do
+ doicon -s ${size} "usr/share/icons/hicolor/${size}x${size}/apps/jupyterlab-desktop.png"
+ done
+
+ domenu usr/share/applications/jupyterlab-desktop.desktop
+
+ local DESTDIR="/opt/JupyterLab"
+ pushd "opt/JupyterLab" || die
+
+ exeinto "${DESTDIR}"
+ doexe chrome-sandbox chrome_crashpad_handler jupyterlab-desktop *.so*
+
+ insinto "${DESTDIR}"
+ doins *.pak *.bin *.json *.dat
+ insopts -m0755
+ doins -r locales resources
+
+ # Chrome-sandbox requires the setuid bit to be specifically set.
+ # see https://github.com/electron/electron/issues/17972
+ fperms 4755 "${DESTDIR}"/chrome-sandbox
+
+ dosym "${DESTDIR}"/jupyterlab-desktop /opt/bin/jupyterlab-desktop
+ popd || die
+}
+
+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 ""
+}