1 |
commit: 5939f8feccd8d6c228b102c39243a1c2dce0d8c2 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 28 11:53:09 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 28 12:06:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5939f8fe |
7 |
|
8 |
sci-misc/jupyterlab-desktop: add version 3.2.4.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
sci-misc/jupyterlab-desktop/Manifest | 1 + |
14 |
.../jupyterlab-desktop-3.2.4.3.ebuild | 65 ++++++++++++++++++++++ |
15 |
2 files changed, 66 insertions(+) |
16 |
|
17 |
diff --git a/sci-misc/jupyterlab-desktop/Manifest b/sci-misc/jupyterlab-desktop/Manifest |
18 |
index 6370502461ef..d213465370f2 100644 |
19 |
--- a/sci-misc/jupyterlab-desktop/Manifest |
20 |
+++ b/sci-misc/jupyterlab-desktop/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST jupyterlab-desktop-3.2.4.1.rpm 254701500 BLAKE2B efe593518cec942d122edd3ad58c3def25db658ae1ca8b5af05f702fd08bc8614d05f3f379323462f05a616075ccac403981645329615cc9138cea2f82100755 SHA512 ea3efea857a65b7a0e8a409dcbafcc840f924fe9fea073f127dcf31d01a86b6832803a3b67f03cd1f9968c058c792ff9d1650550a44e5cb1e77cc4ab4bf0a813 |
23 |
+DIST jupyterlab-desktop-3.2.4.3.rpm 269019824 BLAKE2B cc4acde522b3cab06e1d4b26ed21352cb20396e766c71da889fb19fae52af0df7c8acd4e9b91083ab944995fdc2f3acf3af28c7320e0da951505ea75e2c70b63 SHA512 6eb5220e149cd2f61cbaf35e377bdd02fefa292eb0145936da6d7b875f68779a47f5a99be12bf57b44840f6b5bdfd3e9923bf0947cbe3c2e155cd5f5e2c64317 |
24 |
|
25 |
diff --git a/sci-misc/jupyterlab-desktop/jupyterlab-desktop-3.2.4.3.ebuild b/sci-misc/jupyterlab-desktop/jupyterlab-desktop-3.2.4.3.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..15ce362a0939 |
28 |
--- /dev/null |
29 |
+++ b/sci-misc/jupyterlab-desktop/jupyterlab-desktop-3.2.4.3.ebuild |
30 |
@@ -0,0 +1,65 @@ |
31 |
+# Copyright 2019-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit rpm xdg |
37 |
+ |
38 |
+DESCRIPTION="JupyterLab desktop application, based on Electron" |
39 |
+HOMEPAGE="https://jupyter.org/" |
40 |
+SRC_URI="https://github.com/jupyterlab/${PN}/releases/download/v$(ver_rs 3 -)/JupyterLab-Setup-Fedora.rpm -> ${P}.rpm" |
41 |
+ |
42 |
+KEYWORDS="-* ~amd64" |
43 |
+LICENSE="BSD MIT" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ app-accessibility/at-spi2-atk |
48 |
+ app-accessibility/at-spi2-core |
49 |
+ dev-libs/atk |
50 |
+ dev-libs/expat |
51 |
+ dev-libs/glib |
52 |
+ dev-libs/nspr |
53 |
+ dev-libs/nss |
54 |
+ dev-python/jupyterlab |
55 |
+ media-libs/alsa-lib |
56 |
+ media-libs/mesa |
57 |
+ net-print/cups |
58 |
+ sys-apps/dbus |
59 |
+ x11-libs/cairo |
60 |
+ x11-libs/gdk-pixbuf |
61 |
+ x11-libs/gtk+:3 |
62 |
+ x11-libs/libdrm |
63 |
+ x11-libs/libX11 |
64 |
+ x11-libs/libxcb |
65 |
+ x11-libs/libXcomposite |
66 |
+ x11-libs/libXdamage |
67 |
+ x11-libs/libXext |
68 |
+ x11-libs/libXfixes |
69 |
+ x11-libs/libxkbcommon |
70 |
+ x11-libs/libXrandr |
71 |
+ x11-libs/libxshmfence |
72 |
+ x11-libs/pango |
73 |
+" |
74 |
+ |
75 |
+QA_PREBUILT="/opt/JupyterLab/*" |
76 |
+ |
77 |
+S="${WORKDIR}" |
78 |
+ |
79 |
+src_install() { |
80 |
+ # remove files useless for Gentoo |
81 |
+ rm -r usr/lib || die |
82 |
+ mv "${S}"/* "${ED}" || die |
83 |
+} |
84 |
+ |
85 |
+pkg_postinst() { |
86 |
+ xdg_pkg_postinst |
87 |
+ elog "" |
88 |
+ elog "On initial startup you will be prompted to select the python environment of" |
89 |
+ elog "your choice. Either select a specific python version, e.g. /usr/bin/pythonX.Y," |
90 |
+ elog "or choose /usr/bin/python to follow the system wide setting in" |
91 |
+ elog "/etc/python-exec/python-exec.conf." |
92 |
+ elog "Please note that only python environments corresponding to the enabled" |
93 |
+ elog "PYTHON_TARGETS on dev-python/jupyterlab will work." |
94 |
+ elog "" |
95 |
+} |