From 09a6bd2dc851b552513d0547eed0dff002e26fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 7 Sep 2024 14:34:32 +0200 Subject: [PATCH 1/5] dev-python/mkdocs-material: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/mkdocs-material/Manifest | 2 - .../mkdocs-material-9.5.31.ebuild | 67 ------------------- .../mkdocs-material-9.5.32.ebuild | 67 ------------------- 3 files changed, 136 deletions(-) delete mode 100644 dev-python/mkdocs-material/mkdocs-material-9.5.31.ebuild delete mode 100644 dev-python/mkdocs-material/mkdocs-material-9.5.32.ebuild diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index fe176b4ccef02..9f76e7a05aade 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -1,4 +1,2 @@ -DIST mkdocs-material-9.5.31.gh.tar.gz 14926142 BLAKE2B ae47e54eaaea55885d5161c1e3435a2feb96f8495487ddb13c9bbb57c8ceb8d961c30d66a4ec51cf4212892724395b64d46d47c3e9547b8256d0fb17b4d1843a SHA512 ee74d6ab05d16fad3545c39efaed196242a68479a6a8286dcd96c1a61ec2d1fbd2a2678b7a3edea50bf8784d3c986060ce5abe5490f53a1d584c0954733134c2 -DIST mkdocs-material-9.5.32.gh.tar.gz 14891301 BLAKE2B 2d141646cdba814fce8b9cb9b892f58759d07c23e981e1a2626ce05c2fbcd86ce036dd3ab2a2b8b2ae25b433586fcd3aa95c7a0bae5b5f0f120d0840f77639ff SHA512 b5563c6c3622640fda530c9900bd5d7c2a7ffe9aeb49e94d31bf3db05b79552060ffe1a658a3aeadb0f9e48303d6b25aea06e5b4b7c4650aebfb39621edaea46 DIST mkdocs-material-9.5.33.gh.tar.gz 14905512 BLAKE2B 474852be4b975a72a2429ab1b072eadea9b3e6549f0132e307da03aed657924d928391205b6953e445590bf53a79b8c405116b93eed099a9a9a174f9b66f5d3a SHA512 2a414c0e5c3160224ec445d7ed6b366ea18667a31110be1b310b5487abdf1b3d3a4b6f44b3d2ccae401f9d850a847a85ae3e3ef2a41ebe5f62f5c5a955a9713a DIST mkdocs-material-9.5.34.gh.tar.gz 14766308 BLAKE2B 62371c082fe6d1d42d01cc315f2e0e5a0de24ee3faff173d940b797ca7f43f20985e4025e90ba385dbf38ef7ff2b76bbae0831558d07dcafd5a5493597e223ed SHA512 ac6e2fcf96a0591513222a81046d66547cdf3a9b64acf29e7482aa93be3d7a2ceeb8ad779e9bcbd12ae9fc527414ae11cd70f07ae85b4c2b0104cade29ebe646 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.31.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.31.ebuild deleted file mode 100644 index d79902da91b83..0000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.31.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..13} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" -IUSE="social" - -RDEPEND=" - >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-10.2[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] -" -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" -) - -src_prepare() { - echo "__version__ = '${PV}'" > gentoo_version.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.32.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.32.ebuild deleted file mode 100644 index 0aabdac3ae43e..0000000000000 --- a/dev-python/mkdocs-material/mkdocs-material-9.5.32.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..13} ) - -DOCS_BUILDER="mkdocs" -DOCS_DEPEND=" - dev-python/mkdocs-material-extensions - dev-python/mkdocs-minify-plugin - dev-python/mkdocs-redirects -" - -inherit distutils-r1 docs - -DESCRIPTION="A Material Design theme for MkDocs" -HOMEPAGE=" - https://github.com/squidfunk/mkdocs-material/ - https://pypi.org/project/mkdocs-material/ -" -SRC_URI=" - https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="social" - -RDEPEND=" - >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4[${PYTHON_USEDEP}] - >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] - >=dev-python/lxml-4.6[${PYTHON_USEDEP}] - >=dev-python/markdown-3.2[${PYTHON_USEDEP}] - >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] - >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] - >=dev-python/pygments-2.16[${PYTHON_USEDEP}] - >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] - >=dev-python/readtime-2.0[${PYTHON_USEDEP}] - >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] - >=dev-python/requests-2.26[${PYTHON_USEDEP}] - social? ( - >=dev-python/pillow-10.2[${PYTHON_USEDEP}] - >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] -" -# mkdocs-material-extensions depends on mkdocs-material creating a circular dep -PDEPEND=" - >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] -" - -PATCHES=( - # simplify pyproject to remove extra deps for metadata - "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" -) - -src_prepare() { - echo "__version__ = '${PV}'" > gentoo_version.py || die - distutils-r1_src_prepare -} From b7e9f659445b5b39cc017c44eb2d1eb7611efd9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 7 Sep 2024 14:34:42 +0200 Subject: [PATCH 2/5] dev-python/jq: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/jq/Manifest | 1 - dev-python/jq/jq-1.7.0.ebuild | 49 ----------------------------------- 2 files changed, 50 deletions(-) delete mode 100644 dev-python/jq/jq-1.7.0.ebuild diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest index 69b225dd45d4d..d9b831766eaea 100644 --- a/dev-python/jq/Manifest +++ b/dev-python/jq/Manifest @@ -1,2 +1 @@ -DIST jq.py-1.7.0.gh.tar.gz 1953673 BLAKE2B 861dcb706ef801ff3abb47a6b85fb8aad03988c717a67063d737667ce6853c89dbe10bf61dac517701b8b3e3af6b97d12a15ed03aa0d5a6e6d0d3fa2697e9284 SHA512 918e4537eacf55d0cce888b1946b13acb6d177906d704c99e0b1cc88a55a2929fbeccef7d3fa61daaf0290a97afec581d23a641bdbfc0c700744422135fbcad6 DIST jq.py-1.8.0.gh.tar.gz 1954418 BLAKE2B e823ab01a7ce42abc542b58bb1f966e6447b85d66c7b72e8b0765a65f6ae510cf5c6045e14c802237360c2108f84428dc9b18a452e1334ba5ee709a4c835e5bd SHA512 83e9a7599518b5281f25954d5fc66de488678ef86982964bc04ae3739d4627220a9ec92570810f9cf235a8e5351284ac430053e6f826ca42f831d837b4750d83 diff --git a/dev-python/jq/jq-1.7.0.ebuild b/dev-python/jq/jq-1.7.0.ebuild deleted file mode 100644 index ba3780636e9da..0000000000000 --- a/dev-python/jq/jq-1.7.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 - -MY_P="jq.py-${PV}" -DESCRIPTION="Python bindings for jq" -HOMEPAGE=" - https://github.com/mwilliamson/jq.py/ - https://pypi.org/project/jq/ -" -# pypi sdist is missing .pyx -SRC_URI=" - https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" - -# Minimum versions of jq + onigurama are from setup.py's bundled versions -DEPEND=" - >=app-misc/jq-1.7.1:= - >=dev-libs/oniguruma-6.9.8:= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_compile() { - local -x JQPY_USE_SYSTEM_LIBS=1 - - # Cython compilation isn't part of setup.py, so do it manually - "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die - distutils-r1_python_compile -} From 0000d763f423bf70fa228053d8619baad16cdf31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 7 Sep 2024 14:34:57 +0200 Subject: [PATCH 3/5] dev-python/ansible-compat: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/ansible-compat/Manifest | 1 - .../ansible-compat-24.7.0.ebuild | 57 ------------------- 2 files changed, 58 deletions(-) delete mode 100644 dev-python/ansible-compat/ansible-compat-24.7.0.ebuild diff --git a/dev-python/ansible-compat/Manifest b/dev-python/ansible-compat/Manifest index 00314b5cc7f38..8538923ad3c44 100644 --- a/dev-python/ansible-compat/Manifest +++ b/dev-python/ansible-compat/Manifest @@ -1,2 +1 @@ -DIST ansible-compat-24.7.0.gh.tar.gz 74311 BLAKE2B 8f534989f4ef88aa48379cdf3a8df83f9d51b4d18d2bfdea8b7d2aac19bd0a6d2c52f3382e774a29bb02e1460b316fbf7c97efeb7105a0a05614b318763cc79d SHA512 5c0ad52adf346d0b3c3fda38d24f05beefef478414c0d7b418cb2768f0237c8155f260e8be2d8ca16097955159095348d31966b5f10b33198d83b24fe5d42251 DIST ansible-compat-24.8.0.gh.tar.gz 74341 BLAKE2B ce6edf8ed532815f2e307ac51eef0ac694805b0d5f8cad78c75c57478a21eb443348d636ca0e405fe63d32daf0f426c20e0f97183082f0eba3dd4b889fb8be80 SHA512 07da3a5d4f6eaa6edec3a03107d6e751e9754a84420a9839239d17811de01e8c70bed84e8c23a1308d18e8388581b0e269ae03c235bbc244e95a29c3be25567b diff --git a/dev-python/ansible-compat/ansible-compat-24.7.0.ebuild b/dev-python/ansible-compat/ansible-compat-24.7.0.ebuild deleted file mode 100644 index 46709b728469d..0000000000000 --- a/dev-python/ansible-compat/ansible-compat-24.7.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Contains functions that facilitate working with various versions of Ansible" -HOMEPAGE=" - https://pypi.org/project/ansible-compat/ - https://github.com/ansible/ansible-compat/ -" -# We normally use PyPI here but 4.1.12 has never been uploaded there for some reason -SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv" - -RDEPEND=" - >=app-admin/ansible-core-2.14[${PYTHON_USEDEP}] - >=dev-python/jsonschema-4.6.0[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/subprocess-tee-0.4.1[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-plus[${PYTHON_USEDEP}] - ) -" - -# All these tests attempt to connect to galaxy.ansible.com -EPYTEST_DESELECT=( - test/test_runtime.py::test_install_collection - test/test_runtime.py::test_install_collection_dest - test/test_runtime.py::test_prepare_environment_with_collections - test/test_runtime.py::test_prerun_reqs_v1 - test/test_runtime.py::test_prerun_reqs_v2 - test/test_runtime.py::test_require_collection_no_cache_dir - test/test_runtime.py::test_require_collection_wrong_version - test/test_runtime.py::test_require_collection - test/test_runtime.py::test_upgrade_collection - test/test_runtime_example.py::test_runtime - # pip, failing due to internets - test/test_runtime_scan_path.py::test_scan_sys_path - # internets? - test/test_runtime.py::test_runtime_has_playbook -) - -distutils_enable_tests pytest From d198c00ac57a8cda3c532fc6678e004112bf3fbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 7 Sep 2024 14:35:04 +0200 Subject: [PATCH 4/5] dev-python/oslo-i18n: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/oslo-i18n/Manifest | 1 - dev-python/oslo-i18n/oslo-i18n-6.3.0.ebuild | 35 --------------------- 2 files changed, 36 deletions(-) delete mode 100644 dev-python/oslo-i18n/oslo-i18n-6.3.0.ebuild diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest index cd86ab5a72d2b..0591ef387e5a4 100644 --- a/dev-python/oslo-i18n/Manifest +++ b/dev-python/oslo-i18n/Manifest @@ -1,2 +1 @@ -DIST oslo.i18n-6.3.0.tar.gz 48207 BLAKE2B 20a882516dd45da8dda34127ba422a619decd982f01adeee5909b8646d49c8609ecb6adad4fc48ab32e820c4dcf4a42d4baf7e776983daf4586ae944b738bb6e SHA512 483ff39425b3fc5c6c54a3502a78a53406ccb3cdb7aff0836b9c2a49b8146fd931e2b4f3133d708d33d16bd99155f8cbcf8505491d74de5016da5e647a069a15 DIST oslo.i18n-6.4.0.tar.gz 48196 BLAKE2B 14a366d1042f288133a3a15ca14264446a6775318ab7347331b91fe4f36149c1592d920e6ce309a0db2ba8bb76209f2b6c917b4de8733427f3f9afd46bd7a295 SHA512 f68f5fb731175086f99f8a74e734f81fab4a19de3ce087279a55b7ec6df9a30a2eb70325faf2f3228fe11bb808d11b5f87eef93cc55e5b33ce4ed4e881d3915b diff --git a/dev-python/oslo-i18n/oslo-i18n-6.3.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-6.3.0.ebuild deleted file mode 100644 index b5c37b7e42471..0000000000000 --- a/dev-python/oslo-i18n/oslo-i18n-6.3.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Oslo i18n library" -HOMEPAGE=" - https://opendev.org/openstack/oslo.i18n/ - https://github.com/openstack/oslo.i18n/ - https://pypi.org/project/oslo.i18n/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest From 8a9aef22eb4690302ed8318ea47243e8b8a16f91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 7 Sep 2024 14:35:16 +0200 Subject: [PATCH 5/5] dev-python/ipywidgets: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/ipywidgets/Manifest | 1 - .../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 ------------- 4 files changed, 186 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 diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest index ec5fae9994dad..885650768ae2b 100644 --- a/dev-python/ipywidgets/Manifest +++ b/dev-python/ipywidgets/Manifest @@ -1,2 +1 @@ -DIST ipywidgets-8.1.3.tar.gz 116515 BLAKE2B b7a11e7078ddbd99b8713fc3aa63c78118bf00b64c376412c608a622fda1e7d0430accb0959a56a474d2eeba4b5ce531255b52bba591f2806833644e47f2a7bd SHA512 3722e3716f367c6dce88c6ec401d23240c214793672ae76a12b672f77c7c801775d3253e1202749e54832d9dc13e4bb5984ec57e21607f12c22aced8874538db DIST ipywidgets-8.1.5.tar.gz 116723 BLAKE2B fb616c368e75efd6a88dc1c586f16a33a0a725193e0765b0b0ec4a24764b1e8eb33e85b439a33716806e6eda4038674be8059f450695c87a88c5283d425d80b6 SHA512 b4030cc511f759db75417139575f85a797588fe48e17e7ac7debe7bff3f62ebe14dca86a21599be52b7cc6622fe7bb8e8a3dc41d0fffcabe7f77f15735cd5629 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 c8bd3e22a8a6a..0000000000000 --- 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 0294ec1ce6048..0000000000000 --- 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 2d8b2a1677c23..0000000000000 --- 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 -}