commit:     292e66e82beced62922f9e1c318f37312696ab06
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  1 02:14:16 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug  1 03:01:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=292e66e8

dev-python/notebook: Bump to 7.0.1

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

 dev-python/notebook/Manifest              |  1 +
 dev-python/notebook/notebook-7.0.1.ebuild | 57 +++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest
index dbd70028fc9f..e411c25222e4 100644
--- a/dev-python/notebook/Manifest
+++ b/dev-python/notebook/Manifest
@@ -1,2 +1,3 @@
 DIST notebook-6.5.4.tar.gz 5785832 BLAKE2B 
28845c51c244d08b12e6a2853d3407a2af9e351f1501db8e76ff4f069e656d9bf27c3d2893b38f3f2bb51cedf38658219be3843a3397a588046d55bf445d3222
 SHA512 
72bf4efa4d553a6265c72e188ad0ee085accbbc05b0af182531c892303149d83f38f6d410f1bcb2c835071f713cb4267d58324b982b4087caabf9b46b8d77cfa
 DIST notebook-7.0.0.tar.gz 3922786 BLAKE2B 
5aaeae9f48c456691607d5ef05012368f0e6abd1eb1266a5fc68ac999027cdb1e03a640b13048b47a754ef8c803bf1fe3a8c056dc600d825fa05387e905183a2
 SHA512 
fb58c03b60f02cc8b2096c13c493c38324fbb76a93dbb31a94775ed341a9594168598bc3a35ce18ef1ce6e2dd79f7b2e32d752dc3307780cfbc9fbc0c7f1c9a6
+DIST notebook-7.0.1.tar.gz 3926420 BLAKE2B 
a711c6202ec87f5b9ee9b82779048f4dc366643a645890006b6588ddd70428e79e4028171cc4b4fb4fa1e6f93a2a948aae34980915ad4a2a5f7c34971e6bf917
 SHA512 
4bfae67044525527c1d5ff1dd269c8ca1179bbef3a9f0cf043244103c996f02ef4cbbf11c4ceffe84ca0cb0a8250f18cd3ebf6dd55cca53ceaa47f65df7dae22

diff --git a/dev-python/notebook/notebook-7.0.1.ebuild 
b/dev-python/notebook/notebook-7.0.1.ebuild
new file mode 100644
index 000000000000..f59b40994b79
--- /dev/null
+++ b/dev-python/notebook/notebook-7.0.1.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/jupyter-server-3[${PYTHON_USEDEP}]
+       >=dev-python/jupyterlab-4.0.2[${PYTHON_USEDEP}]
+       <dev-python/jupyterlab-5[${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="
+       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