public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-misc/europa-bin/
@ 2021-09-05 20:00 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-09-05 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     4beb46211dd06000f00992e55b7605634fa114fb
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  5 19:59:53 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Sep  5 19:59:53 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4beb4621

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 <AT> gentoo.org>

 sci-misc/europa-bin/europa-bin-1.0.0.ebuild | 57 +++++++++++++++++++++++++++++
 sci-misc/europa-bin/metadata.xml            | 12 ++++++
 2 files changed, 69 insertions(+)

diff --git a/sci-misc/europa-bin/europa-bin-1.0.0.ebuild b/sci-misc/europa-bin/europa-bin-1.0.0.ebuild
new file mode 100644
index 000000000..ad502cfac
--- /dev/null
+++ b/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
+}

diff --git a/sci-misc/europa-bin/metadata.xml b/sci-misc/europa-bin/metadata.xml
new file mode 100644
index 000000000..0c2747670
--- /dev/null
+++ b/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>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-misc/europa-bin/
@ 2021-12-20 11:02 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-12-20 11:02 UTC (permalink / raw
  To: gentoo-commits

commit:     a095a0064bbda95bbd3a0c69d16abb290304ffd5
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 20 11:02:13 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Dec 20 11:02:13 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a095a006

sci-misc/europa-bin: version bump 1.1.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-misc/europa-bin/{europa-bin-1.0.0.ebuild => europa-bin-1.1.0.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sci-misc/europa-bin/europa-bin-1.0.0.ebuild b/sci-misc/europa-bin/europa-bin-1.1.0.ebuild
similarity index 100%
rename from sci-misc/europa-bin/europa-bin-1.0.0.ebuild
rename to sci-misc/europa-bin/europa-bin-1.1.0.ebuild


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-20 11:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-20 11:02 [gentoo-commits] proj/sci:master commit in: sci-misc/europa-bin/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-09-05 20:00 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox