From 979898cb45139dd0e6727a01df15b602f74a8dd3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Apr 2023 23:21:12 +0100 Subject: gentoo auto-resync : 03:04:2023 - 23:21:12 --- dev-python/nbclient/Manifest | 2 ++ dev-python/nbclient/nbclient-0.7.3.ebuild | 56 +++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 dev-python/nbclient/nbclient-0.7.3.ebuild (limited to 'dev-python/nbclient') diff --git a/dev-python/nbclient/Manifest b/dev-python/nbclient/Manifest index 7707c7d87666..006bfb72dc3e 100644 --- a/dev-python/nbclient/Manifest +++ b/dev-python/nbclient/Manifest @@ -1,3 +1,5 @@ DIST nbclient-0.7.2.gh.tar.gz 76883 BLAKE2B d90b9dd7b15757a44c86084b68b916aab663c0e20a5c1012bda9f86a0ec1104a01cd78d27bc6e510eceeee12f2356a312d8080e1568e4c54dd2e916af85dc304 SHA512 17f1bfbfa156688e895ab1a0d0f74903f43c62a373a40cfcc50a654d86ebbaeb5ed101562716140a3878a9667bb131c49e06caf2e3127160700baf181cd1c29b +DIST nbclient-0.7.3.gh.tar.gz 77997 BLAKE2B 613c06596ea0cc970d57115950248cbb052babccec397a9aa543b0058cdb94f797a7c5cf554a9122927a4138f0f06827a77f535fc83a858519873bda0c389230 SHA512 bdd093cafbe6a101de779de2e51d7e2e9abce80fa8ef5b5340b4cb8fb53d0051f6f677006cadaa3a69e727634043b7ab5416777e7cf8e0507d5d1d163016f8d5 EBUILD nbclient-0.7.2.ebuild 1537 BLAKE2B f965f30cdc05718f56aff073f684f013b9283c3609c0c439d1c8beac5e20b046bb285abdd4eaf9316c9aaaa0cb93aba7fc5ec9b23fa699966f610ed2eb52b379 SHA512 bb7a6f4b1c39ff1b3f1897db1648ce76cb964cb404f0b9d85359a4ad37cb63a93ff9a3681b221777ca7d07880c03855bffba1e086307744c3329ce79d53fdc6f +EBUILD nbclient-0.7.3.ebuild 1545 BLAKE2B 2b8c840da50d2e662ce61f08de3545fb5f1863d68c0a41ed6d4f53ccb224c6a9def9767c6bfbe66b7fee5161ab642f39bd6a813a34832e678ac19d6438e4a2e3 SHA512 410063f6cc4f6151479d88dd547aa9f6db27dd38d90f8e953974f7e8b23a32986be0d6e641b7fa919114456af82f6546633376d95c3f21017b5ae4e283acc70b MISC metadata.xml 405 BLAKE2B d1efa5f7bb2a959bdbc6093b1bd3930e6cdb9bffbe872c6775c15dfc1024ae24d6bcb4651c8e1fb06242b17d6a86f683de3b528bbf1a60b5656a90c1f4ac81b7 SHA512 5b0de690d37dd5928e3bfd0b380336d154cced094e342b41dfd16d0caddd2b792a2158b209404a36461cf4d1b12d836024eae2aedf15093b90f4e363382b38bf diff --git a/dev-python/nbclient/nbclient-0.7.3.ebuild b/dev-python/nbclient/nbclient-0.7.3.ebuild new file mode 100644 index 000000000000..1f8c2146f764 --- /dev/null +++ b/dev-python/nbclient/nbclient-0.7.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/jupyter_client-6.1.12[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-5.1.0[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/ipywidgets[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + nbclient/tests/test_client.py::test_many_parallel_notebooks + 'nbclient/tests/test_client.py::test_run_all_notebooks[Interrupt.ipynb-opts6]' +) + +python_test() { + # The tests run the pydevd debugger, the debugger prints a warning + # in python3.11 when frozen modules are being used. + # This warning makes the tests fail, silence it. + PYDEVD_DISABLE_FILE_VALIDATION=1 epytest +} -- cgit v1.2.3