From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A61C158041 for ; Tue, 7 Sep 2021 18:01:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9BF7E0893; Tue, 7 Sep 2021 18:01:09 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F6F6E0893 for ; Tue, 7 Sep 2021 18:01:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9396E33BEA6 for ; Tue, 7 Sep 2021 18:01:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D034835 for ; Tue, 7 Sep 2021 18:01:04 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1631037654.d22723191e8cbb104437511c1a9eb141a0247ef1.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/jupyterlab/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/jupyterlab/jupyterlab-3.1.10.ebuild X-VCS-Directories: dev-python/jupyterlab/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: d22723191e8cbb104437511c1a9eb141a0247ef1 X-VCS-Branch: master Date: Tue, 7 Sep 2021 18:01:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b42d83df-8828-4d57-b199-a86426c25852 X-Archives-Hash: 233dbad0063fd5a4cc348a7cd533c39e commit: d22723191e8cbb104437511c1a9eb141a0247ef1 Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue Sep 7 18:00:54 2021 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Sep 7 18:00:54 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d2272319 dev-python/jupyterlab: also clean upon pkg_prerm and include the licenses of the js stuff Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/jupyterlab/jupyterlab-3.1.10.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-python/jupyterlab/jupyterlab-3.1.10.ebuild b/dev-python/jupyterlab/jupyterlab-3.1.10.ebuild index 415bfa0ad..6940fff45 100644 --- a/dev-python/jupyterlab/jupyterlab-3.1.10.ebuild +++ b/dev-python/jupyterlab/jupyterlab-3.1.10.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="JupyterLab computational environment" HOMEPAGE="https://jupyter.org/" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -LICENSE="BSD" +LICENSE="BSD MIT GPL-3 Apache-2.0" SLOT="0" KEYWORDS="~amd64" @@ -34,5 +34,10 @@ distutils_enable_tests pytest #distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme pkg_postinst() { - jupyter-lab build || die "Failed to build jupyter assets" + # We have to do this here because we need internet since this uses yarn + jupyter-lab build -y || die "Failed to build jupyterlab javascript assets" +} + +pkg_prerm() { + jupyter-lab clean -y || die "Failed to clean jupyterlab javascript assets" }