summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-01 22:31:31 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-01 22:41:56 +0300
commitedae6ab90989e45b335bf5424c0ecceda760d384 (patch)
treedb97091e6e3435ecad9c82354e8a302f2d9cfff8
parentdev-python/pikepdf: add 5.6.1 (diff)
downloadgentoo-edae6ab90989e45b335bf5424c0ecceda760d384.tar.gz
gentoo-edae6ab90989e45b335bf5424c0ecceda760d384.tar.bz2
gentoo-edae6ab90989e45b335bf5424c0ecceda760d384.zip
dev-python/nbclient: add 0.6.7
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--dev-python/nbclient/Manifest1
-rw-r--r--dev-python/nbclient/nbclient-0.6.7.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/nbclient/Manifest b/dev-python/nbclient/Manifest
index d2413da27530..d66140a4798e 100644
--- a/dev-python/nbclient/Manifest
+++ b/dev-python/nbclient/Manifest
@@ -1 +1,2 @@
DIST nbclient-0.6.6.gh.tar.gz 78247 BLAKE2B 06793fe792dcb8606d74e85a7a5c4d8f3ba850f81191bf205706e404e67bfe3d6914dff5790c5d6dca62d7797482518b5d87b06da34f06a5cb44a8a0ff6855e4 SHA512 8ca0333a47920994d8afe7c8943b366d4669e7ad91daab1a36c57480b70e51dfd05c7cd44acd2a2005b8c0a6b41c4fe6be0fc22b75a3efe291e9c35dd334643c
+DIST nbclient-0.6.7.gh.tar.gz 78345 BLAKE2B dba9c98ab7d0b65470268dabc5d7dbee65e9c800252e61de6e9fe28a59a2da5c9b2046b7835468a8807445bb657152071cad7a28c717049d5762c13634175e34 SHA512 67fc7a6685df783a0d3af728e18ad2ff7a46d17c66a8e23f651a4d329896ee84d7dda8fcc62c94e277a742c74fe51b9f15f415add747a346ddf3d29056382f23
diff --git a/dev-python/nbclient/nbclient-0.6.7.ebuild b/dev-python/nbclient/nbclient-0.6.7.ebuild
new file mode 100644
index 000000000000..cc41ec1e5d49
--- /dev/null
+++ b/dev-python/nbclient/nbclient-0.6.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A client library for executing Jupyter notebooks"
+HOMEPAGE="
+ https://nbclient.readthedocs.io/en/latest/
+ https://github.com/jupyter/nbclient/
+ https://pypi.org/project/nbclient/
+"
+SRC_URI="
+ https://github.com/jupyter/nbclient/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/jupyter_client-6.1.5[${PYTHON_USEDEP}]
+ >=dev-python/nbformat-5.0[${PYTHON_USEDEP}]
+ dev-python/nest_asyncio[${PYTHON_USEDEP}]
+ >=dev-python/traitlets-5.2.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/ipython[${PYTHON_USEDEP}]
+ dev-python/ipykernel[${PYTHON_USEDEP}]
+ dev-python/ipywidgets[${PYTHON_USEDEP}]
+ dev-python/testpath[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ 'nbclient/tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6]'
+)