From 8e49340ce0aaf205556648d8fa27dd30e8cf4435 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Sep 2024 12:29:28 +0100 Subject: gentoo auto-resync : 08:09:2024 - 12:29:27 --- dev-python/ipywidgets/Manifest | 6 +- .../ipywidgets/files/ipywidgets-8.1.3-py313.patch | 30 ------- .../files/ipywidgets-8.1.3-pytest-8.patch | 91 ---------------------- dev-python/ipywidgets/ipywidgets-8.1.3.ebuild | 64 --------------- dev-python/ipywidgets/ipywidgets-8.1.5.ebuild | 2 +- 5 files changed, 2 insertions(+), 191 deletions(-) delete mode 100644 dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch delete mode 100644 dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch delete mode 100644 dev-python/ipywidgets/ipywidgets-8.1.3.ebuild (limited to 'dev-python/ipywidgets') diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest index 030a1868ce5e..4f196d32a324 100644 --- a/dev-python/ipywidgets/Manifest +++ b/dev-python/ipywidgets/Manifest @@ -1,7 +1,3 @@ -AUX ipywidgets-8.1.3-py313.patch 1206 BLAKE2B 3f0d7066f024c96a39fce8d7be0804e282ecae77bf9bfd4dfb79ba6cec0d2cdcb0ff649051acba0d91da24516993973337522d51ac4264ef8c810a3af83809fa SHA512 2347ad73122ad62d6318f08f5a80fabf10dbc20b168c5fa010e350c1c1b28f919ffc52b6b3ff0a88802f9225e1a82ba8911412e034c9b9145985db626d119aa9 -AUX ipywidgets-8.1.3-pytest-8.patch 2981 BLAKE2B b6a5f16805d7bc4d924974e1372c767abdff4131274161ea64cd4ebba623f46a483458bf2b69b5aa7e99562df5c3d3232868cf3b0b46cd5b11ef2b8c7273022e SHA512 822498589557c5dd05e7e8bb62e339d758627d4cf9c78eea5471729845af46c323a572657f7292ea79d813942c354002df0fa59dc296042ed06d37df3c736fdc -DIST ipywidgets-8.1.3.tar.gz 116515 BLAKE2B b7a11e7078ddbd99b8713fc3aa63c78118bf00b64c376412c608a622fda1e7d0430accb0959a56a474d2eeba4b5ce531255b52bba591f2806833644e47f2a7bd SHA512 3722e3716f367c6dce88c6ec401d23240c214793672ae76a12b672f77c7c801775d3253e1202749e54832d9dc13e4bb5984ec57e21607f12c22aced8874538db DIST ipywidgets-8.1.5.tar.gz 116723 BLAKE2B fb616c368e75efd6a88dc1c586f16a33a0a725193e0765b0b0ec4a24764b1e8eb33e85b439a33716806e6eda4038674be8059f450695c87a88c5283d425d80b6 SHA512 b4030cc511f759db75417139575f85a797588fe48e17e7ac7debe7bff3f62ebe14dca86a21599be52b7cc6622fe7bb8e8a3dc41d0fffcabe7f77f15735cd5629 -EBUILD ipywidgets-8.1.3.ebuild 1494 BLAKE2B 514b570d9e5f398ee17789fb4ba6e0d06c512a1bf9da1c57a6224ff2ad2e2059c06ba491116c59363e0ee7741aa25adb8617c2fd9e185b2200bcf8138d6806e2 SHA512 585ed04863b0cca7d4ac51926aef088235bbfe22b73e69ed6d71967a4b787aa90ad873e90f5a483298acdb0d47d82657ac36489bbfe089275e8f66606ca12172 -EBUILD ipywidgets-8.1.5.ebuild 1301 BLAKE2B eed4cc64d5a6d54c2b5d3ff637dc5280cd2808dc95d3ddcc77e3928e3d2a77225f22835086e70dfcdf98e40ac6d17b683bb6e07d4f3538fb29311c852d62683a SHA512 d5df6ab733eb3c5523cd0c944c4fc3c01d314b5c40639cbfde673e1a8e87809050ce6bd01c5b0808c38bc85f71d441ed32c4242fd8f06ae638ac45d288784362 +EBUILD ipywidgets-8.1.5.ebuild 1296 BLAKE2B edf587d2627d69c8e62beb1c3045128f7a4df10496f7e94cb1c719e96d4f96cf413c38d69a4be37a0f48776523a4a26ffe6e6bd280175c726b77059e91753277 SHA512 8bd389b73a0841f6667e94e8dd891859c7e1d671ddf498b368f3ba5bd0a5b6978495b5684c05a51e10ce93d5c7270166f941701209996cf7a9244c45a2a39bcf MISC metadata.xml 537 BLAKE2B 1f3b91be328b958870a72b5ce438c3e5bf67efd072b59dcb5ae77a9b89334e726af4fe8771221a7b728905cef4175cf7e0a49b11c651a7c0520b5cb032085985 SHA512 cb8092ea7a06e309a26abb78f5ddfd4a91f416e15374d2b59fb5086a64cc13f3dd408e18caa6719d12b1f18f762469a72a1027b2a047db626c51d22a5f304e54 diff --git a/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch b/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch deleted file mode 100644 index c8bd3e22a8a6..000000000000 --- a/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch +++ /dev/null @@ -1,30 +0,0 @@ -From acfa9a3539648a04b11331ad07cab4393069f87f Mon Sep 17 00:00:00 2001 -From: Lumir Balhar -Date: Tue, 18 Jun 2024 11:58:07 +0200 -Subject: [PATCH] Make tests compatible with Python 3.13 - -Python compiler newly removes indent from docstrings -https://github.com/python/cpython/issues/81283 ---- - python/ipywidgets/ipywidgets/widgets/tests/test_docutils.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/ipywidgets/widgets/tests/test_docutils.py b/ipywidgets/widgets/tests/test_docutils.py -index 1f8b09aa34..462293326c 100644 ---- a/ipywidgets/widgets/tests/test_docutils.py -+++ b/ipywidgets/widgets/tests/test_docutils.py -@@ -15,7 +15,7 @@ def test_substitution(self): - def f(): - """ Docstring with value {key} """ - -- assert f.__doc__ == " Docstring with value 62 " -+ assert "Docstring with value 62" in f.__doc__ - - def test_unused_keys(self): - snippets = {'key': '62', 'other-key': 'unused'} -@@ -24,4 +24,4 @@ def test_unused_keys(self): - def f(): - """ Docstring with value {key} """ - -- assert f.__doc__ == " Docstring with value 62 " -+ assert "Docstring with value 62" in f.__doc__ diff --git a/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch b/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch deleted file mode 100644 index 0294ec1ce604..000000000000 --- a/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch +++ /dev/null @@ -1,91 +0,0 @@ -From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001 -From: Lumir Balhar -Date: Thu, 11 Apr 2024 11:40:15 +0200 -Subject: [PATCH] Fix compatibility with pytest 8 - -Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883 ---- - .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 -- - python/ipywidgets/ipywidgets/widgets/tests/test_link.py | 1 - - .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py | 2 +- - .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py | 2 +- - python/ipywidgets/ipywidgets/widgets/tests/utils.py | 6 +++--- - 5 files changed, 5 insertions(+), 8 deletions(-) - -diff --git a/ipywidgets/widgets/tests/test_interaction.py b/ipywidgets/widgets/tests/test_interaction.py -index 0dc7e5fcfc..feb1afe50c 100644 ---- a/ipywidgets/widgets/tests/test_interaction.py -+++ b/ipywidgets/widgets/tests/test_interaction.py -@@ -19,8 +19,6 @@ - # Utility stuff - #----------------------------------------------------------------------------- - --from .utils import setup, teardown -- - def f(**kwargs): - pass - -diff --git a/ipywidgets/widgets/tests/test_link.py b/ipywidgets/widgets/tests/test_link.py -index 0c92dfdcb2..9301764d40 100644 ---- a/ipywidgets/widgets/tests/test_link.py -+++ b/ipywidgets/widgets/tests/test_link.py -@@ -4,7 +4,6 @@ - import pytest - - from .. import jslink, jsdlink, ToggleButton --from .utils import setup, teardown - - def test_jslink_args(): - with pytest.raises(TypeError): -diff --git a/ipywidgets/widgets/tests/test_send_state.py b/ipywidgets/widgets/tests/test_send_state.py -index ec18ae4af1..98465b9b7d 100644 ---- a/ipywidgets/widgets/tests/test_send_state.py -+++ b/ipywidgets/widgets/tests/test_send_state.py -@@ -3,7 +3,7 @@ - - from traitlets import Bool, Tuple, List - --from .utils import setup, teardown, DummyComm -+from .utils import setup - - from ..widget import Widget - -diff --git a/ipywidgets/widgets/tests/test_set_state.py b/ipywidgets/widgets/tests/test_set_state.py -index 82ecbd9311..22ec54d90f 100644 ---- a/ipywidgets/widgets/tests/test_set_state.py -+++ b/ipywidgets/widgets/tests/test_set_state.py -@@ -6,7 +6,7 @@ - - from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe - --from .utils import setup, teardown -+from .utils import setup - - import ipywidgets - from ipywidgets import Widget -diff --git a/ipywidgets/widgets/tests/utils.py b/ipywidgets/widgets/tests/utils.py -index 260485e3f8..8dbbcb355b 100644 ---- a/ipywidgets/widgets/tests/utils.py -+++ b/ipywidgets/widgets/tests/utils.py -@@ -12,7 +12,7 @@ - NEW_COMM_PACKAGE = False - - import ipykernel.comm -- -+import pytest - - class DummyComm(): - comm_id = 'a-b-c-d' -@@ -87,10 +87,10 @@ def teardown_test_comm(): - setattr(Widget, attr, value) - _widget_attrs.clear() - -+@pytest.fixture(autouse=True) - def setup(): - setup_test_comm() -- --def teardown(): -+ yield - teardown_test_comm() - - def call_method(method, *args, **kwargs): diff --git a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild deleted file mode 100644 index 2d8b2a1677c2..000000000000 --- a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="IPython HTML widgets for Jupyter" -HOMEPAGE=" - https://ipywidgets.readthedocs.io/ - https://github.com/jupyter-widgets/ipywidgets/ - https://pypi.org/project/ipywidgets/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/comm-0.1.3[${PYTHON_USEDEP}] - >=dev-python/ipython_genutils-0.2.0[${PYTHON_USEDEP}] - >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] - >=dev-python/widgetsnbextension-4.0.11[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-widgets-3.0.11[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - >=dev-python/ipython-6.1.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/jupyter-widgets/ipywidgets/pull/3903 - "${FILESDIR}/${P}-pytest-8.patch" - # https://github.com/jupyter-widgets/ipywidgets/pull/3924 - "${FILESDIR}/${P}-py313.patch" -) - -python_test() { - local EPYTEST_DESELECT=() - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # https://github.com/pypy/pypy/issues/4892 - ipywidgets/widgets/tests/test_interaction.py::test_interact_noinspect - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/ipywidgets/ipywidgets-8.1.5.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.5.ebuild index b25007a604e9..5554ff1c4c94 100644 --- a/dev-python/ipywidgets/ipywidgets-8.1.5.ebuild +++ b/dev-python/ipywidgets/ipywidgets-8.1.5.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" >=dev-python/comm-0.1.3[${PYTHON_USEDEP}] -- cgit v1.2.3