commit:     389117a1e5642d364576d67bfc763f2db74e73e1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 31 13:08:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 31 13:08:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=389117a1

dev-python/notebook: Bump to 7.0.3

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

 dev-python/notebook/Manifest              |  1 +
 dev-python/notebook/notebook-7.0.3.ebuild | 61 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest
index d9f7eefd63d6..ef361da10301 100644
--- a/dev-python/notebook/Manifest
+++ b/dev-python/notebook/Manifest
@@ -2,3 +2,4 @@ DIST notebook-6.5.4.tar.gz 5785832 BLAKE2B 
28845c51c244d08b12e6a2853d3407a2af9e3
 DIST notebook-7.0.0.tar.gz 3922786 BLAKE2B 
5aaeae9f48c456691607d5ef05012368f0e6abd1eb1266a5fc68ac999027cdb1e03a640b13048b47a754ef8c803bf1fe3a8c056dc600d825fa05387e905183a2
 SHA512 
fb58c03b60f02cc8b2096c13c493c38324fbb76a93dbb31a94775ed341a9594168598bc3a35ce18ef1ce6e2dd79f7b2e32d752dc3307780cfbc9fbc0c7f1c9a6
 DIST notebook-7.0.1.tar.gz 3926420 BLAKE2B 
a711c6202ec87f5b9ee9b82779048f4dc366643a645890006b6588ddd70428e79e4028171cc4b4fb4fa1e6f93a2a948aae34980915ad4a2a5f7c34971e6bf917
 SHA512 
4bfae67044525527c1d5ff1dd269c8ca1179bbef3a9f0cf043244103c996f02ef4cbbf11c4ceffe84ca0cb0a8250f18cd3ebf6dd55cca53ceaa47f65df7dae22
 DIST notebook-7.0.2.tar.gz 3927445 BLAKE2B 
09f867a5eed76616d749afcd18bf673fc2c09f5073a17d5a89a284d8aacb9e110a67f24973e0ba165027b3199f8e9032f549aabcbd8d3bc67a9d6533d21a4e09
 SHA512 
b204f15f855f8e829dfd1d325be664cc0328e2b897d838bfd9721ca369d4da8d0d1012bff69b40a35f0b186d3eae5f46326604eefb0b8e91824a815deedbcc67
+DIST notebook-7.0.3.tar.gz 3934398 BLAKE2B 
0047d1fa403e3fb6ededb764f99f9e76aaba6099055ac6dd28183e8d7921dc8a9bb68072b7909f4fb749a26f01989c88c45cf58fe3583250bb0bf9d0847dc1ac
 SHA512 
141acc5b46b7c3023c5aab3cdcfaa287225c627bde053f8958bdce5bdfd600ba2bfa5f119ce8b026cf1889cd7acb265a4c13eae6b0afdd1ed2a4fcfb3264976f

diff --git a/dev-python/notebook/notebook-7.0.3.ebuild 
b/dev-python/notebook/notebook-7.0.3.ebuild
new file mode 100644
index 000000000000..61c76b2fb5e8
--- /dev/null
+++ b/dev-python/notebook/notebook-7.0.3.ebuild
@@ -0,0 +1,61 @@
+# 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/
+       https://github.com/jupyter/notebook/
+       https://pypi.org/project/notebook/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+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