diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-20 18:55:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-20 18:55:24 +0000 |
| commit | 8f9f87eb4feaf69098b034cfce13d5dbe0efc4ec (patch) | |
| tree | 7af65fe6f439b12f879e6d56f6661094e8721e21 /dev-python | |
| parent | 0d15b8abb3a09d34e4e1657f4a8b8cb381731b98 (diff) | |
| download | baldeagleos-repo-8f9f87eb4feaf69098b034cfce13d5dbe0efc4ec.tar.gz baldeagleos-repo-8f9f87eb4feaf69098b034cfce13d5dbe0efc4ec.tar.xz baldeagleos-repo-8f9f87eb4feaf69098b034cfce13d5dbe0efc4ec.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
73 files changed, 585 insertions, 80 deletions
diff --git a/dev-python/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0-r1.ebuild b/dev-python/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0-r1.ebuild index 6872ee950d9f..06a850a7bfa6 100644 --- a/dev-python/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0-r1.ebuild +++ b/dev-python/argon2-cffi-bindings/argon2-cffi-bindings-21.2.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild b/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild index a9fcd778650a..fc846d76960a 100644 --- a/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild +++ b/dev-python/argon2-cffi/argon2-cffi-23.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/bleach/bleach-6.2.0.ebuild b/dev-python/bleach/bleach-6.2.0.ebuild index b8b9c8838fec..805dd9d58c97 100644 --- a/dev-python/bleach/bleach-6.2.0.ebuild +++ b/dev-python/bleach/bleach-6.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/bottle/bottle-0.13.2.ebuild b/dev-python/bottle/bottle-0.13.2.ebuild index fa658861846a..c39bcab0a7bb 100644 --- a/dev-python/bottle/bottle-0.13.2.ebuild +++ b/dev-python/bottle/bottle-0.13.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/cattrs/cattrs-24.1.2.ebuild b/dev-python/cattrs/cattrs-24.1.2.ebuild index 9f50486c6c08..81971a117b1c 100644 --- a/dev-python/cattrs/cattrs-24.1.2.ebuild +++ b/dev-python/cattrs/cattrs-24.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/cbor2/cbor2-5.6.5.ebuild b/dev-python/cbor2/cbor2-5.6.5.ebuild index c19f9693b5d4..5a10d1f99331 100644 --- a/dev-python/cbor2/cbor2-5.6.5.ebuild +++ b/dev-python/cbor2/cbor2-5.6.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -39,7 +39,7 @@ python_prepare_all() { python_compile() { local -x CBOR2_BUILD_C_EXTENSION=1 # pypy3 not supported upstream - if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then + if [[ ${EPYTHON} == pypy3* ]] || ! use native-extensions; then CBOR2_BUILD_C_EXTENSION=0 fi distutils-r1_python_compile diff --git a/dev-python/comm/comm-0.2.2.ebuild b/dev-python/comm/comm-0.2.2.ebuild index 005ffd650b08..0e6f30a54b14 100644 --- a/dev-python/comm/comm-0.2.2.ebuild +++ b/dev-python/comm/comm-0.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/cycler/cycler-0.12.1.ebuild b/dev-python/cycler/cycler-0.12.1.ebuild index 23cf8f3ce3e2..787e661dbc52 100644 --- a/dev-python/cycler/cycler-0.12.1.ebuild +++ b/dev-python/cycler/cycler-0.12.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/deprecation/deprecation-2.1.0-r1.ebuild b/dev-python/deprecation/deprecation-2.1.0-r1.ebuild index 401fa8779127..5d711d3c9ed6 100644 --- a/dev-python/deprecation/deprecation-2.1.0-r1.ebuild +++ b/dev-python/deprecation/deprecation-2.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/executing/executing-2.2.0.ebuild b/dev-python/executing/executing-2.2.0.ebuild index 3b4198b84d5f..3aae530d7e05 100644 --- a/dev-python/executing/executing-2.2.0.ebuild +++ b/dev-python/executing/executing-2.2.0.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] diff --git a/dev-python/id/id-1.5.0.ebuild b/dev-python/id/id-1.5.0.ebuild index 5b06f0a50d07..adc8e320efcd 100644 --- a/dev-python/id/id-1.5.0.ebuild +++ b/dev-python/id/id-1.5.0.ebuild @@ -38,7 +38,7 @@ python_test() { local EPYTEST_DESELECT=() case ${EPYTHON} in - pypy3) + pypy3*) EPYTEST_DESELECT+=( # https://github.com/di/id/issues/287 test/unit/internal/oidc/test_ambient.py::test_gcp_bad_env diff --git a/dev-python/ipython-genutils/ipython-genutils-0.2.0-r4.ebuild b/dev-python/ipython-genutils/ipython-genutils-0.2.0-r4.ebuild index d391f1d80bc1..75cecace2546 100644 --- a/dev-python/ipython-genutils/ipython-genutils-0.2.0-r4.ebuild +++ b/dev-python/ipython-genutils/ipython-genutils-0.2.0-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/jaraco-itertools/jaraco-itertools-6.4.1.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-6.4.1.ebuild index 6af74b9fb7b5..7ebd84362102 100644 --- a/dev-python/jaraco-itertools/jaraco-itertools-6.4.1.ebuild +++ b/dev-python/jaraco-itertools/jaraco-itertools-6.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/jedi/jedi-0.19.2.ebuild b/dev-python/jedi/jedi-0.19.2.ebuild index e7842df11d20..4ee2df9d66f3 100644 --- a/dev-python/jedi/jedi-0.19.2.ebuild +++ b/dev-python/jedi/jedi-0.19.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -76,6 +76,14 @@ python_test() { test/test_inference/test_compiled.py::test_time_docstring ) ;; + pypy3.11) + EPYTEST_DESELECT+=( + test/test_api/test_interpreter.py::test_param_infer_default + test/test_inference/test_compiled.py::test_next_docstr + test/test_inference/test_compiled.py::test_time_docstring + test/test_inference/test_gradual/test_typeshed.py::test_module_exists_only_as_stub + ) + ;; esac # some plugin breaks case-insensitivity on completions diff --git a/dev-python/jeepney/jeepney-0.8.0.ebuild b/dev-python/jeepney/jeepney-0.8.0.ebuild index 5dc9464e6671..0857c779c029 100644 --- a/dev-python/jeepney/jeepney-0.8.0.ebuild +++ b/dev-python/jeepney/jeepney-0.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/jupyter-packaging/jupyter-packaging-0.12.3.ebuild b/dev-python/jupyter-packaging/jupyter-packaging-0.12.3.ebuild index 1b4f509b88e1..138b836315e6 100644 --- a/dev-python/jupyter-packaging/jupyter-packaging-0.12.3.ebuild +++ b/dev-python/jupyter-packaging/jupyter-packaging-0.12.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild b/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild index 420209a5afa2..922665c54d82 100644 --- a/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild +++ b/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/kerberos/kerberos-1.3.1-r2.ebuild b/dev-python/kerberos/kerberos-1.3.1-r2.ebuild index d2d99b6c52e0..c4e65b65656e 100644 --- a/dev-python/kerberos/kerberos-1.3.1-r2.ebuild +++ b/dev-python/kerberos/kerberos-1.3.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/kiwisolver/kiwisolver-1.4.8.ebuild b/dev-python/kiwisolver/kiwisolver-1.4.8.ebuild index 5823f0c37b0d..fe6cff5a7d24 100644 --- a/dev-python/kiwisolver/kiwisolver-1.4.8.ebuild +++ b/dev-python/kiwisolver/kiwisolver-1.4.8.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Clear-BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" COMMON_DEPEND=" >=dev-python/cppy-1.3.0[${PYTHON_USEDEP}] diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest index 478d2089a5a1..84462629ce9a 100644 --- a/dev-python/m2crypto/Manifest +++ b/dev-python/m2crypto/Manifest @@ -1,2 +1,2 @@ -DIST m2crypto-0.42.0.tar.gz 240072 BLAKE2B 86b9f340eb90a8fc94b09faa20a676a3a63c0c64a0902a6729face72b602a2f55941c156ecb3d522a823457d2514e96b147585264200674e11dfaba3d19790de SHA512 b36fb6d1ca401de9741118ab8d43113511bf27d32f45d2257ed70ea8d3b8a3beaf811731dbbece00a6b990366c43096c6b5f5b12d4649ae923bff98c5fc8e674 DIST m2crypto-0.43.0.tar.gz 366785 BLAKE2B 611daee57c5605246c0a505604e54ec7e029301194ed75bcb7c02ec04f0246a3dc05e13c8c00f1cc15496495a81c098b203cf69a75ce5a65ea3c7a1c0445e5d3 SHA512 c5232956a88de51bd3a1e02859b7a308eabb4e055cc0c8aac2d8d34a60c60a4a4c7160db4060ec07f559134a04eb41c6ab116a194ec3f7441d342e6d38f9add9 +DIST m2crypto-0.44.0.tar.gz 363805 BLAKE2B 0a61574ebee8a82ff2b00fa595870fe8d7e965be893db1e82bd1796703ecec16d7c476185b4b4db754efee1e698f60f20c783d1da04f77ee604afb9a346a2077 SHA512 8f8e9d88852eb003eaad9242ca43a0218354d9af3a6f0d9666ceba0ef2c840cd0aca0ad8493a222eb1de9dd0253c0204dde5530fd6a59ee1c3f29be83ec23458 diff --git a/dev-python/m2crypto/m2crypto-0.42.0.ebuild b/dev-python/m2crypto/m2crypto-0.44.0.ebuild index f3c010433b33..0c1c0254256c 100644 --- a/dev-python/m2crypto/m2crypto-0.42.0.ebuild +++ b/dev-python/m2crypto/m2crypto-0.44.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Liguros Authors +# Copyright 2021-2025 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild b/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild index b8350c44731f..dbf1caddba6e 100644 --- a/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild +++ b/dev-python/matplotlib-inline/matplotlib-inline-0.1.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/munch/munch-4.0.0.ebuild b/dev-python/munch/munch-4.0.0.ebuild index 743ee05d2123..a89908b49869 100644 --- a/dev-python/munch/munch-4.0.0.ebuild +++ b/dev-python/munch/munch-4.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/munkres/munkres-1.1.4-r1.ebuild b/dev-python/munkres/munkres-1.1.4-r1.ebuild index 177724d73b4d..6a7eb0e11656 100644 --- a/dev-python/munkres/munkres-1.1.4-r1.ebuild +++ b/dev-python/munkres/munkres-1.1.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/myst-parser/myst-parser-4.0.1-r1.ebuild b/dev-python/myst-parser/myst-parser-4.0.1-r1.ebuild new file mode 100644 index 000000000000..014f729bd1f1 --- /dev/null +++ b/dev-python/myst-parser/myst-parser-4.0.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +MY_P=MyST-Parser-${PV} +DESCRIPTION="Extended commonmark compliant parser, with bridges to Sphinx" +HOMEPAGE=" + https://github.com/executablebooks/MyST-Parser/ + https://pypi.org/project/myst-parser/ +" +SRC_URI=" + https://github.com/executablebooks/MyST-Parser/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/docutils-0.18[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + <dev-python/markdown-it-py-4[${PYTHON_USEDEP}] + >=dev-python/markdown-it-py-3.0[${PYTHON_USEDEP}] + <dev-python/mdit-py-plugins-0.5[${PYTHON_USEDEP}] + >=dev-python/mdit-py-plugins-0.4.1[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + <dev-python/sphinx-9[${PYTHON_USEDEP}] + >=dev-python/sphinx-6[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + <dev-python/linkify-it-py-3[${PYTHON_USEDEP}] + >=dev-python/linkify-it-py-2.0.0[${PYTHON_USEDEP}] + dev-python/pytest-regressions[${PYTHON_USEDEP}] + dev-python/pytest-param-files[${PYTHON_USEDEP}] + >=dev-python/sphinx-7.3[${PYTHON_USEDEP}] + dev-python/sphinx-pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # minor pygments mismatch + tests/test_sphinx/test_sphinx_builds.py::test_includes +) + +src_prepare() { + default + + # unpin docutils + sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die +} diff --git a/dev-python/nest-asyncio/nest-asyncio-1.6.0.ebuild b/dev-python/nest-asyncio/nest-asyncio-1.6.0.ebuild index f02a405ddf92..d0cc682145b4 100644 --- a/dev-python/nest-asyncio/nest-asyncio-1.6.0.ebuild +++ b/dev-python/nest-asyncio/nest-asyncio-1.6.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/nh3/Manifest b/dev-python/nh3/Manifest index add88ed6f4f0..12d1e303fc26 100644 --- a/dev-python/nh3/Manifest +++ b/dev-python/nh3/Manifest @@ -47,12 +47,13 @@ DIST portable-atomic-1.10.0.crate 174760 BLAKE2B 9a05d6162c95f5140709cbd005c1997 DIST ppv-lite86-0.2.20.crate 22478 BLAKE2B 9d68dc36d8148047d571c0147ed29f586f3c6ac9394b56bd955c8ae5bb18f5a8da5369809f7b8c3199074e23660325158c32c62e1bf69a16cb1f5da2a01f5df0 SHA512 6d171f63b42296f7765732fce3af7ea05d0d81f1541ffb3ad86e81210715ef4afe5bc9e58926e97e757aea6ff96a8012c8411eac78be0fd080898318ed21d7d1 DIST precomputed-hash-0.1.1.crate 1640 BLAKE2B 64a37ef3edd317f771e833bb394f7c19bc9b8c844156c831d2b550692c7e2e36bce44ecf18dd9f2d0f0511346eaf0d2a0ebe792fc288ca0e94a93933f2051846 SHA512 a118a98286a47e2f0cf35d2678d0325c18b9b7d5bdf40ceadc16483b282307fd1498434d5bdfa25477a4f420d97c34d786e42e9fa70431b788b4b8fde9718e05 DIST proc-macro2-1.0.92.crate 52353 BLAKE2B 9aa29fa6f1c56c0392a94a81b4c61953f4d185012cdca37e356817845535da79d7094bf43472ce63109ce479a2fd0cbef4d802afd61daf92c4db303bcac60e7e SHA512 e614f08acc0a7e97ef580479cf5b682378df1ca16f09bfb2296ebb3490a435229dea9d682c621c54ce57e8e1d3b7803eb8ff83c88bd02e07228dba6d02f14aee -DIST pyo3-0.23.3.crate 1073838 BLAKE2B 5e1ce6a5c5232ebf0399b1b969e737cca12f978f445efec9408ea80b8bc6ac1047125dbefa36149c8a904882d6a64dd24a9bd50f1e8de7afe3a3271e1a0f2d6f SHA512 c80377e8673de8b8e51e2423d102dbcc46605a783c13127215916d69fc600efd67ba5f9cca420cb6859124165ec97fde40eb0a0566d8b4b60708e20b8e6e9b6d -DIST pyo3-build-config-0.23.3.crate 32509 BLAKE2B 9e77701712589dec4ad74b3d0e66ae82c7a01b6f29ed36231d999aaf909f80def59d17916e1900bfff10b1d36a0a48ed4bf9757c817eb6c6269549f3d04bd6d4 SHA512 db8b0aa86e96eeb30a8ab36a8a1ba917b7b9e6918c2193d7466841ef38e689908f7719a5390d35fb9a156aa6bd84348fa99ea8d5a784faf5c5cc4635d9a3fac9 -DIST pyo3-ffi-0.23.3.crate 74064 BLAKE2B ec3cc59e047f780041a05e2bf9fac9d65a6f8ccfb5a3e1c35d7c7918da6ded7e65676888a743d3b4d0fe7b0996e441b722c159eed67360c1e3c5b598160a46cc SHA512 fe4678d4cfe81f065554f0d454345f5f8fde927af1afec9212bb49a67be5080dcc9be84e088612208b7732d2283c2c9168a31b0b6fbd32496520d500e372e161 -DIST pyo3-macros-0.23.3.crate 8085 BLAKE2B bf9ea45a8afe7c663da4f3f5c09c23039bbcf9a9ae350eac2b6581a227864d259b1e5c5ea36f9d6f302c26cd957bb4564562b98785eac49233515d7d54453fdf SHA512 23bfcff285db1276f2dcca9895f7672ec6e5aec118039e2cef3cabca0a85eb97f138391cea4da26eb887dff09c65947b165ca83392edcc8640cb283df2929901 -DIST pyo3-macros-backend-0.23.3.crate 70098 BLAKE2B f8ee9c39f743960fc8093bfd53c043fca03b973192e1ab24b48066634e57ea7e74b3ba825ae72380e10569855eec9cb4f0d54f5f8c88dc60e67793257bef8d43 SHA512 9b22e975480f9afc2037587ba85889868a1b543069c2280c65f4cf98e5537708d098bb4885e881c1c9427740c8259988d82176b974900551a4e51097cefb8708 -DIST python3-dll-a-0.2.11.crate 83622 BLAKE2B 4bb801097422fc59be57b64edebeaee851dbad6ccb334d2fb672d279458d8925a08ae5a00c8603c8ab51e4210753483dba81bde189724ec47d1019bd9c4f4dee SHA512 3a5bee1eaec72650fc093105a4139f14c1f65012903a1311aa4ab754fbf7104936f743f0e7c69ee6d7b8d344ec25746c1fd415bdcd0a959c3828a28f9b63ce52 +DIST pyo3-0.23.4.crate 1087676 BLAKE2B 2c7d3530460ff687e8f60dcff0fb01465b2a4642043ebdfc927fc3824b9fbce9c4b304250808a85405d21df12d17a1d1ada7bdf8f3563710692f22223e2732f1 SHA512 0015aa75163ad0ec026d185e15c26f59aaad0eb3cc3044b146e5d703bb375fcd838df2044febbd52e6e129dfba81c8249329fc3e4805695274dac7a69eee0651 +DIST pyo3-build-config-0.23.4.crate 33885 BLAKE2B 7f95a8a9e08d413899ff1fa64af5a52783bad4a7b4db92835464f12bd8565f152497aaeb45d25cc91eed73950abeea30ca4c7495e3b15423ae588b97038beb18 SHA512 b11442609f43d9baab79daf083caf0366987f6ae182239814ad6df6fe4ad31b95132d74f1162fa9428d229bd8c18ef9b696a4c3329b3960fd705d1705fc5e973 +DIST pyo3-ffi-0.23.4-pypy3_11.patch.xz 2140 BLAKE2B 29cf1a3b340241bb323192261b11a431a0b78748819dfe05683ce51c18fb53b5e9394fd4269197475d467f6be82df1fdc92e45450a1e2416ddd459bc00174b6e SHA512 43da84518b24022b82314fc509e8125ad6a9e5c47f8e2eb20da2fa38631719759ce821253a62bdd9fc3fdbedf798e9a37168c39d913570a6cfc53aca3ec0eedb +DIST pyo3-ffi-0.23.4.crate 74806 BLAKE2B 650784d46347c00f09c010c39e9762f778efc510ad0b99b5ddf30cab18edaba552207339ad44ed4ae6d87ddfcc56fa540a17e3a4cb331905a0988d5ba2dc682a SHA512 c12097292b4620f4fd98d61fde4a0f0c7d423a94d518fa5b1cf759089b066fede6d83e20171acc2aa7bf268de5700c9b59da32131216734626b0fa5cd5651801 +DIST pyo3-macros-0.23.4.crate 8852 BLAKE2B ba5722fd52e47aa4dc2e89bacd69326bd98943a1670ebeab08a2e9e8070a0975ebbe928a0bce8b53a700b65294fee2b00d2a1e6623a0c48ac15902cdbfcb7a97 SHA512 c36c9005db5a4b48b5fda881130f4e7da8eef46e2c363c395ccca3fe476e0204d98c2a832cd03c787fb37a2664fadd42bf8f47de71eb44d055754ab5766af934 +DIST pyo3-macros-backend-0.23.4.crate 70912 BLAKE2B a428c732f0b17d9a8f620d0e8d58469f2cba339c8a8307393ce252a7860808e5d50e6bbf711cafd0635c844f4b1d48e57db4dd99ef7b5e3d97d6f760164278e9 SHA512 2fe670fbf35724f489cc82f38d3f7c1e6aa15b087a2674b7a68b562572f9bb00cbb7746cccfcb62d0861a18f6d24c5739273c8302d1662a161142f4a6b532b6f +DIST python3-dll-a-0.2.12.crate 83731 BLAKE2B 2ae21b085e7a7aae2c17584fa5feacfe35e974f1bf96673027cb6b6f382241d115df7c9cd009b0346840b6366163c08a62e1695b0834385e182d250390e446e2 SHA512 4d9860f7ecf689b8e5c865f4f2d2486baae0d6765ecedef08234973e921461a3af56f007dce178de6539053eab28dec0870c9f110c3c66dbf7b076e18d2e1fd7 DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 DIST rand-0.8.5.crate 87113 BLAKE2B 516f26bb2a969d0d79e957818133f35d2c0b4d9f1b401098ea23c5b80d27599e842b9298c0c5e46e2a6cb6953857bf8a9fb71ec9366c5ce6708cf17df14f179c SHA512 8b33a8988906ba5e2057a9a84bdd11f867a5536c22f5056eec59ed4ec4e3a6da2fd773da4c0510d343762e5a4ea0f007db4c4a7cef87a47f90e36c1a84d86fb2 DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e9032fba8eb38a6d1b30180d15e2f89ffa2a162bf6358da41e030098242d81e71dab4321980d0a4f6ddfc2974ce3 SHA512 8198c580b1b9b0429758ffa49cd8138fa3ce724f0dcf73c767ea7e55611d6a2e4c7cad9950896510def500ce4062b594386c947ac3d89425b4e5c9b04d0b8075 diff --git a/dev-python/nh3/nh3-0.2.20.ebuild b/dev-python/nh3/nh3-0.2.20.ebuild index 0e514ccd025a..7cdf82722c91 100644 --- a/dev-python/nh3/nh3-0.2.20.ebuild +++ b/dev-python/nh3/nh3-0.2.20.ebuild @@ -52,12 +52,12 @@ CRATES=" ppv-lite86@0.2.20 precomputed-hash@0.1.1 proc-macro2@1.0.92 - pyo3-build-config@0.23.3 - pyo3-ffi@0.23.3 - pyo3-macros-backend@0.23.3 - pyo3-macros@0.23.3 - pyo3@0.23.3 - python3-dll-a@0.2.11 + pyo3-build-config@0.23.4 + pyo3-ffi@0.23.4 + pyo3-macros-backend@0.23.4 + pyo3-macros@0.23.4 + pyo3@0.23.4 + python3-dll-a@0.2.12 quote@1.0.37 rand@0.8.5 rand_chacha@0.3.1 @@ -118,6 +118,7 @@ HOMEPAGE=" " SRC_URI+=" ${CARGO_CRATE_URIS} + https://dev.gentoo.org/~mgorny/dist/pyo3-ffi-0.23.4-pypy3_11.patch.xz " LICENSE="MIT" @@ -134,8 +135,10 @@ QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/nh3/nh3.*.so" src_prepare() { distutils-r1_src_prepare - # force unstable ABI to workaround stable ABI crash in py3.13 - # https://github.com/PyO3/pyo3/issues/4311 - sed -i -e 's:"abi3-py37",::' Cargo.toml || die - export UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + # unpin pyo3 + rm Cargo.lock || die + + pushd "${ECARGO_VENDOR}"/pyo3-ffi* >/dev/null || die + eapply -p2 "${WORKDIR}/pyo3-ffi-0.23.4-pypy3_11.patch" + popd >/dev/null || die } diff --git a/dev-python/pandocfilters/pandocfilters-1.5.1.ebuild b/dev-python/pandocfilters/pandocfilters-1.5.1.ebuild index a01ae8668db7..64d4476a6ceb 100644 --- a/dev-python/pandocfilters/pandocfilters-1.5.1.ebuild +++ b/dev-python/pandocfilters/pandocfilters-1.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/parso/parso-0.8.4.ebuild b/dev-python/parso/parso-0.8.4.ebuild index 3ad29f11f2bd..72df25f5079d 100644 --- a/dev-python/parso/parso-0.8.4.ebuild +++ b/dev-python/parso/parso-0.8.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/passlib/passlib-1.7.4-r3.ebuild b/dev-python/passlib/passlib-1.7.4-r3.ebuild index 984303761c75..5263ffaa8c41 100644 --- a/dev-python/passlib/passlib-1.7.4-r3.ebuild +++ b/dev-python/passlib/passlib-1.7.4-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild b/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild index 0ac7b77fc2ba..781f4c9d9767 100644 --- a/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild +++ b/dev-python/pickleshare/pickleshare-0.7.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild b/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild index 977cea0c5359..b3cf08bcdcaa 100644 --- a/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild +++ b/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pure-eval/pure-eval-0.2.3.ebuild b/dev-python/pure-eval/pure-eval-0.2.3.ebuild index d6da38a4bc75..97cda75a923c 100644 --- a/dev-python/pure-eval/pure-eval-0.2.3.ebuild +++ b/dev-python/pure-eval/pure-eval-0.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,7 @@ python_test() { local EPYTEST_DESELECT=() case ${EPYTHON} in - pypy3) + pypy3*) EPYTEST_DESELECT+=( # https://github.com/alexmojaki/pure_eval/issues/15 tests/test_getattr_static.py::TestGetattrStatic::test_custom_object_dict diff --git a/dev-python/pybind11/files/pybind11-2.13.6-pypy311.patch b/dev-python/pybind11/files/pybind11-2.13.6-pypy311.patch new file mode 100644 index 000000000000..debc7b7c55e2 --- /dev/null +++ b/dev-python/pybind11/files/pybind11-2.13.6-pypy311.patch @@ -0,0 +1,31 @@ +diff --git a/include/pybind11/attr.h b/include/pybind11/attr.h +index 1044db94..89d418cc 100644 +--- a/include/pybind11/attr.h ++++ b/include/pybind11/attr.h +@@ -351,7 +351,8 @@ struct type_record { + + bases.append((PyObject *) base_info->type); + +-#if PY_VERSION_HEX < 0x030B0000 ++// Keep in sync with enable_dynamic_attributes() in detail/class.h ++#if PY_VERSION_HEX < 0x030B0000 || defined(PYPY_VERSION) + dynamic_attr |= base_info->type->tp_dictoffset != 0; + #else + dynamic_attr |= (base_info->type->tp_flags & Py_TPFLAGS_MANAGED_DICT) != 0; +diff --git a/include/pybind11/detail/class.h b/include/pybind11/detail/class.h +index b990507d..e97d48b2 100644 +--- a/include/pybind11/detail/class.h ++++ b/include/pybind11/detail/class.h +@@ -560,9 +560,9 @@ extern "C" inline int pybind11_clear(PyObject *self) { + inline void enable_dynamic_attributes(PyHeapTypeObject *heap_type) { + auto *type = &heap_type->ht_type; + type->tp_flags |= Py_TPFLAGS_HAVE_GC; +-#if PY_VERSION_HEX < 0x030B0000 +- type->tp_dictoffset = type->tp_basicsize; // place dict at the end +- type->tp_basicsize += (ssize_t) sizeof(PyObject *); // and allocate enough space for it ++#if PY_VERSION_HEX < 0x030B0000 || defined(PYPY_VERSION) // For PyPy see PR #5508 ++ type->tp_dictoffset = type->tp_basicsize; // place dict at the end ++ type->tp_basicsize += (ssize_t) sizeof(PyObject *); // and allocate enough space for it + #else + type->tp_flags |= Py_TPFLAGS_MANAGED_DICT; + #endif diff --git a/dev-python/pybind11/pybind11-2.13.6.ebuild b/dev-python/pybind11/pybind11-2.13.6.ebuild index f8929c99947a..0aa1ecce892c 100644 --- a/dev-python/pybind11/pybind11-2.13.6.ebuild +++ b/dev-python/pybind11/pybind11-2.13.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -39,7 +39,15 @@ EPYTEST_XDIST=1 distutils_enable_tests pytest python_prepare_all() { + local PATCHES=( + # https://github.com/pybind/pybind11/pull/5508 + # https://github.com/pybind/pybind11/pull/5537 + "${FILESDIR}/${P}-pypy311.patch" + ) + cmake_src_prepare + + PATCHES=() distutils-r1_python_prepare_all } diff --git a/dev-python/pypiserver/pypiserver-2.3.2.ebuild b/dev-python/pypiserver/pypiserver-2.3.2.ebuild index a7bd5f598c64..218b9fda64a6 100644 --- a/dev-python/pypiserver/pypiserver-2.3.2.ebuild +++ b/dev-python/pypiserver/pypiserver-2.3.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild index 3b47b2248709..f4a2c01a390c 100644 --- a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild +++ b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pytest-tornado/pytest-tornado-0.8.1-r1.ebuild b/dev-python/pytest-tornado/pytest-tornado-0.8.1-r1.ebuild index 75d42e54586d..4511e409aece 100644 --- a/dev-python/pytest-tornado/pytest-tornado-0.8.1-r1.ebuild +++ b/dev-python/pytest-tornado/pytest-tornado-0.8.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild index d7fd7777f4d5..5f7d9a7b432a 100644 --- a/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild +++ b/dev-python/pytest-tornasync/pytest-tornasync-0.6.0_p2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index 0e1718df0a4a..ecd3db38b822 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -11,7 +11,9 @@ DIST Python-3.13.1.tar.xz.asc 963 BLAKE2B 47cbfb6bceb92716181a0ed8f41742958568e6 DIST Python-3.13.2.tar.xz 22621108 BLAKE2B 79c7dff8a15fd2487d62847a8e654c02433a89887aa4f93819020b60a30587e3ba92b101553d971b59e132677f9f74dfc41cd7c7901db78a7787607ec96c6664 SHA512 bb1c0598914c6d4326554faa568f660f10b20c701d0f36bf1fa58837b6498d728a407416b06ede39604caea1ca93f60545b83b01ae8ee65f55d4cc83242b63fe DIST Python-3.13.2.tar.xz.asc 963 BLAKE2B 95a36c305dd452df23b4f119de05e1d3a2b2c9e0c2778a52dc4065f82b52752b68d89eb737cc54cced70623ad4a7b48c85fdff781bf7d7e3b747dacb1ef77db0 SHA512 5f019be530f688b0adf5d5cc9f2c2243e2f1dc7338559db14c1eedd12aadc85404d42c7aafd74e41828205d85f13f278876662ac30c8f3382a1ee081ba5f29f2 DIST python-gentoo-patches-3.10.16_p1.tar.xz 24964 BLAKE2B 93cf5d208f80f1017e4afdcf7d3551d150a1d68c378312af43c668156d98f10087d2b6f315f717823a9aae1114e2baa999f61ce179639e5511d30ed9620c9570 SHA512 74ad92d3256d744e3572c0d858b4ba4d5f0f6fda84d8f3c1a1fb675376c2d525e2d9fd636a65c8a859a0a312eda00877b13ba311f620b6a51e47dfb082843333 +DIST python-gentoo-patches-3.10.16_p2.tar.xz 29428 BLAKE2B fa63d2fcdbb53e3b6381eaadfbcfca02a03eddd7035dd4776c706fd1aa0226a2c809260ba5a543a209a63563dab12ea109bf03a2026ea4b5797fa6afc7b45c52 SHA512 0186abf035632a3f8018052f8021c1d0dadbc28b7d03551f6992a658fe53878ac9ea86b79512e0e147efecedfda133cf7936746946238177918be9c695248f15 DIST python-gentoo-patches-3.11.11_p1.tar.xz 11644 BLAKE2B d080e1b987ea0e1b397113f20a5c84f6a34d6619a3ed9f7389fd10d95636169563fba97d212477ca7f9b93d2bd0b66c9521fc61963bb468805a661ca3ab287a7 SHA512 f6045adf25923053fc9a60506b9164c9c062580d6886f1a3dcaca00dc4affe69aa9e138f8ce93f093798ccf33322ccca2aca674ab87457df98a93dcaca234b44 +DIST python-gentoo-patches-3.11.11_p2.tar.xz 16224 BLAKE2B d8404c8c87e109d2c699dbab63c20a319c6efd5b62dab5fcc1b53b5b291e25686e69ef92b495eed0d80491cfa29ae9f523df6b53c7c6a12c3f713c53e3c5b7c6 SHA512 f1bf897305678c2b113aef4553d14e916e83312708352765725d754dffbf2f5dd7ef0f7cd84a774e4a8c18dde8a517d7eaf8e58720d73d25430b28fe49906258 DIST python-gentoo-patches-3.12.8.tar.xz 10772 BLAKE2B 9833b5ee6c307a4aa1335fd966fcd64a0f3732a97a190abdd3121b3496ea68ead9436af4ec5e3e8c0e781fd68df41403a1b2e5f29f264fc8569a883141e5f7f9 SHA512 d5906845a6259f7349a0299e185f569750b493c64ea1f6537dc8bfc0babc9b54de7db1c4f1b5b6ec2f7076937ad07ca0ca9c4941bbb8d542da6c687957bdbd5e DIST python-gentoo-patches-3.12.8_p1.tar.xz 11088 BLAKE2B 4d7ccf4759b624aafde1ef2a0a341cda8f4d3e7c4d86586201a910d77327219e61b134985f2fe85e83892ad4ba607b4e661aed675cc038e4cc193efe9fbe6f6e SHA512 6f1d6ab2b9e958ae7d2ca3f204b7c7eb1435998919cf5a577a82bbf1339232f92a2f517c248afb9e1802850acd2b59b84c41e87f4b8582e19ec88155743cdaae DIST python-gentoo-patches-3.12.9.tar.xz 10736 BLAKE2B 1f87d1bba8c094936e5cd3e0ef2eede0dbca3e658430f81b398735d8f02fff1f87739914014dbcb17163f8a969ffc5e7e4cce7d71557ce3c2e58487e6ed8b80f SHA512 342f11df85926e32455d52115d06b817a17f7ae104e3ea8e852046d321d829835bba7c07803c50dd5433ac8b615499428d5bc1a088b484ca0c4304eb8b2cb879 diff --git a/dev-python/python-tests/python-tests-3.10.16_p2.ebuild b/dev-python/python-tests/python-tests-3.10.16_p2.ebuild new file mode 100644 index 000000000000..c423a21e03ab --- /dev/null +++ b/dev-python/python-tests/python-tests-3.10.16_p2.ebuild @@ -0,0 +1,74 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit python-r1 verify-sig + +MY_PV=${PV} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} + !<dev-lang/python-3.10.14_p3-r1:${PYVER} +" +BDEPEND=" + ${RDEPEND} + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + local dirs=( + ctypes/test distutils/tests idlelib/idle_test lib2to3/tests + sqlite3/test ./test tkinter/test unittest/test + ) + local dir + for dir in "${dirs[@]}"; do + python_moduleinto "/usr/lib/python${PYVER}/${dir%/*}" + python_domodule "${dir}" + done +} diff --git a/dev-python/python-tests/python-tests-3.11.11_p2.ebuild b/dev-python/python-tests/python-tests-3.11.11_p2.ebuild new file mode 100644 index 000000000000..d3487fcbbcbf --- /dev/null +++ b/dev-python/python-tests/python-tests-3.11.11_p2.ebuild @@ -0,0 +1,74 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit python-r1 verify-sig + +MY_PV=${PV} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} + !<dev-lang/python-3.11.9_p2-r1:${PYVER} +" +BDEPEND=" + ${RDEPEND} + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + local dirs=( + ctypes/test distutils/tests idlelib/idle_test lib2to3/tests + ./test tkinter/test unittest/test + ) + local dir + for dir in "${dirs[@]}"; do + python_moduleinto "/usr/lib/python${PYVER}/${dir%/*}" + python_domodule "${dir}" + done +} diff --git a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.2-r1.ebuild b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.2-r1.ebuild index 5976846789c4..fee8ccb339f2 100644 --- a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.2-r1.ebuild +++ b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/pyzmq/pyzmq-26.2.1.ebuild b/dev-python/pyzmq/pyzmq-26.2.1.ebuild index 4f8a2d1a8f6e..5c9441bd3409 100644 --- a/dev-python/pyzmq/pyzmq-26.2.1.ebuild +++ b/dev-python/pyzmq/pyzmq-26.2.1.ebuild @@ -73,7 +73,7 @@ python_test() { ) case ${EPYTHON} in - pypy3) + pypy3*) EPYTEST_DESELECT+=( # not implemented in cffi variant? tests/test_draft.py::TestDraftSockets diff --git a/dev-python/readme-renderer/readme-renderer-44.0.ebuild b/dev-python/readme-renderer/readme-renderer-44.0.ebuild index 4e286df791ab..0951c3aac571 100644 --- a/dev-python/readme-renderer/readme-renderer-44.0.ebuild +++ b/dev-python/readme-renderer/readme-renderer-44.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.5.ebuild b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.5.ebuild index 1a515972d4fa..e45157b4143e 100644 --- a/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.5.ebuild +++ b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-2.2.5.ebuild @@ -1,11 +1,11 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 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_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi diff --git a/dev-python/recommonmark/recommonmark-0.7.1-r1.ebuild b/dev-python/recommonmark/recommonmark-0.7.1-r1.ebuild index 6a055ffc5fa6..44011ee0a353 100644 --- a/dev-python/recommonmark/recommonmark-0.7.1-r1.ebuild +++ b/dev-python/recommonmark/recommonmark-0.7.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild b/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild index 7b3f01eaa156..b64d40505951 100644 --- a/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild +++ b/dev-python/rfc3986/rfc3986-2.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/roman-numerals-py/roman-numerals-py-2.0.0.ebuild b/dev-python/roman-numerals-py/roman-numerals-py-2.0.0.ebuild index a98dd72c6f29..c5087638a0ff 100644 --- a/dev-python/roman-numerals-py/roman-numerals-py-2.0.0.ebuild +++ b/dev-python/roman-numerals-py/roman-numerals-py-2.0.0.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="|| ( 0BSD CC0-1.0 )" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~riscv" distutils_enable_tests pytest diff --git a/dev-python/scikit-build-core/scikit-build-core-0.10.7.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.10.7.ebuild index 7db4273e686c..7a98d3e14d75 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.10.7.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.10.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/secretstorage/secretstorage-3.3.3.ebuild b/dev-python/secretstorage/secretstorage-3.3.3.ebuild index 4d6e985ac6c0..e4c0a7ddd38d 100644 --- a/dev-python/secretstorage/secretstorage-3.3.3.ebuild +++ b/dev-python/secretstorage/secretstorage-3.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/send2trash/send2trash-1.8.3.ebuild b/dev-python/send2trash/send2trash-1.8.3.ebuild index 165e8bbf6cd0..94230a6e003e 100644 --- a/dev-python/send2trash/send2trash-1.8.3.ebuild +++ b/dev-python/send2trash/send2trash-1.8.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/setuptools-git/setuptools-git-1.2-r3.ebuild b/dev-python/setuptools-git/setuptools-git-1.2-r3.ebuild index cead8f063742..fcd5eb48c764 100644 --- a/dev-python/setuptools-git/setuptools-git-1.2-r3.ebuild +++ b/dev-python/setuptools-git/setuptools-git-1.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.1.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.1.0.ebuild index 8405d15734d4..8353240e721d 100644 --- a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.1.0.ebuild +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~riscv" RDEPEND=" >=dev-python/sphinx-8.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.2.ebuild b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.2.ebuild index dadb22e8a96e..e6612777ac02 100644 --- a/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.2.ebuild +++ b/dev-python/sphinx-rtd-theme/sphinx-rtd-theme-3.0.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi diff --git a/dev-python/sphinx/sphinx-8.2.0.ebuild b/dev-python/sphinx/sphinx-8.2.0.ebuild index d96eb6f7affd..d7af3a9d4152 100644 --- a/dev-python/sphinx/sphinx-8.2.0.ebuild +++ b/dev-python/sphinx/sphinx-8.2.0.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~riscv" IUSE="doc latex" RDEPEND=" diff --git a/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-2.0.0-r1.ebuild b/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-2.0.0-r1.ebuild new file mode 100644 index 000000000000..6cb99e8c584b --- /dev/null +++ b/dev-python/sphinxcontrib-applehelp/sphinxcontrib-applehelp-2.0.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which outputs Apple help book" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-applehelp/ + https://pypi.org/project/sphinxcontrib-applehelp/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${PDEPEND} ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-devhelp/sphinxcontrib-devhelp-2.0.0-r1.ebuild b/dev-python/sphinxcontrib-devhelp/sphinxcontrib-devhelp-2.0.0-r1.ebuild new file mode 100644 index 000000000000..0e8bd26f719f --- /dev/null +++ b/dev-python/sphinxcontrib-devhelp/sphinxcontrib-devhelp-2.0.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which outputs Devhelp documents" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-devhelp/ + https://pypi.org/project/sphinxcontrib-devhelp/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${PDEPEND} ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.1.0-r1.ebuild b/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.1.0-r1.ebuild new file mode 100644 index 000000000000..1db2b22e96ab --- /dev/null +++ b/dev-python/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-2.1.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which outputs HTML help book" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/ + https://pypi.org/project/sphinxcontrib-htmlhelp/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${PDEPEND} + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-4.1.ebuild b/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-4.1.ebuild index d9b2d0d2c697..88317d11b877 100644 --- a/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-4.1.ebuild +++ b/dev-python/sphinxcontrib-jquery/sphinxcontrib-jquery-4.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi diff --git a/dev-python/sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1-r4.ebuild b/dev-python/sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1-r4.ebuild new file mode 100644 index 000000000000..aa8f617ab965 --- /dev/null +++ b/dev-python/sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1-r4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which renders display math in HTML via JavaScript" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-jsmath/ + https://pypi.org/project/sphinxcontrib-jsmath/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${PDEPEND} ) +" + +distutils_enable_tests pytest + +src_prepare() { + # This is already fixed in upstream, remove it on next version bump, + # see https://github.com/sphinx-doc/sphinxcontrib-jsmath/pull/10 + sed -i 's/.text()/.read_text()/' tests/test_jsmath.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + distutils_write_namespace sphinxcontrib + cd "${T}" || die + epytest "${S}"/tests +} diff --git a/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-2.0.0-r1.ebuild b/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-2.0.0-r1.ebuild new file mode 100644 index 000000000000..6d48f484c5fe --- /dev/null +++ b/dev-python/sphinxcontrib-qthelp/sphinxcontrib-qthelp-2.0.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which outputs QtHelp documents" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-qthelp/ + https://pypi.org/project/sphinxcontrib-qthelp/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/defusedxml-0.7.1[${PYTHON_USEDEP}] + ${PDEPEND} + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-2.0.0-r1.ebuild b/dev-python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-2.0.0-r1.ebuild new file mode 100644 index 000000000000..5e5ad9cfc96d --- /dev/null +++ b/dev-python/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-2.0.0-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension which outputs outputs serialized HTML files" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/ + https://pypi.org/project/sphinxcontrib-serializinghtml/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( ${PDEPEND} ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2-r1.ebuild b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2-r1.ebuild index ae1aac744454..02ca14c8a0ee 100644 --- a/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2-r1.ebuild +++ b/dev-python/sphinxcontrib-trio/sphinxcontrib-trio-1.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.7-r1.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.7-r1.ebuild new file mode 100644 index 000000000000..5974dcec5722 --- /dev/null +++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.7-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_TESTED=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx websupport extension" +HOMEPAGE=" + https://www.sphinx-doc.org/ + https://github.com/sphinx-doc/sphinxcontrib-websupport/ + https://pypi.org/project/sphinxcontrib-websupport/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" + +RDEPEND=" + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}] +" +# avoid circular dependency with sphinx +PDEPEND=" + >=dev-python/sphinx-5[${PYTHON_USEDEP}] +" +# there are additional optional test deps on sqlalchemy and whoosh +BDEPEND=" + test? ( + ${PDEPEND} + $(python_gen_cond_dep ' + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/whoosh[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/terminado/terminado-0.18.1.ebuild b/dev-python/terminado/terminado-0.18.1.ebuild index 79e401fa6472..1945afa3e2b0 100644 --- a/dev-python/terminado/terminado-0.18.1.ebuild +++ b/dev-python/terminado/terminado-0.18.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/tinycss2/tinycss2-1.4.0.ebuild b/dev-python/tinycss2/tinycss2-1.4.0.ebuild index ab09d53538df..5d4dc293c244 100644 --- a/dev-python/tinycss2/tinycss2-1.4.0.ebuild +++ b/dev-python/tinycss2/tinycss2-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/tqdm/tqdm-4.67.1.ebuild b/dev-python/tqdm/tqdm-4.67.1.ebuild index 81752578cfe4..e07e4af6179e 100644 --- a/dev-python/tqdm/tqdm-4.67.1.ebuild +++ b/dev-python/tqdm/tqdm-4.67.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/wcwidth/wcwidth-0.2.13.ebuild b/dev-python/wcwidth/wcwidth-0.2.13.ebuild index b5de39c8a135..5adf7b2cc52a 100644 --- a/dev-python/wcwidth/wcwidth-0.2.13.ebuild +++ b/dev-python/wcwidth/wcwidth-0.2.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/wurlitzer/wurlitzer-3.1.1.ebuild b/dev-python/wurlitzer/wurlitzer-3.1.1.ebuild index c4c8f580128b..7d099607e18a 100644 --- a/dev-python/wurlitzer/wurlitzer-3.1.1.ebuild +++ b/dev-python/wurlitzer/wurlitzer-3.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/xmltodict/xmltodict-0.14.2.ebuild b/dev-python/xmltodict/xmltodict-0.14.2.ebuild index 8a8566d423d8..adc214340e16 100644 --- a/dev-python/xmltodict/xmltodict-0.14.2.ebuild +++ b/dev-python/xmltodict/xmltodict-0.14.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/zipp/zipp-3.21.0.ebuild b/dev-python/zipp/zipp-3.21.0.ebuild index aeb04209db70..1daef1c185a6 100644 --- a/dev-python/zipp/zipp-3.21.0.ebuild +++ b/dev-python/zipp/zipp-3.21.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep |
