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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45B0B15800A for ; Thu, 20 Jul 2023 10:47:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76653E038D; Thu, 20 Jul 2023 10:47:46 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D0CAE038D for ; Thu, 20 Jul 2023 10:47:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8428333FD3F for ; Thu, 20 Jul 2023 10:47:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B2BB0BD8 for ; Thu, 20 Jul 2023 10:47:43 +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: <1689849964.00f6b12b6c6957462c26842a42aaea57e28f62fe.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/notebook/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/notebook/Manifest dev-python/notebook/notebook-7.0.0.ebuild X-VCS-Directories: dev-python/notebook/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 00f6b12b6c6957462c26842a42aaea57e28f62fe X-VCS-Branch: master Date: Thu, 20 Jul 2023 10:47:43 +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: b50d13b8-38bb-4164-ab60-a7633c5d1fae X-Archives-Hash: 805166e50facbea00c0a788c66dd0a1f commit: 00f6b12b6c6957462c26842a42aaea57e28f62fe Author: Andrew Ammerlaan gentoo org> AuthorDate: Thu Jul 20 10:27:11 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Jul 20 10:46:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00f6b12b dev-python/notebook: add 7.0.0 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/notebook/Manifest | 1 + dev-python/notebook/notebook-7.0.0.ebuild | 57 +++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index 252b858b9b27..a7dfb7d1f6aa 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,2 +1,3 @@ DIST notebook-6.4.12.tar.gz 14389641 BLAKE2B 1cda6a1eb1f4e7ccce964153bdce8de243588ffd4abcc5ab6687ba0ea347d68c5dd239c2af5bf93809409d850747db28df72be5c2ec03bfd06b725976ae1c599 SHA512 1314cfebe97ddada61e1013fdfd606bed08908c06b58e59f2fda6e63c43a1158eeed6a93a5cddbb609ecad0347bf80ee3a74747104fd29942629734c1ea749f0 DIST notebook-6.5.4.tar.gz 5785832 BLAKE2B 28845c51c244d08b12e6a2853d3407a2af9e351f1501db8e76ff4f069e656d9bf27c3d2893b38f3f2bb51cedf38658219be3843a3397a588046d55bf445d3222 SHA512 72bf4efa4d553a6265c72e188ad0ee085accbbc05b0af182531c892303149d83f38f6d410f1bcb2c835071f713cb4267d58324b982b4087caabf9b46b8d77cfa +DIST notebook-7.0.0.tar.gz 3922786 BLAKE2B 5aaeae9f48c456691607d5ef05012368f0e6abd1eb1266a5fc68ac999027cdb1e03a640b13048b47a754ef8c803bf1fe3a8c056dc600d825fa05387e905183a2 SHA512 fb58c03b60f02cc8b2096c13c493c38324fbb76a93dbb31a94775ed341a9594168598bc3a35ce18ef1ce6e2dd79f7b2e32d752dc3307780cfbc9fbc0c7f1c9a6 diff --git a/dev-python/notebook/notebook-7.0.0.ebuild b/dev-python/notebook/notebook-7.0.0.ebuild new file mode 100644 index 000000000000..f59b40994b79 --- /dev/null +++ b/dev-python/notebook/notebook-7.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi xdg-utils + +DESCRIPTION="Jupyter Interactive Notebook" +HOMEPAGE="https://jupyter.org" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}] + =dev-python/jupyterlab-4.0.2[${PYTHON_USEDEP}] + =dev-python/notebook-shim-0.2[${PYTHON_USEDEP}] + =dev-python/tornado-6.2.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/nbval[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-unixsocket[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}