public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbclassic/
Date: Fri, 27 Jan 2023 10:52:21 +0000 (UTC)	[thread overview]
Message-ID: <1674816690.71bace780946afc8e42c974219df36b62c1331e3.mgorny@gentoo> (raw)

commit:     71bace780946afc8e42c974219df36b62c1331e3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 08:44:11 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 10:51:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71bace78

dev-python/nbclassic: Bump to 0.5.1

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

 dev-python/nbclassic/Manifest               |  1 +
 dev-python/nbclassic/nbclassic-0.5.1.ebuild | 91 +++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-python/nbclassic/Manifest b/dev-python/nbclassic/Manifest
index 7b769c3d9cda..c58d147685f4 100644
--- a/dev-python/nbclassic/Manifest
+++ b/dev-python/nbclassic/Manifest
@@ -1 +1,2 @@
 DIST nbclassic-0.4.8.tar.gz 19875247 BLAKE2B f6a4ff226ebd7c39fa657e06c1854e24ef7e50e893cc1a0b52c0cef194f8638b26a3b4a74d6d4077c055470bf1a7895995e184f3678b1157813981223631f6a6 SHA512 a0b6cc7823da3e7bd3ae7627994fd6a0e79adcc201763e6597e41d0f2a1fe287edb38903e4240702a34e20bd5e3c32c5460ca3b3355f59585bd2aa8dc46276f2
+DIST nbclassic-0.5.1.tar.gz 20178622 BLAKE2B 1ff79c9af218011c697016ecef149f42e683607eebb8e199ef75957d9d3127858ce8f443aeedb60844e3277b4c8cd4959d123658a5103ab2112fec469ef01a96 SHA512 1dabc27ad115d1961e7881e7a51653449cae291c74aea222bbf92d49cb7bc9657ae1f1d9a81eafbd70bc0cafd57b75cd2c76bebf91aabc5fdd9eede534f1cec9

diff --git a/dev-python/nbclassic/nbclassic-0.5.1.ebuild b/dev-python/nbclassic/nbclassic-0.5.1.ebuild
new file mode 100644
index 000000000000..a74dc32439bf
--- /dev/null
+++ b/dev-python/nbclassic/nbclassic-0.5.1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=jupyter
+
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="Jupyter Notebook as a Jupyter Server Extension"
+HOMEPAGE="
+	https://jupyter.org/
+	https://github.com/jupyter/nbclassic/
+	https://pypi.org/project/nbclassic/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	dev-python/argon2-cffi[${PYTHON_USEDEP}]
+	dev-python/ipykernel[${PYTHON_USEDEP}]
+	dev-python/ipython_genutils[${PYTHON_USEDEP}]
+	dev-python/jinja[${PYTHON_USEDEP}]
+	>=dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}]
+	>=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}]
+	>=dev-python/jupyter_server-1.17.0[${PYTHON_USEDEP}]
+	>=dev-python/nbconvert-5[${PYTHON_USEDEP}]
+	dev-python/nbformat[${PYTHON_USEDEP}]
+	>=dev-python/nest_asyncio-1.5[${PYTHON_USEDEP}]
+	>=dev-python/notebook_shim-0.1.0[${PYTHON_USEDEP}]
+	dev-python/prometheus_client[${PYTHON_USEDEP}]
+	>=dev-python/send2trash-1.8.0[${PYTHON_USEDEP}]
+	>=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
+	>=dev-python/tornado-6.1[${PYTHON_USEDEP}]
+	>=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
+
+	<dev-python/notebook-7[${PYTHON_USEDEP}]
+"
+
+# dev-python/nbval is missing impls
+BDEPEND="
+	test? (
+		dev-python/pytest_jupyter[${PYTHON_USEDEP}]
+		dev-python/pytest-tornasync[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/requests-unixsocket[${PYTHON_USEDEP}]
+		dev-python/testpath[${PYTHON_USEDEP}]
+	)
+	doc? (
+		virtual/pandoc
+	)
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+	dev-python/sphinx_rtd_theme \
+	dev-python/nbsphinx \
+	dev-python/sphinxcontrib-github-alt \
+	dev-python/myst_parser \
+	dev-python/ipython_genutils
+
+EPYTEST_DESELECT=(
+	# TODO: package jupyter_server_terminals
+	tests/test_notebookapp.py::test_tree_handler
+	tests/test_notebookapp.py::test_terminal_handler
+)
+
+python_test() {
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	epytest -p pytest_tornasync.plugin
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+	# move /usr/etc stuff to /etc
+	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	other threads:[~2023-01-27 10:52 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 10:52 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-28 12:29 [gentoo-commits] repo/gentoo:master commit in: dev-python/nbclassic/ Michał Górny
2024-05-28 12:11 Michał Górny
2024-05-28  7:40 Michał Górny
2024-05-27 17:03 Andrew Ammerlaan
2023-10-18 11:36 Andrew Ammerlaan
2023-10-15 15:46 Michał Górny
2023-06-27 12:01 Michał Górny
2023-06-27  6:34 Sam James
2023-05-06 12:01 Sam James
2023-05-06 11:04 Arthur Zamarin
2023-05-06 10:37 Arthur Zamarin
2023-05-06 10:31 Arthur Zamarin
2023-05-06 10:30 Arthur Zamarin
2023-05-06 10:19 Arthur Zamarin
2023-05-06 10:13 Arthur Zamarin
2023-05-06 10:04 Arthur Zamarin
2023-05-04  8:06 Michał Górny
2023-04-27 17:24 Michał Górny
2023-04-14 22:30 Sam James
2023-04-14 19:43 Sam James
2023-04-08  6:08 Michał Górny
2023-04-06  4:02 WANG Xuerui
2023-04-05  6:10 Michał Górny
2023-04-04  4:48 Michał Górny
2023-03-31 20:59 Sam James
2023-03-31 17:23 Arthur Zamarin
2023-03-31 17:23 Arthur Zamarin
2023-03-24  5:12 Sam James
2023-03-24  3:08 Sam James
2023-03-24  3:07 Sam James
2023-03-22  9:22 Michał Górny
2023-03-15 20:54 Arthur Zamarin
2023-03-14 19:49 Sam James
2023-03-11  6:37 Yixun Lan
2023-03-06 14:05 Michał Górny
2023-02-19  4:32 Michał Górny
2022-11-14  4:44 Michał Górny
2022-11-04  8:39 Arthur Zamarin
2022-10-27 10:23 Andrew Ammerlaan
2022-10-21  5:14 Michał Górny
2022-10-21  5:14 Michał Górny
2022-10-12 19:22 Sam James
2022-10-12 11:18 Michał Górny
2022-10-08  8:01 Michał Górny
2022-10-05 13:23 Andrew Ammerlaan
2022-07-03  4:01 Michał Górny
2022-06-04 19:57 Michał Górny
2022-05-02 10:56 Andrew Ammerlaan
2022-05-02 10:56 Andrew Ammerlaan
2022-03-24  8:39 Andrew Ammerlaan
2022-01-12  8:36 Michał Górny
2021-12-29 12:42 Andrew Ammerlaan
2021-11-14  8:52 Michał Górny
2021-10-25 13:28 Andrew Ammerlaan
2021-09-09 13:39 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1674816690.71bace780946afc8e42c974219df36b62c1331e3.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox