From 8d15cb8238a384acdb70250a0cd213f2ab5f0ab6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 23 Feb 2023 09:44:00 +0000 Subject: gentoo auto-resync : 23:02:2023 - 09:44:00 --- sci-misc/jupyterlab-desktop-bin/Manifest | 4 +- .../jupyterlab-desktop-bin-3.5.0.1.ebuild | 114 --------------------- .../jupyterlab-desktop-bin-3.6.1.2.ebuild | 111 ++++++++++++++++++++ 3 files changed, 113 insertions(+), 116 deletions(-) delete mode 100644 sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.5.0.1.ebuild create mode 100644 sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.6.1.2.ebuild (limited to 'sci-misc/jupyterlab-desktop-bin') diff --git a/sci-misc/jupyterlab-desktop-bin/Manifest b/sci-misc/jupyterlab-desktop-bin/Manifest index 2524b58d66a4..69616723bd68 100644 --- a/sci-misc/jupyterlab-desktop-bin/Manifest +++ b/sci-misc/jupyterlab-desktop-bin/Manifest @@ -1,7 +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 322168961 BLAKE2B e5ccbe9a9118b43e5da3e64744ddcc19d38640ccb5dacffbf0d6e670b080abeef5f19894f102f3a59600c8d39a9dedd0958afb42adc71f7b4d588743f7022322 SHA512 6aa1c3bec71aad856a6357e2b4b4ffd92b1e8d7e5e78aded708f9a45d5cf7952cfabb4361c7e5bb89091fb91e712583c9ce718d74771c65a6075d89c5017c05f -EBUILD jupyterlab-desktop-bin-3.5.0.1.ebuild 2908 BLAKE2B 45747415a5684bb2c54b44965f47e9513b37a0b0f4d89ac6b5eeee0067a85df740f97b36e3468d7f7ac62acfbe8cfec1b98c73029ed944e9a2adbb6be6a2ed83 SHA512 1eff8cb68d4d60cfbb0a60271900d5c71c7f6bca3d06a1e227beb26093024ef7849c18bee5a32961fef0031cfc217db4d0e6a3345d6850042e9dd501cf2ba915 +DIST jupyterlab-desktop-bin-3.6.1.2.rpm 322845365 BLAKE2B 8bd1554a781b48c464314f1cdbd04886e00d61f518d47241b2a68f4da3ce551a7f0a96b008d895247512075b785533db94c3b3fc31f7e76c382d6da8cbb68ede SHA512 87367307b67e59bed6b0910c723ae6250a8fc1ba2fa1ae70cddd5661bcc831b5c23f656f1189d3eeccbf6632fa644032dc2e5039e93080f42a22d3607b32b8e9 EBUILD jupyterlab-desktop-bin-3.5.1.1.ebuild 2854 BLAKE2B 2b1f7677234788c998f713af3b7040c9e0ac78faca2c41b9228f4352bf4937ff739bea92c9366a700e58cf035b8c3946a851f5d8b444b605653023cbf0b57e31 SHA512 a89162c81ec9611c253bb0f538ab93f1fea3abfa80f90bcf2788f5d6709ce9b38b2546d76507cd99336cb10ec08b65650c97f5d73aae6a957cb9cab1e916d8af EBUILD jupyterlab-desktop-bin-3.6.1.1-r1.ebuild 2854 BLAKE2B 215468c0a9ea9b5dabac685bc9c517a8ecb7fccd2858a05bb8e27c9a43d97b5bd26da4e38bc0f5bbb82cbff0958dd6587e32eb405fd526c8a1eb9ec1652ea580 SHA512 1116113a52da40171efa751ba0cdd1f431c47a0d541bf5db2cc0d57c4df79b511605bfeaa79b26ab485fe5ee8d309874581b3176614da51a790fa9455bc9d3fe +EBUILD jupyterlab-desktop-bin-3.6.1.2.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.5.0.1.ebuild b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.5.0.1.ebuild deleted file mode 100644 index ae5b946b1ecd..000000000000 --- a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.5.0.1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 2019-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_LANGS=" - 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 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* - - exeinto "${DESTDIR}/swiftshader" - doexe swiftshader/*.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 "" -} diff --git a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.6.1.2.ebuild b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.6.1.2.ebuild new file mode 100644 index 000000000000..4bb8e3351976 --- /dev/null +++ b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.6.1.2.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 "" +} -- cgit v1.2.3