diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-05 07:40:46 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-05 07:40:46 +0200 |
commit | 4a5a2a17acf7fd84afb89f8845a593efc518f028 (patch) | |
tree | c3c0ded27c3aa5de24a6231dc26db0679bd1caf6 /dev-python/notebook | |
parent | dev-python/mkdocs-pymdownx-material-extras: Bump to 2.5.1 (diff) | |
download | gentoo-4a5a2a17acf7fd84afb89f8845a593efc518f028.tar.gz gentoo-4a5a2a17acf7fd84afb89f8845a593efc518f028.tar.bz2 gentoo-4a5a2a17acf7fd84afb89f8845a593efc518f028.zip |
dev-python/notebook: Bump to 7.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/notebook')
-rw-r--r-- | dev-python/notebook/Manifest | 1 | ||||
-rw-r--r-- | dev-python/notebook/notebook-7.0.2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/notebook/Manifest b/dev-python/notebook/Manifest index e411c25222e4..d9f7eefd63d6 100644 --- a/dev-python/notebook/Manifest +++ b/dev-python/notebook/Manifest @@ -1,3 +1,4 @@ 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 +DIST notebook-7.0.2.tar.gz 3927445 BLAKE2B 09f867a5eed76616d749afcd18bf673fc2c09f5073a17d5a89a284d8aacb9e110a67f24973e0ba165027b3199f8e9032f549aabcbd8d3bc67a9d6533d21a4e09 SHA512 b204f15f855f8e829dfd1d325be664cc0328e2b897d838bfd9721ca369d4da8d0d1012bff69b40a35f0b186d3eae5f46326604eefb0b8e91824a815deedbcc67 diff --git a/dev-python/notebook/notebook-7.0.2.ebuild b/dev-python/notebook/notebook-7.0.2.ebuild new file mode 100644 index 000000000000..f59b40994b79 --- /dev/null +++ b/dev-python/notebook/notebook-7.0.2.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 +} |