From b46782805d0eed36ce9685f7e9abf25671f24d7d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 21 Dec 2022 01:52:56 +0000 Subject: gentoo auto-resync : 21:12:2022 - 01:52:55 --- dev-python/Manifest.gz | Bin 260077 -> 260578 bytes dev-python/ipykernel/Manifest | 2 + dev-python/ipykernel/ipykernel-6.19.4.ebuild | 69 ++++++++++++++++ dev-python/jupyter_events/Manifest | 3 + .../jupyter_events/jupyter_events-0.5.0.ebuild | 35 ++++++++ dev-python/jupyter_events/metadata.xml | 17 ++++ dev-python/jupyter_server/Manifest | 3 + .../files/jupyter_server-2.0.1-skip-npm.patch | 22 +++++ .../jupyter_server/jupyter_server-2.0.1.ebuild | 79 ++++++++++++++++++ dev-python/jupyterlab/Manifest | 2 + dev-python/jupyterlab/jupyterlab-3.5.2.ebuild | 70 ++++++++++++++++ dev-python/jupyterlab_server/Manifest | 2 + .../jupyterlab_server-2.16.5.ebuild | 63 ++++++++++++++ dev-python/nbconvert/Manifest | 2 + dev-python/nbconvert/nbconvert-7.2.7.ebuild | 92 +++++++++++++++++++++ dev-python/nbformat/Manifest | 3 + .../nbformat/files/nbformat-5.7.1-no-node.patch | 27 ++++++ dev-python/nbformat/nbformat-5.7.1.ebuild | 47 +++++++++++ dev-python/pychromecast/Manifest | 4 +- dev-python/pychromecast/metadata.xml | 1 + dev-python/pychromecast/pychromecast-13.0.4.ebuild | 22 +++++ dev-python/pytest_jupyter/Manifest | 3 + dev-python/pytest_jupyter/metadata.xml | 17 ++++ .../pytest_jupyter/pytest_jupyter-0.6.2.ebuild | 31 +++++++ dev-python/python-json-logger/Manifest | 3 + dev-python/python-json-logger/metadata.xml | 14 ++++ .../python-json-logger-2.0.4.ebuild | 22 +++++ 27 files changed, 654 insertions(+), 1 deletion(-) create mode 100644 dev-python/ipykernel/ipykernel-6.19.4.ebuild create mode 100644 dev-python/jupyter_events/Manifest create mode 100644 dev-python/jupyter_events/jupyter_events-0.5.0.ebuild create mode 100644 dev-python/jupyter_events/metadata.xml create mode 100644 dev-python/jupyter_server/files/jupyter_server-2.0.1-skip-npm.patch create mode 100644 dev-python/jupyter_server/jupyter_server-2.0.1.ebuild create mode 100644 dev-python/jupyterlab/jupyterlab-3.5.2.ebuild create mode 100644 dev-python/jupyterlab_server/jupyterlab_server-2.16.5.ebuild create mode 100644 dev-python/nbconvert/nbconvert-7.2.7.ebuild create mode 100644 dev-python/nbformat/files/nbformat-5.7.1-no-node.patch create mode 100644 dev-python/nbformat/nbformat-5.7.1.ebuild create mode 100644 dev-python/pychromecast/pychromecast-13.0.4.ebuild create mode 100644 dev-python/pytest_jupyter/Manifest create mode 100644 dev-python/pytest_jupyter/metadata.xml create mode 100644 dev-python/pytest_jupyter/pytest_jupyter-0.6.2.ebuild create mode 100644 dev-python/python-json-logger/Manifest create mode 100644 dev-python/python-json-logger/metadata.xml create mode 100644 dev-python/python-json-logger/python-json-logger-2.0.4.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 15057659d104..0dcb3c655627 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index 4a3767438301..8f106546cf77 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,7 +1,9 @@ DIST ipykernel-6.18.3.tar.gz 141999 BLAKE2B da5b0b2a36a58f2c91fdeab95a7e4bb33e09f9663eccb6d394f69a5a25e7e55e3f18315d017aaf435607efa73acca955665f7720b75ac4aa3256aa034698082d SHA512 0687ac146bac38bbdd6abad11df31572cb105bd41b79de98b40c18b60cdcb550b7ea10d68acf99f26d70c00ed4ef371d6dc2b6a4ce27eccae3f736955754ca1a DIST ipykernel-6.19.2.tar.gz 143367 BLAKE2B f6f38f5eed3a11951d303f49c58131d9473040b34032c133cf0f788bb648fc7c8529e3879dce315dcd3eda4eb1be45eb4891d10d4a2d006bb7947f2b342a47a7 SHA512 67ccbffb2d9eba27e9b87c7bd9dc471955c0109ea30caf77412f74c803dc25ab526de90d8351c9459b5d7b2009c746f73ac4a08ae8c277d2e2de8344aef71834 DIST ipykernel-6.19.3.tar.gz 143840 BLAKE2B 9736d1ae2a2ef3c807bcea78aafc4ca2e3813693bddf9eac82425aed78382c36d736d5b4351989d9fdf3343335c503fef92f76ebff5a313e5af222aa78a04a04 SHA512 5c37e60ee353e469c0d7fce20a66d8e71dc57120ace6d518ed98816280c794ffafe8e8226545d978fc822760b5874371eafcb20cb7195328e505073eb70b4f06 +DIST ipykernel-6.19.4.tar.gz 144072 BLAKE2B 25e2031a9198079488ef43b9c65e656be720ec8ac6648cb3eb65705be5c117d32c783776c0d8f5da466e745979ccb64573720146c0b41835ecb646bf25e7d4f8 SHA512 623a8cac7abfce0147a08fe55bf88772bfaf317431a608a99ae3e7058ebb120464d751a8b95633ccde5201b4cc2c1bde32dd823add96e5f2bb1ef20da19652dd EBUILD ipykernel-6.18.3.ebuild 2062 BLAKE2B 4c231d0e9288f4d9b7d40db29ad495b78be4ed84deeb55932acc3b4e222be7e642d9da7bb44f6734cef32fd19fca79aa651173f2b2544637cafe92509e533c35 SHA512 5b6a0145fbe7ba37a92179e3ab475c30aa5c3ac46252328df086719ebbe94aa2645f7702712dfe1ab89d0cdf94335d73430913681ee9022a5bd643233059805e EBUILD ipykernel-6.19.2.ebuild 2078 BLAKE2B 2538c93fab041125eb9a3550c40769396f10214d3677fdeaee81501804d839ea337652eede98e96127196c27ecb43e10cb2bc46896420b3936c1f6a736ce1ae7 SHA512 e0ca85d89bf6c7e143b65900bab208278add9595c493132a5570940744a4dda03b4807685c18e831339d01cb1910bf6007e9d488dc41054ea40b4b72a9d30110 EBUILD ipykernel-6.19.3.ebuild 2078 BLAKE2B 2538c93fab041125eb9a3550c40769396f10214d3677fdeaee81501804d839ea337652eede98e96127196c27ecb43e10cb2bc46896420b3936c1f6a736ce1ae7 SHA512 e0ca85d89bf6c7e143b65900bab208278add9595c493132a5570940744a4dda03b4807685c18e831339d01cb1910bf6007e9d488dc41054ea40b4b72a9d30110 +EBUILD ipykernel-6.19.4.ebuild 2078 BLAKE2B 2538c93fab041125eb9a3550c40769396f10214d3677fdeaee81501804d839ea337652eede98e96127196c27ecb43e10cb2bc46896420b3936c1f6a736ce1ae7 SHA512 e0ca85d89bf6c7e143b65900bab208278add9595c493132a5570940744a4dda03b4807685c18e831339d01cb1910bf6007e9d488dc41054ea40b4b72a9d30110 MISC metadata.xml 527 BLAKE2B 4a24cb9d5b801bf94c71c47d0c90b04bc249fb41a794c7b688a5762f08545d1fcfe9e4976aa4f583ecb456458b5f6dfc394349633959444584c0abad0da4be42 SHA512 ed9f0ef12ec5de67a646783243555f1737604a84c78c57b9f7c65137cec8cbc396991411501927f92bd393daad2238c27363ecc9c115031450231c2a4fb2cbb9 diff --git a/dev-python/ipykernel/ipykernel-6.19.4.ebuild b/dev-python/ipykernel/ipykernel-6.19.4.ebuild new file mode 100644 index 000000000000..52fc858aaae0 --- /dev/null +++ b/dev-python/ipykernel/ipykernel-6.19.4.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE=" + https://github.com/ipython/ipykernel/ + https://pypi.org/project/ipykernel/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/comm-0.1.1[${PYTHON_USEDEP}] + >=dev-python/debugpy-1.0[${PYTHON_USEDEP}] + >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_client-6.1.12[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1[${PYTHON_USEDEP}] + dev-python/nest_asyncio[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pyzmq-17[${PYTHON_USEDEP}] + >=dev-python/tornado-6.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.4.0[${PYTHON_USEDEP}] +" +# RDEPEND seems specifically needed in BDEPEND, at least jupyter +# bug #816486 +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/ipyparallel[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + ipykernel/tests/test_debugger.py::test_attach_debug + ipykernel/tests/test_debugger.py::test_breakpoint_in_cell_with_leading_empty_lines + ipykernel/tests/test_debugger.py::test_rich_inspect_at_breakpoint + ipykernel/tests/test_debugger.py::test_rich_inspect_not_at_breakpoint + ipykernel/tests/test_debugger.py::test_set_breakpoints + ipykernel/tests/test_debugger.py::test_stop_on_breakpoint +) + +src_prepare() { + sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + # Use python3 in kernel.json configuration, bug #784764 + sed -i -e '/python3.[0-9]\+/s//python3/' \ + "${BUILD_DIR}/install${EPREFIX}/usr/share/jupyter/kernels/python3/kernel.json" || die +} diff --git a/dev-python/jupyter_events/Manifest b/dev-python/jupyter_events/Manifest new file mode 100644 index 000000000000..e0d6b674a000 --- /dev/null +++ b/dev-python/jupyter_events/Manifest @@ -0,0 +1,3 @@ +DIST jupyter_events-0.5.0.tar.gz 55838 BLAKE2B a3ac815a28d2592a10394569726b76de75cb3baab0bab4c1f276da33375ba93d6bfed71fbfaca404a238b7af58ebd7e75dd7fdf6c8717141517c2f790eeb9514 SHA512 49c21f0d5dce18b137f73911b0272919a56c972561deceb228558ea369f2091ce219ac335eec002b22ca1465b2622330fb3d8973d142df4b76e350345cb6249a +EBUILD jupyter_events-0.5.0.ebuild 833 BLAKE2B 5883893a88f71e33a1ae34f718114938129b67252f83777ff7b84310d48f3e220d6c5ac82ba18b4d241afffb2d0bc395c34f63b32e32c9069465e61db2d524e7 SHA512 5e881b4bf18cbe8addfd855cd6b27c744282be0ab6d55c12f2cf0b7c502c9347566e58cc6dfe4088c49edcb9b101c4ed592d905632ce46857e8fb4b4020a8864 +MISC metadata.xml 537 BLAKE2B dfe33b67ac51a46c9ad33d4b0e02ff39d5aa1780d70f92f12b7ee8ac336c43caa79201bebd42c461373bfdc7608580487ec000613cf92765fec352b70a8aec13 SHA512 689e8a1125b4da96db6d6c4495933ee29d24666ad9e7e3af891170f8da512ac388c005836402c74418476cb9838f278c19f5267840533cef0e02091d47fa43ea diff --git a/dev-python/jupyter_events/jupyter_events-0.5.0.ebuild b/dev-python/jupyter_events/jupyter_events-0.5.0.ebuild new file mode 100644 index 000000000000..87427379450f --- /dev/null +++ b/dev-python/jupyter_events/jupyter_events-0.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Jupyter Event System library" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +RDEPEND=" + >=dev-python/jsonschema-4.3.0[${PYTHON_USEDEP}] + dev-python/python-json-logger[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +# TODO: package jupyterlite-sphinx +# distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/jupyter_events/metadata.xml b/dev-python/jupyter_events/metadata.xml new file mode 100644 index 000000000000..0b3c9998d541 --- /dev/null +++ b/dev-python/jupyter_events/metadata.xml @@ -0,0 +1,17 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + python@gentoo.org + Python + + + + jupyter-events + jupyter/jupyter_events + + diff --git a/dev-python/jupyter_server/Manifest b/dev-python/jupyter_server/Manifest index 0e9a88e503ca..b5edb8ed6155 100644 --- a/dev-python/jupyter_server/Manifest +++ b/dev-python/jupyter_server/Manifest @@ -1,3 +1,6 @@ +AUX jupyter_server-2.0.1-skip-npm.patch 699 BLAKE2B 0777af6f628e89d5e01ff518978a558ce4ffeb0acdc38d956948f66d1d88cc41af653d96d0dd8b26ecde1c706f47a60ea1c819dd2747276876c76f9d13b3b4ea SHA512 587f72d431dacdd56b7201d3c91a6eeaf0c6614eb760b405888ee0fe715cfaaca5de8bf2ebfae23c95b12beac00da20bfc810d5bf1cf9b336bdb4c2b1c3a3f43 DIST jupyter_server-1.19.1.tar.gz 453411 BLAKE2B 800231e7e7ddfcf2a2c2f2725971983d754c76940623ce000e6b86ad503bc6ca68a27e55ca3766193e58184a7148471464dfa9c27076e53ac84b176b8ff65897 SHA512 f4228c73950e49fe26add11c61f3de425b963726908a2df7dae21bb38b986c2ebb6abfc3319ef9e3acbc2fef9579a1a70ac594920985977adf580a082d272368 +DIST jupyter_server-2.0.1.tar.gz 680584 BLAKE2B 06ec85e0088f3ab7d08935b2b085c96d4ce9b787895a573024f64af48b78a7c99bbe8fa8330f8536b55d32fd7321a5cb56958a55a6044aec687107d13dce9db0 SHA512 c8d676da5af479ca0492c94615b01f9d2efb0d8e3aefa78437c44997409afeef1eaf7e269ce48047597d83cc82a26602108db17eacddca73179e9042ee145afa EBUILD jupyter_server-1.19.1.ebuild 2282 BLAKE2B 2c9c0450fa3f77034ce1e072425a235d61b6219d5adc624ab591514d4f4faced43d5e8f302aceafe3a4ddb0fcca1b12281351f1075376f127e75e7dc627ecb5b SHA512 2754a4a18aea4ad2529d03ceaf64c81b04ee15a7f6c7d1742b26c187d344be6f52d288957945ebc729d76c6c909a34688e8a434aa4aa3afadce0ae487c7915fd +EBUILD jupyter_server-2.0.1.ebuild 2280 BLAKE2B 0fe8c231cccfe2f35b747835ace6a772775576d8875cd8701ee2581323853c8326e4681f696fbfdae39110692f91a94b331a72734491c36de9cd8880f79cb8d2 SHA512 74fd9c5a3724141eaae1ddac6182b655412e936ba4b680d66ec53159a50a2f2725246a8ef407ea0e0b13d67aa6bebe421efdbb655be2366a03cb339f948009bb MISC metadata.xml 544 BLAKE2B ec5a0aea1d2ad6ce0e59972d2ef4ce62c03877d464dfdc34bcb94a7d01304c63761c6bc30ed973bba1f4100e25f70541bed4eea858deb44f359d0e373ae1ade0 SHA512 ffe7deb7349ce99890b902a225b73913185bfa860237dea8c1a508a6a5e84bbb74ca7a5c43253c9986f97fb3fd1e9f2bb63ca60f73953fcc851359df8adb5fbd diff --git a/dev-python/jupyter_server/files/jupyter_server-2.0.1-skip-npm.patch b/dev-python/jupyter_server/files/jupyter_server-2.0.1-skip-npm.patch new file mode 100644 index 000000000000..18bd285491bd --- /dev/null +++ b/dev-python/jupyter_server/files/jupyter_server-2.0.1-skip-npm.patch @@ -0,0 +1,22 @@ +diff --git a/pyproject.toml b/pyproject.toml +index a23f5e1..203f47f 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -140,17 +140,6 @@ validate-bump = false + [tool.hatch.build] + artifacts = ["jupyter_server/static/style"] + +-[tool.hatch.build.hooks.jupyter-builder] +-dependencies = ["hatch-jupyter-builder>=0.8.1"] +-build-function = "hatch_jupyter_builder.npm_builder" +-ensured-targets = [ +- "jupyter_server/static/style/bootstrap.min.css", +- "jupyter_server/static/style/bootstrap-theme.min.css" +-] +-skip-if-exists = ["jupyter_server/static/style/bootstrap.min.css"] +-install-pre-commit-hook = true +-optional-editable-build = true +- + [tool.black] + line-length = 100 + target-version = ["py38"] diff --git a/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild b/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild new file mode 100644 index 000000000000..fcbdb61311d6 --- /dev/null +++ b/dev-python/jupyter_server/jupyter_server-2.0.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + =dev-python/jupyter_client-6.1.1[${PYTHON_USEDEP}] + >=dev-python/jupyter_core-4.12.0[${PYTHON_USEDEP}] + >=dev-python/jupyter_events-0.4.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/prometheus_client[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + dev-python/send2trash[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + +" +BDEPEND=" + test? ( + dev-python/ipykernel[${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}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + dev-python/pydata-sphinx-theme \ + dev-python/myst_parser \ + dev-python/ipython \ + dev-python/sphinxemoji \ + dev-python/sphinxcontrib-github-alt \ + dev-python/sphinxcontrib-openapi +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension +) + +PATCHES=( + "${FILESDIR}/${P}-skip-npm.patch" +) + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout +} diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index 000abd007264..b476be6872a5 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,3 +1,5 @@ DIST jupyterlab-3.5.0.tar.gz 17110889 BLAKE2B 89b20734dea44419af023b88c85b243fa3f8ac0c7272600729da8690eb53cd4286d9c9bb90e95e291644de3675a9daae63898d6621cc4c21b4fc8e0d965242b4 SHA512 43b893127b5b4f1ccd472dfe9152d4ac8f89192411d1fa6045e3ecfb5f8f16819d1cf4b6fd70d9656d25d10cafff55055da98d36d2c8537d5b07e29e2d157799 +DIST jupyterlab-3.5.2.tar.gz 17111761 BLAKE2B 77c63d8842f9e58a10ed3fae3ecd9cd6b10045d3aec1e90cbc83fe40bc7d4b5cbac4eabbaac2a36c77815cd27f332a35ffdf8ea5e7fd07e95893bd5bad5c68a4 SHA512 b6a5b314fc23e4a9164085827123c19570d112519c6651453006cc18f89c1eaac74871f6e8faf9ced4c32eada72912f72b2ab3cb2ff101ef6b6e3e70601494aa EBUILD jupyterlab-3.5.0.ebuild 2533 BLAKE2B eecd6e04c843d0a1bbb4636297deaa9ece4c31250294b9db0b4796276e730539d536ad1942b49f7df2807fbb2a722603fa8f3f5e116d40b14978d30c4c2867be SHA512 0c8024f088bbd0763125d9bc4557d85501a2c873dcccb657cc2df1a5d4ea2a6b86d8cead6a4072d4751f602b21d3541494a4bd3f5b01598acf54e058491ab16e +EBUILD jupyterlab-3.5.2.ebuild 2533 BLAKE2B 5b26137720ec6ae95dff604ff4cabd78879cf0783d1c7bdc61dca5d660f7400d5c938c3284041884ab4261e1a5bfeb1b5cdf82c1b76009cc6666e9de00f22823 SHA512 c7c48a2ceb07ae651c7158374e78c279bf5939a7f813426481778c73438c29e3e7887a56225faa01321d4c2ff74cfbcc02b7e6051f68116a58b368007d269e99 MISC metadata.xml 412 BLAKE2B f0b40e19f8ba9dc116f0e4a882cabab6376f22d1eaeb3eac58ecff465ee2aff3564ddbf55e4ffb8971807a39945109a164037a954419671a274d3ac558b102ea SHA512 b6149a03585ca04bc3bf6f3ea6055e8e1fcb620a771359d150df7c22ee16bf09f57c8037df2161021fac0c194be0ac5ec79a31f0511d785e0c5b1ca96d817e42 diff --git a/dev-python/jupyterlab/jupyterlab-3.5.2.ebuild b/dev-python/jupyterlab/jupyterlab-3.5.2.ebuild new file mode 100644 index 000000000000..6433f936ebdd --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-3.5.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=jupyter +inherit distutils-r1 + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE="https://jupyter.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/jupyter_packaging[${PYTHON_USEDEP}]" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + >=dev-python/jupyterlab_server-2.10[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.16[${PYTHON_USEDEP}] + >=dev-python/nbclassic-0.2[${PYTHON_USEDEP}] + =dev-python/jinja-2.1[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND="test? ( + dev-python/check-manifest[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyterlab_server[${PYTHON_USEDEP}] + dev-python/openapi-core[${PYTHON_USEDEP}] + dev-python/openapi-spec-validator[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +)" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme dev-python/myst_parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyterlab_server/Manifest b/dev-python/jupyterlab_server/Manifest index d2ecc9757359..21141027aa8d 100644 --- a/dev-python/jupyterlab_server/Manifest +++ b/dev-python/jupyterlab_server/Manifest @@ -1,3 +1,5 @@ DIST jupyterlab_server-2.16.2.tar.gz 64742 BLAKE2B 73b3c1f7080134e30d9e0d38af9ef8f5e4161a11d1a08e6d638ffdccd4def0f7fb7b16c8ef1e9191542e27267f2e47a8a21bf53dc103c4c79c32b9722252095d SHA512 d7229343994d78ae2ff0d5cdfa2670f23f221ab2bfd009351c5a8a5611b0dd04c47eb5c899a4155712322f3c3f74fcbcbb3a687cdc737382bc3eabca6d69c527 +DIST jupyterlab_server-2.16.5.tar.gz 67949 BLAKE2B 0e2e1ad3ca9163d34762893b3af2e675a8474fdb129e8735e567f111549ecaf1c23693064b757d68aeec63469f071428d827e361b253bcf241474f5386934bba SHA512 b125c3283d42ea813b12f891144665ec5c4a5827cbb01e9f80cd7826ba2647016344f939807c7095021293eb01e5ec3e151ce206272d0dca3eba3d7423fc4a6b EBUILD jupyterlab_server-2.16.2.ebuild 1724 BLAKE2B f9a2a32c940de575bbf398b82b4702609b69d15a3b027c68b0711b5e8a5cbe0528732a376621f44f32b0ee392e4457eb4a37cc8faf63f286175fff1c8a6b7471 SHA512 c7d61725a71d88fa3cda12f426e7e2e179e672ff522f157e54a5c31c28054c77da7a25e3c4091a6f32ea24e810a6fb983f362202bf0159ccd58ad0c0041eede9 +EBUILD jupyterlab_server-2.16.5.ebuild 1794 BLAKE2B 5e39167896327cc23ee621dbd6b5d904d50c4f496ac57231037fcd97b6b8e7c11d6d3f3ee79d21780b503d19faad6542fb2b2ddb20835f655f7a17009047d838 SHA512 91b8b34568d63e44ffc122f283fe935b786f2f689e3f87f73689b4c78d67efdb388983024a254303279056553c75f9d3d47d834b74985b29c5c5c0b417b5ca16 MISC metadata.xml 426 BLAKE2B 98083ff6255b6c5b4ebe7eb67f4e9716f52397646df275cce4cae2f78b0fbb5dda8d6240e1546b4bac6f13ef3f3f1e6f176b2062e066070d595e5cd93c02708e SHA512 9755e74547fb74a4720c9b755449d913dbfd949bad920ecd3903df91182236ad46712c358b3db8180ddf478a6cc6c2a57c6d1a939a9911ffc7ccb39672f5868e diff --git a/dev-python/jupyterlab_server/jupyterlab_server-2.16.5.ebuild b/dev-python/jupyterlab_server/jupyterlab_server-2.16.5.ebuild new file mode 100644 index 000000000000..9c406786d0f2 --- /dev/null +++ b/dev-python/jupyterlab_server/jupyterlab_server-2.16.5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 + +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab_server/ + https://pypi.org/project/jupyterlab-server/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/Babel-2.10[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/json5-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.28[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.21[${PYTHON_USEDEP}] + =dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}] + ' 3.8 3.9) +" + +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter_server[${PYTHON_USEDEP}] + >=dev-python/openapi-core-0.14.2[${PYTHON_USEDEP}] + =1.5", "hatch-nodejs-version"] ++requires = ["hatchling>=1.5"] + build-backend = "hatchling.build" + + [project] + name = "nbformat" +-dynamic = ["version"] ++version = "5.7.1" + description = "The Jupyter Notebook format" + license = { file = "COPYING.md" } + keywords = ["Interactive", "Interpreter", "Shell", "Web"] +@@ -58,9 +58,6 @@ test = [ + [project.scripts] + jupyter-trust = "nbformat.sign:TrustNotebookApp.launch_instance" + +-[tool.hatch.version] +-source = "nodejs" +- + [tool.hatch.envs.docs] + features = ["docs"] + [tool.hatch.envs.docs.scripts] diff --git a/dev-python/nbformat/nbformat-5.7.1.ebuild b/dev-python/nbformat/nbformat-5.7.1.ebuild new file mode 100644 index 000000000000..2aea4d3d8c3f --- /dev/null +++ b/dev-python/nbformat/nbformat-5.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 + +DESCRIPTION="Reference implementation of the Jupyter Notebook format" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/nbformat/ + https://pypi.org/project/nbformat/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/fastjsonschema[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/numpydoc +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-no-node.patch" +) + +EPYTEST_IGNORE=( + # requires pep440 package, which is not really relevant for us + tests/test_api.py +) diff --git a/dev-python/pychromecast/Manifest b/dev-python/pychromecast/Manifest index 56fe616dec42..fba998c88540 100644 --- a/dev-python/pychromecast/Manifest +++ b/dev-python/pychromecast/Manifest @@ -1,3 +1,5 @@ DIST PyChromecast-12.1.4.tar.gz 51527 BLAKE2B 5a30863553df0f7cfd59de0ae5fca55b84373bb7cc6d12ac761aa5e6d18b1548275a677466bc596c0b50d8b78b385ee5bb727d2eb4828a1b24e3c64a0dc4a035 SHA512 056c615f453ccd97425a68f488235a63e8047d1be40fc7800d154b19013e7a0f329488b25e76f0cc56adb3779fd14d4e793dc6488ccbd067b484f0e2be72e455 +DIST PyChromecast-13.0.4.tar.gz 51996 BLAKE2B 11dad948443e9e5957de6b22cf6c1d33d19030d53cecddd9be5595dc82bb108e4746c382bae5c6d22d5219bcb90ed5bed7ca94c714ec7bbe7ad1330a1ee3cf2f SHA512 2f9bd925e452448a387a04babc0d71a35fc83edd30142cdd129479b5b20cf7aa9691a8d46f45edf5f12fd6f3052564c2956dd241eaf1a1c468b8399b065286ec EBUILD pychromecast-12.1.4.ebuild 603 BLAKE2B 853ef88b0e922da0ba294218a10c673640df5442be60d80f46dcc737f53b1b0a2417d51453dbf269948563010d0c6c0865dafae267295be9385a545aa490b1f0 SHA512 7b337011fac07b7f73c399de03bac6359523b8dd87a35dc2255c1636e731ac5b0f9a8c73b7920064f2c263b874fe537b815062344a2c696d18c7f83e48b37ebd -MISC metadata.xml 354 BLAKE2B 20ef68373d5cb62e00da147728ff8f59faed7dcb88315c4460e1a6ff7cb31d40d56e639974d8494ab085c6b7faefffef6c51e4494b0b3604dbe9e3ab909adef4 SHA512 79684ace1b10ffce070e3fc83073b110e31fe2efdcfbd56b84c961716843f48d1df7defd330ded7862e006cb3f8d665de16481a16742922da450ef40bbf1209b +EBUILD pychromecast-13.0.4.ebuild 636 BLAKE2B f5ad006980df55aec68215b836f026acd08f4bb9b2bec53d9ef0d2166db37d5c544528ccd08a1b0bc0c65d07bed97fedd8a33d8e37a5f0c819c467f18bab6398 SHA512 869f6bc90159f42c9ad0a6de45b5bdf9731dbc65fefdf264fcb7287e8cc98d4ceb5cdc6004662cb3af4d9d9eedb4d2182d1e0ca1ce13b53363b03825f5bc7630 +MISC metadata.xml 426 BLAKE2B c6ba55f1c61ac177a8cc1aaa78831d0d848bdfffc787197f1e24944329280f7c93be5b26ea2d4cd65a07b9ec0f192ac23f6a3a2470b5d707fc9f3063cb8bd869 SHA512 968632d3dc5e9a9dfaec80485b52124efeae5fb315f56a53d5168f3f51f4c4d6d7b4b74281b67fb6a41bafc19decf2afe73d42858a10a7fed4b49b0624cd54ca diff --git a/dev-python/pychromecast/metadata.xml b/dev-python/pychromecast/metadata.xml index 1ff9e28b0019..2bb8c17220e2 100644 --- a/dev-python/pychromecast/metadata.xml +++ b/dev-python/pychromecast/metadata.xml @@ -8,5 +8,6 @@ PyChromecast + home-assistant-libs/pychromecast diff --git a/dev-python/pychromecast/pychromecast-13.0.4.ebuild b/dev-python/pychromecast/pychromecast-13.0.4.ebuild new file mode 100644 index 000000000000..fde595d2503d --- /dev/null +++ b/dev-python/pychromecast/pychromecast-13.0.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Python module to talk to Google Chromecast" +HOMEPAGE="https://github.com/home-assistant-libs/pychromecast" +S="${WORKDIR}/PyChromecast-${PV}" +SRC_URI="mirror://pypi/P/PyChromecast/PyChromecast-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/casttube-0.2.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-python-3.19.1[${PYTHON_USEDEP}] + >=dev-python/python-zeroconf-0.25.1[${PYTHON_USEDEP}]" diff --git a/dev-python/pytest_jupyter/Manifest b/dev-python/pytest_jupyter/Manifest new file mode 100644 index 000000000000..c3d16da78559 --- /dev/null +++ b/dev-python/pytest_jupyter/Manifest @@ -0,0 +1,3 @@ +DIST pytest_jupyter-0.6.2.tar.gz 15174 BLAKE2B b6c536383ab1b8e375e4250b4922ac6372f850ee4993643122896092109d3f711f91ccc7b159b7330de18f7876df818dc01d31c05e3c18d97488255e063db4d4 SHA512 396f7a7c978097e6dee37ead92bb3c8cef2a8100a7cc85b0b1eab19e20bdaed3332391c17568a6a279ab6ddeea1fbb2fa8dafe24ba4500982ba52cfcda2b1052 +EBUILD pytest_jupyter-0.6.2.ebuild 729 BLAKE2B 69c27ae1fc34108a0a36310d703ecfdb472b0b17b395d6d5264ecdc0aa021bc9f5ef4ff6725a45b53f19f8ffee5a7ea65284f7b815d227b9183cd45df34197ea SHA512 add7f9be5035d57e78f2a063863893436fe5d3cecc532ec985d15551cdabd2b33db66a409a324ad7eb97016ef1d8f295d28484009f63296eb3a5b9a859a29e0e +MISC metadata.xml 544 BLAKE2B 2774989bbb5ea75c4254ec2c9f3daf04a48bdec28698d62afd2471abb4031273bea581c09151efa643fc691a3fda2e1a4211dca66882fe2c5a24d7a6bef7c1a1 SHA512 e3751515a8baf2b422cb680870adbe9393d37ecf2e8b01212bcfa7d0b62ca368c34a9140945e1af4d7c7f0c5443b996ac7cbd4394833aa13b4e937b05bfe0e6b diff --git a/dev-python/pytest_jupyter/metadata.xml b/dev-python/pytest_jupyter/metadata.xml new file mode 100644 index 000000000000..8d9f695ec9a1 --- /dev/null +++ b/dev-python/pytest_jupyter/metadata.xml @@ -0,0 +1,17 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + python@gentoo.org + Python + + + + pytest-jupyter + jupyter-server/pytest-jupyter + + diff --git a/dev-python/pytest_jupyter/pytest_jupyter-0.6.2.ebuild b/dev-python/pytest_jupyter/pytest_jupyter-0.6.2.ebuild new file mode 100644 index 000000000000..78d14293f4a7 --- /dev/null +++ b/dev-python/pytest_jupyter/pytest_jupyter-0.6.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin for testing Jupyter libraries and extensions" +HOMEPAGE="https://jupyter.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +RDEPEND=" + >=dev-python/jupyter_client-7.4.0[${PYTHON_USEDEP}] + >=dev-python/ipykernel-6.14[${PYTHON_USEDEP}] + >=dev-python/jupyter_server-1.21[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/python-json-logger/Manifest b/dev-python/python-json-logger/Manifest new file mode 100644 index 000000000000..aa8a000d9797 --- /dev/null +++ b/dev-python/python-json-logger/Manifest @@ -0,0 +1,3 @@ +DIST python-json-logger-2.0.4.tar.gz 9856 BLAKE2B 013dadb37044eb89976ab98309bbafaa348c0bfd82a75f7645d580212fb85ee2cb2bc70d455aec9da3424e89d5905d8e80a77d8c08d46443a8ee5ee9bebc3cdf SHA512 5849e3780f9a4cb59baff2c73d872ca11c916af14337bada2de3620d5a5e9b138b7bd76a1a25001c4733c0074469bb579808a57d50f964f0fe0e4bf3a4bb1216 +EBUILD python-json-logger-2.0.4.ebuild 532 BLAKE2B bc6bbf6dfb1afd30ef9400abd942e3a511ab3f0db347bfb5c08d3700b4c11af201eabba4c64105d523a49d13e2404ee23cb2b1c3df01e4f6cf1a0a70fc9154bd SHA512 35a86f60bf8643f0862c5b2a349c0919761f7aa275e060b8d84bfab511773eea4f38001df76aab00eb34abefc77b583d3381202ac75025f039c14e157c3335ee +MISC metadata.xml 648 BLAKE2B d2c5fc2fbe82dbc6391eb8c5dd9513f5dc455abc8f8426f44eb338f0369621496d87f921b039c0e75f1684533e33058f005e41b55e4868ade9db30ed747ceb04 SHA512 a9a6d220281bf92eaee7da04710313daabda41feb00562c5ae6a016106b981c9fa6d1ba1294bd75e37a029799c235caeef91c48b404bca883a41b6988d549e64 diff --git a/dev-python/python-json-logger/metadata.xml b/dev-python/python-json-logger/metadata.xml new file mode 100644 index 000000000000..bd902508cd2f --- /dev/null +++ b/dev-python/python-json-logger/metadata.xml @@ -0,0 +1,14 @@ + + + + + python@gentoo.org + Python + + +This library is provided to allow standard python logging to output log data as json objects. With JSON we can make our logs more readable by machines and we can stop writing custom parsers for syslog type records. + + madzak/python-json-logger + python-json-logger + + diff --git a/dev-python/python-json-logger/python-json-logger-2.0.4.ebuild b/dev-python/python-json-logger/python-json-logger-2.0.4.ebuild new file mode 100644 index 000000000000..71db1dcbe48e --- /dev/null +++ b/dev-python/python-json-logger/python-json-logger-2.0.4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Standard python logging to output log data as json objects" +HOMEPAGE=" + https://github.com/madzak/python-json-logger + https://pypi.org/project/python-json-logger/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64" + +distutils_enable_tests unittest -- cgit v1.2.3