Browse Source

sci-misc/europa-bin: add new package

The official electron client for jupyterlab (jupyterlab_app) is inactive and
freezes upon launch.
This is one of the few alternatives that: has releases, is up to date, and
actually works.

It works rather nice and avoids having to run jupyterlab in the browser.
Thanks to @suyashmahar !

https://github.com/jupyterlab/jupyterlab_app/issues/186

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
master
Andrew Ammerlaan 3 weeks ago
parent
commit
4beb46211d
No known key found for this signature in database GPG Key ID: A2E2304370447E8E
  1. 1
      sci-misc/europa-bin/Manifest
  2. 57
      sci-misc/europa-bin/europa-bin-1.0.0.ebuild
  3. 12
      sci-misc/europa-bin/metadata.xml

1
sci-misc/europa-bin/Manifest

@ -0,0 +1 @@
DIST europa-bin-1.0.0.tar.xz 47742444 BLAKE2B 6729c49f48d399fa4b80661c1efada0b6268ccf83eb548e73af708e375d3377e847d3fa52219007ee0aec0ce16bd0df839ea88c09cb2cfe7bad1979d24611f68 SHA512 f0c37d162246eddc7c2c19878aae0128afdae82b2ac2584a4a441fb12ef19429387ea62230fc50928d10b89add747b1c8b42637eaf63d58fa3c43a20ad02e7c7

57
sci-misc/europa-bin/europa-bin-1.0.0.ebuild

@ -0,0 +1,57 @@
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg
DESCRIPTION="JupyterLab's Desktop client in electron"
HOMEPAGE="https://github.com/suyashmahar/europa"
SRC_URI="https://drive.google.com/uc?export=download&id=1c6NYXJgioU4_2v-CQ6oxtb1jzMMhDeMo -> ${P}.tar.xz"
KEYWORDS="-* ~amd64"
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
app-accessibility/at-spi2-atk:2
dev-libs/atk
dev-libs/expat
dev-libs/libappindicator
dev-libs/nspr
dev-libs/nss
dev-python/jupyterlab
media-libs/alsa-lib
net-print/cups
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libnotify
x11-libs/libxcb
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libXScrnSaver
x11-libs/pango
"
QA_PREBUILT="/opt/${PN//-bin}*"
S="${WORKDIR}"
src_install() {
# Move icon to correct dir
mv usr/share/icons/hicolor/0x0 usr/share/icons/hicolor/256x256 || die
# Write name in desktop file with capital letter
sed -i -e 's/Name=europa/Name=Europa/g' usr/share/applications/europa.desktop || die
mv "${S}"/* "${ED}" || die
}

12
sci-misc/europa-bin/metadata.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">suyashmahar/europa</remote-id>
<bugs-to>https://github.com/suyashmahar/europa/issues</bugs-to>
</upstream>
<maintainer type="project">
<email>sci@gentoo.org</email>
<name>Gentoo Science Project</name>
</maintainer>
</pkgmetadata>
Loading…
Cancel
Save