From 36c896d95af86330a02cf1b0a84fe858f5e8540c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 16:58:36 +0200 Subject: [PATCH 01/28] dev-python/flake8-polyfill: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/flake8-polyfill/flake8-polyfill-1.0.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/flake8-polyfill/flake8-polyfill-1.0.2-r1.ebuild b/dev-python/flake8-polyfill/flake8-polyfill-1.0.2-r1.ebuild index 950b42dd36e78..9a51a00c9b834 100644 --- a/dev-python/flake8-polyfill/flake8-polyfill-1.0.2-r1.ebuild +++ b/dev-python/flake8-polyfill/flake8-polyfill-1.0.2-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi From 8edde5f0b1e2f9ac84d71ced0f331a8e7421f7f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 16:59:05 +0200 Subject: [PATCH 02/28] dev-python/flask-api: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/flask-api/flask-api-3.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/flask-api/flask-api-3.1-r2.ebuild b/dev-python/flask-api/flask-api-3.1-r2.ebuild index 0f0ad223c49ca..3cd8ec083ed02 100644 --- a/dev-python/flask-api/flask-api-3.1-r2.ebuild +++ b/dev-python/flask-api/flask-api-3.1-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 From 0bdf943840d4f1e47c5c04cebab1ac4b3fcf6d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 16:59:33 +0200 Subject: [PATCH 03/28] dev-python/flask-debug: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/flask-debug/flask-debug-0.4.3-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/flask-debug/flask-debug-0.4.3-r2.ebuild b/dev-python/flask-debug/flask-debug-0.4.3-r2.ebuild index eb90e45da3b8d..180ad7d17fad9 100644 --- a/dev-python/flask-debug/flask-debug-0.4.3-r2.ebuild +++ b/dev-python/flask-debug/flask-debug-0.4.3-r2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# 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_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 From 9b08ea350ffa8e584301e71350337cc450b2fc85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:00:12 +0200 Subject: [PATCH 04/28] dev-python/fido2: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/fido2/fido2-1.1.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/fido2/fido2-1.1.3.ebuild b/dev-python/fido2/fido2-1.1.3.ebuild index d302c8976a1d0..4f552ea75078e 100644 --- a/dev-python/fido2/fido2-1.1.3.ebuild +++ b/dev-python/fido2/fido2-1.1.3.ebuild @@ -3,8 +3,8 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 From bd9393a0d1b73bc362b7f4c4512ac8848f8c4bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:12:02 +0200 Subject: [PATCH 05/28] dev-python/markdown-include: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../markdown-include/markdown-include-0.8.1.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-python/markdown-include/markdown-include-0.8.1.ebuild b/dev-python/markdown-include/markdown-include-0.8.1.ebuild index d177caa08c2c3..956353d06991c 100644 --- a/dev-python/markdown-include/markdown-include-0.8.1.ebuild +++ b/dev-python/markdown-include/markdown-include-0.8.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# 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} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi @@ -19,8 +19,12 @@ LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv" -RDEPEND=">=dev-python/markdown-3.0[${PYTHON_USEDEP}]" -BDEPEND=">=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}]" +RDEPEND=" + >=dev-python/markdown-3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-scm-6.2[${PYTHON_USEDEP}] +" PATCHES=( "${FILESDIR}"/${PN}-0.8.1-setup.patch From d24fb0d4dc6ac57965a89ae32de57f3f101ee3d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:13:44 +0200 Subject: [PATCH 06/28] dev-python/mkautodoc: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/mkautodoc/mkautodoc-0.2.0.ebuild | 22 ++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild b/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild index 6943c42ff665b..80a67c0365e72 100644 --- a/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild +++ b/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 ) + inherit distutils-r1 DESCRIPTION="Auto documentation for MkDocs" @@ -12,17 +13,24 @@ HOMEPAGE=" https://github.com/tomchristie/mkautodoc/ https://pypi.org/project/mkautodoc/ " -SRC_URI="https://github.com/tomchristie/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI=" + https://github.com/tomchristie/mkautodoc/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -RDEPEND="dev-python/markdown[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/markdown[${PYTHON_USEDEP}] +" -BDEPEND="test? ( - dev-python/mock[${PYTHON_USEDEP}] -)" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" distutils_enable_tests pytest From 683dddfc040202b9f7af8c72f3c765dcada6f158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:21:35 +0200 Subject: [PATCH 07/28] dev-python/nox: 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/nox/Manifest | 2 - dev-python/nox/nox-2023.04.22.ebuild | 47 -------------------- dev-python/nox/nox-2024.03.02.ebuild | 64 ---------------------------- 3 files changed, 113 deletions(-) delete mode 100644 dev-python/nox/nox-2023.04.22.ebuild delete mode 100644 dev-python/nox/nox-2024.03.02.ebuild diff --git a/dev-python/nox/Manifest b/dev-python/nox/Manifest index dfd5526dccf77..2b683a9536d3b 100644 --- a/dev-python/nox/Manifest +++ b/dev-python/nox/Manifest @@ -1,3 +1 @@ -DIST nox-2023.04.22.gh.tar.gz 3985377 BLAKE2B 7365141bf1c299f6e560dbf42a2927f98e5bf7121ed0dc1dbdc739de847caafdc0834fdc2f2473f20b97d25a4d1d01aced8400e85ec6c027494b8d93077d9a0b SHA512 7425588b0ae87d66211a4fec1d204122a2adb114ddca866d2e66e1caff930f593af1540e5c88806894400ea8aba92037d3f458a98df05d6ac70662705426ee6e -DIST nox-2024.03.02.gh.tar.gz 3995248 BLAKE2B 3dc1ad8764fb1f849d15b7613999e2a9480f4b072d1b3ceb1d4316a8a97eaad418dc0d151b5477bf807e0f8b983fd53ca73a29cae3faed4f93a015f5b1d253ad SHA512 7b76d62ced6d6968fab489223fbe2af1270b19fe2f2376c2fef375c47ca1bce7de23a5686b7c8dc617cb0cd331a90b9806bf3b478c28e61294aa4ea453635dcb DIST nox-2024.04.15.gh.tar.gz 4001096 BLAKE2B 22a332afe499811be23876760e33be60dac200b686aa19fb7fe7b92315e2681f874a4c175419e3b4dc9eb709bb98821a99d3a7bf2d7dfa756894e5d1265e46e7 SHA512 99143b4c372e40c5b436ef786e72582eae3182513e9763cb76eb123dcb4d16de8b0585a21119c3513fe9aae4bb6d9d19b16f3129a42f3addf2878e6e7f044ebb diff --git a/dev-python/nox/nox-2023.04.22.ebuild b/dev-python/nox/nox-2023.04.22.ebuild deleted file mode 100644 index 8ee0c234be443..0000000000000 --- a/dev-python/nox/nox-2023.04.22.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Flexible test automation for Python" -HOMEPAGE=" - https://github.com/wntrblm/nox/ - https://pypi.org/project/nox/ -" -SRC_URI=" - https://github.com/wntrblm/nox/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] - >=dev-python/colorlog-2.6.1[${PYTHON_USEDEP}] - >=dev-python/packaging-20.9[${PYTHON_USEDEP}] - >=dev-python/virtualenv-14[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/py[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # broken with >=dev-python/tox-4 - # https://github.com/wntrblm/nox/issues/673 - rm nox/tox_to_nox.* tests/test_tox_to_nox.py || die - sed -i -e '/tox-to-nox/d' pyproject.toml || die - # remove upper bounds from dependencies - sed -i -e 's:<[0-9.]*,::' pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/nox/nox-2024.03.02.ebuild b/dev-python/nox/nox-2024.03.02.ebuild deleted file mode 100644 index a6a145b1df10b..0000000000000 --- a/dev-python/nox/nox-2024.03.02.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Flexible test automation for Python" -HOMEPAGE=" - https://github.com/wntrblm/nox/ - https://pypi.org/project/nox/ -" -SRC_URI=" - https://github.com/wntrblm/nox/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}] - >=dev-python/colorlog-2.6.1[${PYTHON_USEDEP}] - >=dev-python/packaging-20.9[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.14.1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/py[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # remove upper bounds from dependencies - sed -i -e 's:<[0-9.]*,::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # TODO: conda? - 'tests/test_sessions.py::TestSessionRunner::test__create_venv_options[nox.virtualenv.CondaEnv.create-conda-CondaEnv]' - ) - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # hardcoded CPython assumption - tests/test_tox_to_nox.py::test_skipinstall - tests/test_tox_to_nox.py::test_trivial - tests/test_tox_to_nox.py::test_usedevelop - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o tmp_path_retention_policy=all -} From cc769a3f5850299b02814f2e95ecb312d44e9677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:22:59 +0200 Subject: [PATCH 08/28] dev-python/nox: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/nox/nox-2024.04.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/nox/nox-2024.04.15.ebuild b/dev-python/nox/nox-2024.04.15.ebuild index d0ba41be000f6..160adc8eb3e0e 100644 --- a/dev-python/nox/nox-2024.04.15.ebuild +++ b/dev-python/nox/nox-2024.04.15.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 From 50e1559c9570b8e87df18c6b76ad4c06c7a8d61f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:26:03 +0200 Subject: [PATCH 09/28] dev-python/pkgcraft: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pkgcraft/pkgcraft-0.0.9.ebuild | 2 +- dev-python/pkgcraft/pkgcraft-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pkgcraft/pkgcraft-0.0.9.ebuild b/dev-python/pkgcraft/pkgcraft-0.0.9.ebuild index b61769cf71369..0e6d0142cd1c3 100644 --- a/dev-python/pkgcraft/pkgcraft-0.0.9.ebuild +++ b/dev-python/pkgcraft/pkgcraft-0.0.9.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 diff --git a/dev-python/pkgcraft/pkgcraft-9999.ebuild b/dev-python/pkgcraft/pkgcraft-9999.ebuild index b61769cf71369..0e6d0142cd1c3 100644 --- a/dev-python/pkgcraft/pkgcraft-9999.ebuild +++ b/dev-python/pkgcraft/pkgcraft-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 From 24e3c712ecdc91c65bc650b3558db2c53140a60d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:31:34 +0200 Subject: [PATCH 10/28] dev-python/minify-html: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/minify-html/minify-html-0.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/minify-html/minify-html-0.15.0.ebuild b/dev-python/minify-html/minify-html-0.15.0.ebuild index a89ad20c6ff07..d92e86491d41a 100644 --- a/dev-python/minify-html/minify-html-0.15.0.ebuild +++ b/dev-python/minify-html/minify-html-0.15.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) CRATES=" " From a30a8f7a306b656bb44dabb71618b188a6f6be2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:34:43 +0200 Subject: [PATCH 11/28] dev-python/pyasynchat: Enable py3.13, fix deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyasynchat/pyasynchat-1.0.4.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild index b5a328e710044..ba48e9e8acdcc 100644 --- a/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild +++ b/dev-python/pyasynchat/pyasynchat-1.0.4.ebuild @@ -4,13 +4,13 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_12 ) +PYTHON_COMPAT=( python3_{12..13} ) inherit distutils-r1 pypi DESCRIPTION="Make asynchat available for Python 3.12 onwards" HOMEPAGE=" - https://github.com/simonrob/pyasynchat + https://github.com/simonrob/pyasynchat/ https://pypi.org/project/pyasynchat/ " @@ -18,9 +18,12 @@ LICENSE="PSF-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv sparc x86" -RDEPEND=">=dev-python/pyasyncore-1.0.2[${PYTHON_USEDEP}]" +RDEPEND=" + >=dev-python/pyasyncore-1.0.2[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest python_test() { - # Can't use d_e_t unittest (bug #926964) eunittest tests } From f01790286dddf22805d84a51adbf5f3c4d1061fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:38:44 +0200 Subject: [PATCH 12/28] dev-python/pydot: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pydot/pydot-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pydot/pydot-2.0.0.ebuild b/dev-python/pydot/pydot-2.0.0.ebuild index d3417c1391b76..ed52cd028776e 100644 --- a/dev-python/pydot/pydot-2.0.0.ebuild +++ b/dev-python/pydot/pydot-2.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 From 00817e6c08de03bccc80fb25188f703450666892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:41:15 +0200 Subject: [PATCH 13/28] dev-python/pylibacl: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pylibacl/pylibacl-0.7.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pylibacl/pylibacl-0.7.0.ebuild b/dev-python/pylibacl/pylibacl-0.7.0.ebuild index dbf2d6fe703fe..2087d8f0ebe08 100644 --- a/dev-python/pylibacl/pylibacl-0.7.0.ebuild +++ b/dev-python/pylibacl/pylibacl-0.7.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-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..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi From c66ca5fb3d2a06c603b42e55a723d8c5684185fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:48:33 +0200 Subject: [PATCH 14/28] dev-python/pymdown-extensions: Fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../pymdown-extensions-10.8.1-test.patch | 66 +++++++++++++++++++ .../pymdown-extensions-10.8.1.ebuild | 13 ++-- 2 files changed, 70 insertions(+), 9 deletions(-) create mode 100644 dev-python/pymdown-extensions/files/pymdown-extensions-10.8.1-test.patch diff --git a/dev-python/pymdown-extensions/files/pymdown-extensions-10.8.1-test.patch b/dev-python/pymdown-extensions/files/pymdown-extensions-10.8.1-test.patch new file mode 100644 index 0000000000000..507494094b73e --- /dev/null +++ b/dev-python/pymdown-extensions/files/pymdown-extensions-10.8.1-test.patch @@ -0,0 +1,66 @@ +From 321d5d8c7fa5965cb4c933eae8371113d40f9932 Mon Sep 17 00:00:00 2001 +From: facelessuser +Date: Sun, 5 May 2024 06:50:56 -0600 +Subject: [PATCH] Update tests to account for latest Ruff and Pygments updates + +- Fix warning in Ruff +- Fix test expectations of Pygments lexer output + +Fixes #2378 +--- + tests/test_extensions/test_highlight.py | 8 ++++---- + tests/test_extensions/test_inlinehilite.py | 4 ++-- + 3 files changed, 8 insertions(+), 8 deletions(-) + +diff --git a/tests/test_extensions/test_highlight.py b/tests/test_extensions/test_highlight.py +index 2b020a8a2..4d4433c80 100644 +--- a/tests/test_extensions/test_highlight.py ++++ b/tests/test_extensions/test_highlight.py +@@ -23,10 +23,10 @@ def test_guess(self): + ``` + ''', + ''' +-
import test
++            
import test
+             test.test()
+             
+- ''', ++ ''', # noqa: E501 + True + ) + +@@ -52,10 +52,10 @@ def test_guess_block(self): + ``` + ''', + ''' +-
import test
++            
import test
+             test.test()
+             
+- ''', ++ ''', # noqa: E501 + True + ) + +diff --git a/tests/test_extensions/test_inlinehilite.py b/tests/test_extensions/test_inlinehilite.py +index 3cb853070..c82baa6dc 100644 +--- a/tests/test_extensions/test_inlinehilite.py ++++ b/tests/test_extensions/test_inlinehilite.py +@@ -224,7 +224,7 @@ def test_guessing(self): + + self.check_markdown( + r'`import module`.', +- r'

import module.

' ++ r'

import module.

' # noqa: E501 + ) + + +@@ -251,7 +251,7 @@ def test_guessing_inline(self): + + self.check_markdown( + r'`import module`.', +- r'

import module.

' ++ r'

import module.

' # noqa: E501 + ) + + def test_no_guessing_block(self): diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild index 8f28adec21d52..59752923d9ee9 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild @@ -31,15 +31,10 @@ BDEPEND=" distutils_enable_tests pytest -src_prepare() { - # broken on pypy3; unfortunately, the parametrization is based - # on indexes and these are pretty random, so we need to remove it - # entirely - # TODO: restore it when pypy with a fix is in Gentoo - # https://github.com/pypy/pypy/issues/4920 - rm "tests/extensions/superfences/superfences (normal).txt" || die - distutils-r1_src_prepare -} +PATCHES=( + # https://github.com/facelessuser/pymdown-extensions/pull/2379 + "${FILESDIR}/${P}-test.patch" +) python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 From 6354d2a4c8fbd8d2ef2e5a1b7db05770058f7043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:48:36 +0200 Subject: [PATCH 15/28] dev-python/pymdown-extensions: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild index 59752923d9ee9..c37645c8c4383 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi From 4f7c5c0ab8bae74968f85d8f4623767b7f613c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:51:59 +0200 Subject: [PATCH 16/28] dev-python/radon: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/radon/radon-6.0.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/radon/radon-6.0.1.ebuild b/dev-python/radon/radon-6.0.1.ebuild index be3e9f7dcf95a..383927aae60c1 100644 --- a/dev-python/radon/radon-6.0.1.ebuild +++ b/dev-python/radon/radon-6.0.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi From a726b21425f44e61031e6bb456a5835da18f59f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:54:57 +0200 Subject: [PATCH 17/28] dev-python/requests-credssp: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/requests-credssp/requests-credssp-2.0.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild index 5aec141b3f9be..ffbf5dc9c997b 100644 --- a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild +++ b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 From fddd6171475e2f125372b392c4465e5053d48252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:56:55 +0200 Subject: [PATCH 18/28] dev-python/requests-oauthlib: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild index 398dbff57fe0e..bdd6e7878e850 100644 --- a/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild +++ b/dev-python/requests-oauthlib/requests-oauthlib-2.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 From 52591f5fd1cbfe89235270e22f475882d20bcc7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:57:58 +0200 Subject: [PATCH 19/28] dev-python/recurring-ical-events: 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/recurring-ical-events/Manifest | 2 - .../recurring-ical-events-2.1.3.ebuild | 46 ------------------- .../recurring-ical-events-2.2.0.ebuild | 46 ------------------- 3 files changed, 94 deletions(-) delete mode 100644 dev-python/recurring-ical-events/recurring-ical-events-2.1.3.ebuild delete mode 100644 dev-python/recurring-ical-events/recurring-ical-events-2.2.0.ebuild diff --git a/dev-python/recurring-ical-events/Manifest b/dev-python/recurring-ical-events/Manifest index 5a81b40fea3c5..a8eb600631f36 100644 --- a/dev-python/recurring-ical-events/Manifest +++ b/dev-python/recurring-ical-events/Manifest @@ -1,3 +1 @@ -DIST python-recurring-ical-events-2.1.3.gh.tar.gz 329303 BLAKE2B c034fa558629bb8b3c6a901278d14a91826c3dfc805f6960936cd6dc1b219aff027615b05501c85767ab554112f6edf2a2467ced220bd92a7ac493673ca02ffe SHA512 1852b5ed09d1c531ac969aac338893e0409a54d6b0d59e15dbdcbe2a5f97f111c1c01272fa5df640d26c1a12fbc5f284e35c3e10aed0f16a842fe8a6a54462a7 -DIST python-recurring-ical-events-2.2.0.gh.tar.gz 332176 BLAKE2B 85eb127e4c8e505f21c135e9241353aee33ae9a5087fb0fb2c2bf9b6a0e913f36a5077569c76c3b92d196e506d8c2be83806a2f8e8554b957a7ee84a1145f316 SHA512 ba5a3b22728d73a392e071d0b1b5363ebf94f25dbe00728fe944d1c7dbb2998b90550756b3ac5e8c51ef310ee269b90f1345ac8380ab8a89bfb7b24f5797ae4c DIST python-recurring-ical-events-2.2.1.gh.tar.gz 332458 BLAKE2B 337823e2a98c43015ffd7e848ab4fe43429f787ceb8ff262dca9d73668a785d6245f9e64779c900f1a84a2d7713832621d42044309f38c44bba79fc2853d066f SHA512 1bd6337b5b8670b2c587d54eae26291c381adba76c38e21a937db8a16480d9b4c6eaddda6660fd0c345f67e38ed4f7cfe9e528ecce3686bce9659f4ef30d278c diff --git a/dev-python/recurring-ical-events/recurring-ical-events-2.1.3.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-2.1.3.ebuild deleted file mode 100644 index b1d8fa71740bd..0000000000000 --- a/dev-python/recurring-ical-events/recurring-ical-events-2.1.3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Repeat ICalendar events by RRULE, RDATE and EXDATE" -HOMEPAGE=" - https://github.com/niccokunzmann/python-recurring-ical-events/ - https://pypi.org/project/recurring-ical-events/ -" -SRC_URI=" - https://github.com/niccokunzmann/python-recurring-ical-events/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - =dev-python/icalendar-5.0.9[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/pytz-2023.3[${PYTHON_USEDEP}] - =dev-python/x-wr-timezone-0.0.5[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - test/test_readme.py -) - -EPYTEST_DESELECT=( - # a test checking if tzdata package is installed that is apparently - # needed for other tests, except it isn't - test/test_zoneinfo_issue_57.py::test_zoneinfo_must_be_installed_if_it_is_possible -) diff --git a/dev-python/recurring-ical-events/recurring-ical-events-2.2.0.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-2.2.0.ebuild deleted file mode 100644 index b1d8fa71740bd..0000000000000 --- a/dev-python/recurring-ical-events/recurring-ical-events-2.2.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P=python-${P} -DESCRIPTION="Repeat ICalendar events by RRULE, RDATE and EXDATE" -HOMEPAGE=" - https://github.com/niccokunzmann/python-recurring-ical-events/ - https://pypi.org/project/recurring-ical-events/ -" -SRC_URI=" - https://github.com/niccokunzmann/python-recurring-ical-events/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - =dev-python/icalendar-5.0.9[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] - >=dev-python/pytz-2023.3[${PYTHON_USEDEP}] - =dev-python/x-wr-timezone-0.0.5[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -EPYTEST_IGNORE=( - test/test_readme.py -) - -EPYTEST_DESELECT=( - # a test checking if tzdata package is installed that is apparently - # needed for other tests, except it isn't - test/test_zoneinfo_issue_57.py::test_zoneinfo_must_be_installed_if_it_is_possible -) From 088b0335d92db26fce8f896134fc8be60191201b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:58:34 +0200 Subject: [PATCH 20/28] dev-python/recurring-ical-events: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../recurring-ical-events/recurring-ical-events-2.2.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/recurring-ical-events/recurring-ical-events-2.2.1.ebuild b/dev-python/recurring-ical-events/recurring-ical-events-2.2.1.ebuild index b1d8fa71740bd..71560d4ad7a9f 100644 --- a/dev-python/recurring-ical-events/recurring-ical-events-2.2.1.ebuild +++ b/dev-python/recurring-ical-events/recurring-ical-events-2.2.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 From 092d68db1df8902dba27da82645d0e01d423bb7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 17:59:08 +0200 Subject: [PATCH 21/28] dev-python/respx: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/respx/respx-0.21.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/respx/respx-0.21.1.ebuild b/dev-python/respx/respx-0.21.1.ebuild index 546e9bced470c..424cae52ceb91 100644 --- a/dev-python/respx/respx-0.21.1.ebuild +++ b/dev-python/respx/respx-0.21.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 From 49127fcea5ae4ca7dcef1167c7f821c73c563a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 18:07:00 +0200 Subject: [PATCH 22/28] dev-python/signature-dispatch: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../signature-dispatch/signature-dispatch-1.0.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild index 04f5a4598f15d..422749befc823 100644 --- a/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild +++ b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi From 5a0b71b35b8e86926ff95dd6d396b548c395ae61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 18:08:03 +0200 Subject: [PATCH 23/28] dev-python/simpervisor: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/simpervisor/simpervisor-1.0.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/simpervisor/simpervisor-1.0.0-r1.ebuild b/dev-python/simpervisor/simpervisor-1.0.0-r1.ebuild index 344831934f529..749b43c560247 100644 --- a/dev-python/simpervisor/simpervisor-1.0.0-r1.ebuild +++ b/dev-python/simpervisor/simpervisor-1.0.0-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi From b940bc2700e03a2f0b693126224316bee2e407bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 18:08:58 +0200 Subject: [PATCH 24/28] dev-python/speg: Enable py3.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/speg/speg-0.3_p20180819-r2.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-python/speg/speg-0.3_p20180819-r2.ebuild b/dev-python/speg/speg-0.3_p20180819-r2.ebuild index d9c99cff61f7c..c3a15ccd42d7b 100644 --- a/dev-python/speg/speg-0.3_p20180819-r2.ebuild +++ b/dev-python/speg/speg-0.3_p20180819-r2.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{10..13} ) + inherit distutils-r1 MY_COMMIT="877acddfd5ac5ae8b4a4592d045e74e108477643" @@ -18,8 +19,8 @@ SLOT="0" LICENSE="MIT" KEYWORDS="amd64 arm64 ~ppc ~riscv x86" -distutils_enable_tests pytest - RDEPEND=" dev-python/six[${PYTHON_USEDEP}] " + +distutils_enable_tests pytest From f1b86515e749fd9b09de25f7c7739965b16c451c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 16:03:32 +0200 Subject: [PATCH 25/28] dev-python/numpy: Bump to 2.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/numpy/Manifest | 1 + dev-python/numpy/numpy-2.0.0.ebuild | 132 ++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 dev-python/numpy/numpy-2.0.0.ebuild diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index 29c79a1f01ece..0e5f535e1a098 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -1,2 +1,3 @@ DIST numpy-1.26.4.tar.gz 15786129 BLAKE2B ee759d3a857111bc494d5e989a7b005375d942b2a89cda69be4a3bd7c6cb195003fd2a8a0535f1858d8977ff688b0ec36360dcba9c3160206eedce5e28f191ef SHA512 f7121ab4099fa0686f9c095d456baa4a5869d651d7b7a06385f885f329cf08f11024b5df5e7b4ee705970062a8102ec4f709512eabbfd5c9fccce4ef83b9c208 +DIST numpy-2.0.0.tar.gz 18326228 BLAKE2B e3d1084b79e0e55cd9087bb34dc116e6c9d6ab14a416a07f727b9f5d5a9db236ecf74a53b7e758d078781c5e565e5557912962f2ddbfff7251ec5b231fabe01d SHA512 cd5612ce2db4be87afa8479c508c256c9ff7f1b15a6b010eb06ba962759cc26552b512ec82711680bab1ebedeb06dfc8d7bff9cec63c94efacaadd719448b287 DIST numpy-2.0.0rc2.tar.gz 18323588 BLAKE2B e2d5d03594d0cba360d4e85207818d15a0761f37cc3fb366f8f9f8bdd97743fe0cf0d09a34319c8b6af29b2bc1fc32a7f5be30a5fa2bdebffe455baff05caf7e SHA512 f86b27264c5274823aa11cbedf17c08f81f9acd05430bf40cccbbe8dcff523410629795ca5927d7f8e6c152272b274d777b64f547d23f50d11ae9fd656fd773d diff --git a/dev-python/numpy/numpy-2.0.0.ebuild b/dev-python/numpy/numpy-2.0.0.ebuild new file mode 100644 index 0000000000000..600343fdf194b --- /dev/null +++ b/dev-python/numpy/numpy-2.0.0.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..13} pypy3 ) +PYTHON_REQ_USE="threads(+)" +FORTRAN_NEEDED=lapack + +inherit distutils-r1 flag-o-matic fortran-2 pypi + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE=" + https://numpy.org/ + https://github.com/numpy/numpy/ + https://pypi.org/project/numpy/ +" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +# +lapack because the internal fallbacks are pretty slow. Building without blas +# is barely supported anyway, see bug #914358. +IUSE="+lapack" + +RDEPEND=" + lapack? ( + >=virtual/cblas-3.8 + >=virtual/lapack-3.8 + ) +" +BDEPEND=" + ${RDEPEND} + >=dev-build/meson-1.1.0 + >=dev-python/cython-3.0.6[${PYTHON_USEDEP}] + lapack? ( + virtual/pkgconfig + ) + test? ( + $(python_gen_cond_dep ' + >=dev-python/cffi-1.14.0[${PYTHON_USEDEP}] + ' 'python*') + dev-python/charset-normalizer[${PYTHON_USEDEP}] + >=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # bug #922457 + filter-lto + # https://github.com/numpy/numpy/issues/25004 + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dallow-noblas=$(usex !lapack true false) + -Dblas=$(usev lapack cblas) + -Dlapack=$(usev lapack lapack) + # TODO: cpu-* options + ) +} + +python_test() { + local EPYTEST_DESELECT=( + # Very disk-and-memory-hungry + lib/tests/test_io.py::TestSaveTxt::test_large_zip + lib/tests/test_io.py::TestSavezLoad::test_closing_fid + lib/tests/test_io.py::TestSavezLoad::test_closing_zipfile_after_load + + # Precision problems + _core/tests/test_umath_accuracy.py::TestAccuracy::test_validate_transcendentals + + # Runs the whole test suite recursively, that's just crazy + core/tests/test_mem_policy.py::test_new_policy + + typing/tests/test_typing.py + # Uses huge amount of memory + core/tests/test_mem_overlap.py + 'core/tests/test_multiarray.py::TestDot::test_huge_vectordot[complex128]' + ) + + if [[ $(uname -m) == armv8l ]]; then + # Degenerate case of arm32 chroot on arm64, bug #774108 + EPYTEST_DESELECT+=( + core/tests/test_cpu_features.py::Test_ARM_Features::test_features + ) + fi + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + _core/tests/test_nditer.py::test_iter_refcount + _core/tests/test_limited_api.py::test_limited_api + f2py/tests/test_f2py2e.py::test_gh22819_cli + ) + ;& + python3.12) + EPYTEST_DESELECT+=( + # flaky + f2py/tests/test_crackfortran.py + f2py/tests/test_data.py::TestData::test_crackedlines + f2py/tests/test_data.py::TestDataF77::test_crackedlines + f2py/tests/test_f2py2e.py::test_gen_pyf + ) + ;; + esac + + if ! has_version -b "~${CATEGORY}/${P}[${PYTHON_USEDEP}]" ; then + # depends on importing numpy.random from system namespace + EPYTEST_DESELECT+=( + 'random/tests/test_extending.py::test_cython' + ) + fi + + rm -rf numpy || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs numpy +} + +python_install_all() { + local DOCS=( LICENSE.txt README.md THANKS.txt ) + distutils-r1_python_install_all +} From 97f5b8960f2bcc8ed5ead11b9f378fcf5ecc49d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 18:22:09 +0200 Subject: [PATCH 26/28] dev-python/requests-credssp: Fix distfile suffix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/requests-credssp/Manifest | 2 +- dev-python/requests-credssp/requests-credssp-2.0.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/requests-credssp/Manifest b/dev-python/requests-credssp/Manifest index c5c618cc38ee0..894c9086924c3 100644 --- a/dev-python/requests-credssp/Manifest +++ b/dev-python/requests-credssp/Manifest @@ -1 +1 @@ -DIST requests-credssp-2.0.0.tar.gz 15225 BLAKE2B 3cd2a6bafcef5803d89ab13c42385709308998187eda514a598d262ab5e8c94bc3c0e9b9bf3756de1454d570012863a01f650b4fc6e3a17fb2845d8e52f0bf3b SHA512 d11a76bc9577f3054e5955aad513ee27ff2cf3a70414a1d4a81e721a7b40510d45fa33abc5957724ead6c04958a009153f670e154f38f32f2331cc14dd44ee27 +DIST requests-credssp-2.0.0.gh.tar.gz 15225 BLAKE2B 3cd2a6bafcef5803d89ab13c42385709308998187eda514a598d262ab5e8c94bc3c0e9b9bf3756de1454d570012863a01f650b4fc6e3a17fb2845d8e52f0bf3b SHA512 d11a76bc9577f3054e5955aad513ee27ff2cf3a70414a1d4a81e721a7b40510d45fa33abc5957724ead6c04958a009153f670e154f38f32f2331cc14dd44ee27 diff --git a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild index ffbf5dc9c997b..776b93eb88843 100644 --- a/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild +++ b/dev-python/requests-credssp/requests-credssp-2.0.0.ebuild @@ -15,7 +15,7 @@ HOMEPAGE=" " SRC_URI=" https://github.com/jborean93/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz + -> ${P}.gh.tar.gz " LICENSE="MIT" From 3b095468676b41d711bc049176fe3d40a1af91e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 18:22:25 +0200 Subject: [PATCH 27/28] dev-python/speg: Fix variable order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/speg/speg-0.3_p20180819-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/speg/speg-0.3_p20180819-r2.ebuild b/dev-python/speg/speg-0.3_p20180819-r2.ebuild index c3a15ccd42d7b..7a98545588b6d 100644 --- a/dev-python/speg/speg-0.3_p20180819-r2.ebuild +++ b/dev-python/speg/speg-0.3_p20180819-r2.ebuild @@ -15,8 +15,8 @@ HOMEPAGE="https://github.com/avakar/speg/" SRC_URI="https://github.com/avakar/speg/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz" S=${WORKDIR}/${PN}-${MY_COMMIT} -SLOT="0" LICENSE="MIT" +SLOT="0" KEYWORDS="amd64 arm64 ~ppc ~riscv x86" RDEPEND=" From 6b821fb4e637e4e20ad0b71dfca405d68f8a5280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 17 Jun 2024 18:24:12 +0200 Subject: [PATCH 28/28] package.mask: Last rite dev-python/flake8-polyfill MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/934466 Signed-off-by: Michał Górny --- profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiles/package.mask b/profiles/package.mask index 813f0327440ff..c2374d27b8d5e 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -33,6 +33,12 @@ #--- END OF EXAMPLES --- +# Michał Górny (2024-06-17) +# A compatibility shim for ancient versions of flake8. Upstream project +# is gone. No revdeps. +# Removal on 2024-07-17. Bug #934466. +dev-python/flake8-polyfill + # Hans de Graaff (2024-06-17) # Obsolete slot with failing tests. Use the newer slot instead. No # reverse dependencies. Masked for removal on 2024-07-17.