diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-13 12:26:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-13 12:26:41 +0100 |
commit | 482a48c0e1675b1e92663b8b5222bb7261aa7956 (patch) | |
tree | b81e02db1810214fc690a762e3a9c687d0f0c5ab /dev-python/ipywidgets | |
parent | 37bccfe5e76c5740c4ef5ba1179e9488d8404075 (diff) |
gentoo auto-resync : 13:07:2024 - 12:26:41
Diffstat (limited to 'dev-python/ipywidgets')
-rw-r--r-- | dev-python/ipywidgets/Manifest | 6 | ||||
-rw-r--r-- | dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch | 30 | ||||
-rw-r--r-- | dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild | 58 | ||||
-rw-r--r-- | dev-python/ipywidgets/ipywidgets-8.1.2.ebuild | 61 | ||||
-rw-r--r-- | dev-python/ipywidgets/ipywidgets-8.1.3.ebuild | 6 |
5 files changed, 36 insertions, 125 deletions
diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest index d0319a0604f6..b626479df898 100644 --- a/dev-python/ipywidgets/Manifest +++ b/dev-python/ipywidgets/Manifest @@ -1,7 +1,5 @@ +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.2.tar.gz 116492 BLAKE2B 0fc8283b332447cd3659d39d4564e2e794678169c7bc156660f3478251c4df23de1719e4fcf9651b9766506edf359bdfc803b1450520a3cbce290b39bd95bd3c SHA512 59ddc92bb9b18b6cd36b1499465e700ce9b11010e2d51cdf0a820b36efecbea1facab42ced2f61de312319f4fd4e672bb27b248d40ee0088f3b58acfd102ab61 DIST ipywidgets-8.1.3.tar.gz 116515 BLAKE2B b7a11e7078ddbd99b8713fc3aa63c78118bf00b64c376412c608a622fda1e7d0430accb0959a56a474d2eeba4b5ce531255b52bba591f2806833644e47f2a7bd SHA512 3722e3716f367c6dce88c6ec401d23240c214793672ae76a12b672f77c7c801775d3253e1202749e54832d9dc13e4bb5984ec57e21607f12c22aced8874538db -EBUILD ipywidgets-8.1.2-r1.ebuild 1306 BLAKE2B 95225f97749e6497191c66aeb9a48ddc61b45cca15c071db6da3757a375956a3182c4be2268a09e770a65ae76c4dc62c2758ec72b03e1d103ae1d48838eafb5d SHA512 29c58ffb639815cdb9c47c08193882ba01d526a1836c3a43dbe636e31a20cbe4e626dd52079b03456bd4a8d523b8a8da5efeb433aa2d22693dcda866da278746 -EBUILD ipywidgets-8.1.2.ebuild 1383 BLAKE2B 5dbb579631c4b7fada8a97ac0e333e30b9e255374be0615064dd74153cca62f1265c430c091511aba937fdf28754781838230e4b52dd638176ff878d318f9a48 SHA512 bc55d8828f27bac1e13f5c5c6c564fcbea801d6226ba0c0fad6a3ede88462c433e4c20bb162845623c467f177065b303a3dc537e8c7183b2fe29078b8904dba1 -EBUILD ipywidgets-8.1.3.ebuild 1397 BLAKE2B c9f0d4ceeff0aacaf43abb5146beb55a6f16136d5567635ec21db2e6e9e11185ddd800f6709c0a9f52d569c118c18ece2ae515fd7178863be30ff364b29ab985 SHA512 5220800bd1d798c0902a4a10c0f7a3a488946907b1d773070c19cec712fc8388167e89243c12f7feee6c27bb84c88725fa3d9258a6b065cdb85e827b7be5bbe5 +EBUILD ipywidgets-8.1.3.ebuild 1494 BLAKE2B 514b570d9e5f398ee17789fb4ba6e0d06c512a1bf9da1c57a6224ff2ad2e2059c06ba491116c59363e0ee7741aa25adb8617c2fd9e185b2200bcf8138d6806e2 SHA512 585ed04863b0cca7d4ac51926aef088235bbfe22b73e69ed6d71967a4b787aa90ad873e90f5a483298acdb0d47d82657ac36489bbfe089275e8f66606ca12172 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 new file mode 100644 index 000000000000..c8bd3e22a8a6 --- /dev/null +++ b/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch @@ -0,0 +1,30 @@ +From acfa9a3539648a04b11331ad07cab4393069f87f Mon Sep 17 00:00:00 2001 +From: Lumir Balhar <lbalhar@redhat.com> +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/ipywidgets-8.1.2-r1.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild deleted file mode 100644 index 36da16af7d22..000000000000 --- a/dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild +++ /dev/null @@ -1,58 +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..12} ) -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" - -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.10[${PYTHON_USEDEP}] - >=dev-python/jupyterlab-widgets-3.0.10[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - <dev-python/pytest-8.1[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - >=dev-python/ipython-6.1.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -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.2.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.2.ebuild deleted file mode 100644 index 8e184bc948ff..000000000000 --- a/dev-python/ipywidgets/ipywidgets-8.1.2.ebuild +++ /dev/null @@ -1,61 +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..12} ) -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 ~amd64-linux ~x86-linux" - -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.10[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jsonschema[${PYTHON_USEDEP}] - ) -" -PDEPEND=" - >=dev-python/ipython-6.1.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - # upstream hack to autoconfigure ipywidgets in jupyter - # we don't have jupyterlab_widgets packaged - sed -i -e '/jupyterlab_widgets/d' setup.cfg || die - distutils-r1_src_prepare -} - -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.3.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild index cbbddfa905e2..2d8b2a1677c2 100644 --- a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild +++ b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 pypi @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~riscv x86" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" RDEPEND=" >=dev-python/comm-0.1.3[${PYTHON_USEDEP}] @@ -43,6 +43,8 @@ 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() { |