commit:     f5869481cbace172b4315d7c725fdc77368ee6bb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 07:35:09 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 08:06:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5869481

dev-python/notebook: Bump to 7.3.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/notebook/Manifest              |  1 +
 dev-python/notebook/notebook-7.3.2.ebuild | 66 +++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest
index f60c48d1e299..30db1a350be0 100644
--- a/dev-python/notebook/Manifest
+++ b/dev-python/notebook/Manifest
@@ -1,2 +1,3 @@
 DIST notebook-7.2.2.tar.gz 4948876 BLAKE2B 
2f145ee832e9eff647f7c736d116cbf684ae63948d8e2e1da2a1d8f2d1d3df23d198719bde9f8a705eb5b77b62dbd654e16ac4de658fbd4a9a809e37d3add8e4
 SHA512 
b18348e898f6135bea72e759a8137bf32f6ea79619388bd8b3627bd497746a233de69e1b7865bec473a7c49d65f22bc5755afbf79eeb1b4dbb7e0e3e8afe8e7f
 DIST notebook-7.3.1.tar.gz 12777449 BLAKE2B 
76e874c692ecdd6cf0b694c5185184e7f6523ef75e65b3dbe512773f4194dfb56fe41bac6b41af6f5a14fcd7c56251efc68b3812fe20460bd4681bedc6331d1a
 SHA512 
af9f4f85163e5494e3e7540d2ef5cc63304018a1afd3ad48158e5b9192ca6c7b1a23760f62ae372fb4a73c081fab1255649ac592b717270f86266712173f500f
+DIST notebook-7.3.2.tar.gz 12781804 BLAKE2B 
708d9d2bf43db2de71b4a9b5b1bf664b5922cde036171e7792238e10b6ac05a2ae93dcf478dc7d9d262ab8bbf8ad916695f46eeddd32ea763b53bd8c53009f73
 SHA512 
71c81e745488985ecb75b37e70d5c3937a824366270e3ee8d45c6bc535614d1e5c0f0f06b5e2b7bc0a8d5f47fa99679d1fe6de86659f494be9ba4d99e9bfe34e

diff --git a/dev-python/notebook/notebook-7.3.2.ebuild 
b/dev-python/notebook/notebook-7.3.2.ebuild
new file mode 100644
index 000000000000..471a77ab8f5f
--- /dev/null
+++ b/dev-python/notebook/notebook-7.3.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 pypi xdg-utils
+
+DESCRIPTION="Jupyter Interactive Notebook"
+HOMEPAGE="
+       https://jupyter.org/
+       https://github.com/jupyter/notebook/
+       https://pypi.org/project/notebook/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+       >=dev-python/jupyter-server-2.4.0[${PYTHON_USEDEP}]
+       <dev-python/jupyter-server-3[${PYTHON_USEDEP}]
+       >=dev-python/jupyterlab-4.3.4[${PYTHON_USEDEP}]
+       <dev-python/jupyterlab-4.4[${PYTHON_USEDEP}]
+       >=dev-python/jupyterlab-server-2.27.1[${PYTHON_USEDEP}]
+       <dev-python/jupyterlab-server-3[${PYTHON_USEDEP}]
+       >=dev-python/notebook-shim-0.2[${PYTHON_USEDEP}]
+       <dev-python/notebook-shim-0.3[${PYTHON_USEDEP}]
+       >=dev-python/tornado-6.2.0[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       dev-python/hatch-jupyter-builder[${PYTHON_USEDEP}]
+       >=dev-python/jupyterlab-4.3.2[${PYTHON_USEDEP}]
+       <dev-python/jupyterlab-4.4[${PYTHON_USEDEP}]
+       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
+}

Reply via email to