Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/jupyterlab-desktop-bin/
Date: Wed, 31 Aug 2022 09:45:12
Message-Id: 1661939100.a6b3a566d4085595d4e66375b3f13c50f799b38a.andrewammerlaan@gentoo
1 commit: a6b3a566d4085595d4e66375b3f13c50f799b38a
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 09:44:33 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 09:45:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b3a566
7
8 sci-misc/jupyterlab-desktop-bin: drop 3.4.4.1
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 sci-misc/jupyterlab-desktop-bin/Manifest | 1 -
13 .../jupyterlab-desktop-bin-3.4.4.1.ebuild | 116 ---------------------
14 2 files changed, 117 deletions(-)
15
16 diff --git a/sci-misc/jupyterlab-desktop-bin/Manifest b/sci-misc/jupyterlab-desktop-bin/Manifest
17 index 56a96e7a8ea3..b2c5f7d2c95a 100644
18 --- a/sci-misc/jupyterlab-desktop-bin/Manifest
19 +++ b/sci-misc/jupyterlab-desktop-bin/Manifest
20 @@ -1,2 +1 @@
21 -DIST jupyterlab-desktop-bin-3.4.4.1.rpm 318510660 BLAKE2B ddbe9786082546bcefd39f7aa9cf631d5dd830c0771e1eca84838829433503dd37a1445e232a4a9c9332a256a294034a6538b3115b105063a2c26698f40a0c07 SHA512 5556e75fbedf8e152811b1164364dbc4d99fbfb6cd41ced81d479673f5705dade6d15240bc5096338de0056970fffc32444aa78c93bb1b66b44bc266a7254d8d
22 DIST jupyterlab-desktop-bin-3.4.5.1.rpm 335639840 BLAKE2B 6be6792ba7ce8db996701b287c5b4686be6088fdbf7ba3eecdac1bed25c9caba46b81ff61e8a66350558b36f69a27e4ea9559d00a431a9a702b99a0cfe0bf437 SHA512 025e31f7baa1da186343538ea3f9668c0873dfe0081572cac5673aae1691843e6d14145a6fedd7330f043b127d84ec74563436ae08c7a4d3254093ab9560c0c1
23
24 diff --git a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.4.4.1.ebuild b/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.4.4.1.ebuild
25 deleted file mode 100644
26 index fb775790888d..000000000000
27 --- a/sci-misc/jupyterlab-desktop-bin/jupyterlab-desktop-bin-3.4.4.1.ebuild
28 +++ /dev/null
29 @@ -1,116 +0,0 @@
30 -# Copyright 2019-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -CHROMIUM_LANGS="
36 - am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
37 - 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
38 - sw ta te th tr uk vi zh-CN zh-TW
39 -"
40 -
41 -inherit chromium-2 desktop rpm xdg
42 -
43 -DESCRIPTION="JupyterLab desktop application, based on Electron"
44 -HOMEPAGE="https://jupyter.org/"
45 -SRC_URI="https://github.com/jupyterlab/${PN%%-bin}/releases/download/v$(ver_rs 3 -)/JupyterLab-Setup-Fedora.rpm -> ${P}.rpm"
46 -S="${WORKDIR}"
47 -
48 -KEYWORDS="-* ~amd64"
49 -# Electron bundles a bunch of things
50 -LICENSE="
51 - MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2
52 - unRAR OFL CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved
53 -"
54 -SLOT="0"
55 -RESTRICT="bindist mirror"
56 -
57 -RDEPEND="
58 - app-accessibility/at-spi2-atk
59 - app-accessibility/at-spi2-core
60 - dev-libs/atk
61 - dev-libs/expat
62 - dev-libs/glib
63 - dev-libs/nspr
64 - dev-libs/nss
65 - dev-python/jupyterlab
66 - media-libs/alsa-lib
67 - media-libs/mesa
68 - net-print/cups
69 - sys-apps/dbus
70 - sys-libs/glibc
71 - x11-libs/cairo
72 - x11-libs/gdk-pixbuf
73 - x11-libs/gtk+:3
74 - x11-libs/libdrm
75 - x11-libs/libX11
76 - x11-libs/libxcb
77 - x11-libs/libXcomposite
78 - x11-libs/libXdamage
79 - x11-libs/libXext
80 - x11-libs/libXfixes
81 - x11-libs/libxkbcommon
82 - x11-libs/libXrandr
83 - x11-libs/libxshmfence
84 - x11-libs/pango
85 -"
86 -
87 -QA_PREBUILT="opt/JupyterLab/*"
88 -
89 -pkg_pretend() {
90 - chromium_suid_sandbox_check_kernel_config
91 -}
92 -
93 -src_prepare() {
94 - default
95 - # cleanup languages
96 - pushd "opt/JupyterLab/locales" || die
97 - chromium_remove_language_paks
98 - popd || die
99 -}
100 -
101 -src_configure() {
102 - chromium_suid_sandbox_check_kernel_config
103 - default
104 -}
105 -
106 -src_install() {
107 - for size in {16,32,48,64,128,256,512}; do
108 - doicon -s ${size} "usr/share/icons/hicolor/${size}x${size}/apps/jupyterlab-desktop.png"
109 - done
110 -
111 - domenu usr/share/applications/jupyterlab-desktop.desktop
112 -
113 - local DESTDIR="/opt/JupyterLab"
114 - pushd "opt/JupyterLab" || die
115 -
116 - exeinto "${DESTDIR}"
117 - doexe chrome-sandbox chrome_crashpad_handler jupyterlab-desktop *.so*
118 -
119 - exeinto "${DESTDIR}/swiftshader"
120 - doexe swiftshader/*.so*
121 -
122 - insinto "${DESTDIR}"
123 - doins *.pak *.bin *.json *.dat
124 - insopts -m0755
125 - doins -r locales resources
126 -
127 - # Chrome-sandbox requires the setuid bit to be specifically set.
128 - # see https://github.com/electron/electron/issues/17972
129 - fperms 4755 "${DESTDIR}"/chrome-sandbox
130 -
131 - dosym "${DESTDIR}"/jupyterlab-desktop /opt/bin/jupyterlab-desktop
132 - popd || die
133 -}
134 -
135 -pkg_postinst() {
136 - xdg_pkg_postinst
137 - elog ""
138 - elog "On initial startup you will be prompted to select the python environment of"
139 - elog "your choice. Either select a specific python version, e.g. /usr/bin/pythonX.Y,"
140 - elog "or choose /usr/bin/python to follow the system wide setting in"
141 - elog "/etc/python-exec/python-exec.conf."
142 - elog "Please note that only python environments corresponding to the enabled"
143 - elog "PYTHON_TARGETS on dev-python/jupyterlab will work."
144 - elog ""
145 -}