diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-21 19:01:21 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-21 19:01:21 +0000 |
| commit | 00a6d1ff550f047a4aefe580f6d036c1d8564da7 (patch) | |
| tree | 1e4207fd130e74bd3248b48ddc2062b46480a105 /dev-python | |
| parent | ae723eb1ef4f54cf34cd3235fe0f5e9d39b046cc (diff) | |
| download | baldeagleos-repo-00a6d1ff550f047a4aefe580f6d036c1d8564da7.tar.gz baldeagleos-repo-00a6d1ff550f047a4aefe580f6d036c1d8564da7.tar.xz baldeagleos-repo-00a6d1ff550f047a4aefe580f6d036c1d8564da7.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
176 files changed, 285 insertions, 3632 deletions
diff --git a/dev-python/absl-py/absl-py-2.3.0.ebuild b/dev-python/absl-py/absl-py-2.3.0.ebuild index c45c332efca8..0a44856eaf29 100644 --- a/dev-python/absl-py/absl-py-2.3.0.ebuild +++ b/dev-python/absl-py/absl-py-2.3.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] diff --git a/dev-python/aiohttp/aiohttp-3.12.13.ebuild b/dev-python/aiohttp/aiohttp-3.12.13.ebuild index 562da68a921d..a1c48f4e1061 100644 --- a/dev-python/aiohttp/aiohttp-3.12.13.ebuild +++ b/dev-python/aiohttp/aiohttp-3.12.13.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86" IUSE="+native-extensions test-rust" DEPEND=" diff --git a/dev-python/aiounittest/aiounittest-1.5.0-r1.ebuild b/dev-python/aiounittest/aiounittest-1.5.0-r1.ebuild index d70f8d9423a9..e8fb9d6c93b0 100644 --- a/dev-python/aiounittest/aiounittest-1.5.0-r1.ebuild +++ b/dev-python/aiounittest/aiounittest-1.5.0-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/wrapt[${PYTHON_USEDEP}] diff --git a/dev-python/aiounittest/aiounittest-1.5.0.ebuild b/dev-python/aiounittest/aiounittest-1.5.0.ebuild deleted file mode 100644 index 0c4463037659..000000000000 --- a/dev-python/aiounittest/aiounittest-1.5.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2023-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 ) - -inherit distutils-r1 - -DESCRIPTION="Test asyncio code more easily" -HOMEPAGE=" - https://github.com/kwarunek/aiounittest/ - https://pypi.org/project/aiounittest/ -" -SRC_URI=" - https://github.com/kwarunek/aiounittest/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/wrapt[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index ea81a6c05b10..ba4678acbd5d 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,2 +1,3 @@ DIST apsw-3.49.1.0.zip 2452578 BLAKE2B 86668de3ffd71581611e1cb2dc8b249d8d104626e167eab3c98cb20747bbed17dc15517808e3c361f13adf89e8af515cffc55d7b3e1c4c75bdaeab37aff8ae16 SHA512 faae9cceb462428345fd2815a970dfc80574848f87bade7cceb09aed17127d020fd16402b3d36afe0fbc6bf707a408feea0ce038486c2a68a2ab1077a9b68d0a DIST apsw-3.50.0.0.zip 2530510 BLAKE2B ae129f716ffa2b560e1983513c9cdace5225fda846be64080035f083d0b6e6fedc2367a7039aeb33b373076449862794932db331f0a7c3488e95e3e3c1af7fcf SHA512 90c2df39cf6f2347449b809688c4789105f1e74b19292c82bf7271e6ba4f5ef70a71da65f8e8aec8b34ca16ea1e4ff7fbf386500b9d09958a9611e09c788e91c +DIST apsw-3.50.1.0.zip 2531812 BLAKE2B b187040c31470c975230c09053a09e608b80a2bba0ecf1edbf91ed2c5754d4b52d4a5310275ad3c4900e177124fa2a42f1e895ed607e509289862cfe5fc61e1a SHA512 d4d8e543950587bb772bc9bc04f0882378f430998ba26e1b0dc2bdee46c4a5e1539100770e4d2d9c800a37958730c0e24178cefbfaf01debb2367d738e1ecbde diff --git a/dev-python/apsw/apsw-3.50.1.0.ebuild b/dev-python/apsw/apsw-3.50.1.0.ebuild new file mode 100644 index 000000000000..bbde61020ea5 --- /dev/null +++ b/dev-python/apsw/apsw-3.50.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 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_{11..14} ) + +inherit distutils-r1 + +DESCRIPTION="APSW - Another Python SQLite Wrapper" +HOMEPAGE=" + https://github.com/rogerbinns/apsw/ + https://pypi.org/project/apsw/ +" +SRC_URI=" + https://github.com/rogerbinns/apsw/releases/download/${PV}/${P}.zip +" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="doc" + +DEPEND=" + >=dev-db/sqlite-${PV%.*}:3 +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + app-arch/unzip +" + +src_configure() { + cat >> setup.apsw <<-EOF || die + [build_ext] + use_system_sqlite_config=True + EOF +} + +python_test() { + esetup.py build_test_extension + cd "${T}" || die + "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + doman man/apsw.1 + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/argon2-cffi/argon2-cffi-25.1.0.ebuild b/dev-python/argon2-cffi/argon2-cffi-25.1.0.ebuild index 27f46da2f131..2386a8a3d871 100644 --- a/dev-python/argon2-cffi/argon2-cffi-25.1.0.ebuild +++ b/dev-python/argon2-cffi/argon2-cffi-25.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-python/argon2-cffi-bindings-21.2.0[${PYTHON_USEDEP}] diff --git a/dev-python/audioop-lts/audioop-lts-0.2.1.ebuild b/dev-python/audioop-lts/audioop-lts-0.2.1.ebuild index af9a4b88d2fa..242169ea2b5f 100644 --- a/dev-python/audioop-lts/audioop-lts-0.2.1.ebuild +++ b/dev-python/audioop-lts/audioop-lts-0.2.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" distutils_enable_tests pytest diff --git a/dev-python/audioread/audioread-3.0.1-r1.ebuild b/dev-python/audioread/audioread-3.0.1-r1.ebuild index d34d6bfbf1be..fbd94626aa34 100644 --- a/dev-python/audioread/audioread-3.0.1-r1.ebuild +++ b/dev-python/audioread/audioread-3.0.1-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="ffmpeg gstreamer mad" RDEPEND=" diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index 3df1b4edf77c..4e313392e118 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,3 +1,2 @@ -DIST serverless-application-model-1.97.0.gh.tar.gz 5891456 BLAKE2B 6a568333110eed9a219d489f7ec566cee595654f0d75b8fb5cf89d4a32b64862549ba6c5d10f195d82a48bd44c0529425eec0150775df16025a33c0135ad9232 SHA512 4489410aa77c831e5b85b0e0f3f25a77b4b9a14947159c2a23f29b241d7e2858922847df41b24a1d784ea412019f2ed5a395773e42925bc1cc479c9ca1c4602c DIST serverless-application-model-1.98.0.gh.tar.gz 5905089 BLAKE2B 68c5b12c9f5654bd2124d9f17999ece147686759db9d43e7bdf28f81ec92e616f73666594ac9c72b22e36ae4254fc19dc6663692d44ef8c7dedeab115fa0ee3c SHA512 57319c501d345aaa960194155e62d03a87a7a1a3f34944d0aedc3107940018031f10a46ea9f6fd1a4aae6a12c6cb2bf852ca5892c4fb69baf63be5b3c8c16420 DIST serverless-application-model-1.99.0.gh.tar.gz 5926908 BLAKE2B 2789e0fafa9036f51f2a854e5d46a8306866a1ab02f0ae92c080eda4c054a13f489a7027131c3a2512f92e125b280cb5aadb78b040f69ebc66c4ec1c5b052ae7 SHA512 e5c8d0d8b9f6215e7b1a8685206c2abdb5a79b9251ca5e2dc3092649899df5f35712c9a3068fc2476eb7b5efc08e8ea8654519ecfd8c53b8fe79838079721808 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.97.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.97.0.ebuild deleted file mode 100644 index f10d0b683442..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.97.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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} ) - -inherit distutils-r1 multiprocessing - -MY_P=serverless-application-model-${PV} -DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" -HOMEPAGE=" - https://github.com/aws/serverless-application-model/ - https://pypi.org/project/aws-sam-translator/ -" -SRC_URI=" - https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - <dev-python/boto3-2[${PYTHON_USEDEP}] - >=dev-python/boto3-1.19.5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] - <dev-python/pydantic-3[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.8[${PYTHON_USEDEP}] - <dev-python/typing-extensions-5[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.4[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # so much noise... - sed -i -e '/log_cli/d' pytest.ini || die - - # deps are installed by ebuild, don't try to reinstall them via pip - truncate --size=0 requirements/*.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x AWS_DEFAULT_REGION=us-east-1 - epytest -o addopts= -o filterwarnings= \ - -p xdist -n "$(makeopts_jobs)" --dist=worksteal -} diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.98.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.98.0.ebuild index 540f80a51ae0..f10d0b683442 100644 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.98.0.ebuild +++ b/dev-python/aws-sam-translator/aws-sam-translator-1.98.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" <dev-python/boto3-2[${PYTHON_USEDEP}] diff --git a/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild index 753e06ffdc2c..24ffc8600477 100644 --- a/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild +++ b/dev-python/betterproto/betterproto-2.0.0_beta6.ebuild @@ -34,7 +34,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/black-23.1.0[${PYTHON_USEDEP}] @@ -50,6 +50,7 @@ BDEPEND=" dev-python/pydantic[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] ) " @@ -67,12 +68,15 @@ python_test() { tests/inputs/oneof/test_oneof.py ) local EPYTEST_DESELECT=( - # TODO: ordering issue? + # TODO: new protobuf? "tests/test_inputs.py::test_binary_compatibility[map]" + "tests/test_inputs.py::test_binary_compatibility[mapmessage]" # pydantic tests/inputs/bool/test_bool.py::test_pydantic_no_value ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p pytest_mock + # --forked to workaround protobuf segfaults + # https://github.com/protocolbuffers/protobuf/issues/22067 + epytest -p asyncio -p pytest_mock -p pytest_forked --forked } diff --git a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild index dd47d8c0c124..9a72a7555b4b 100644 --- a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild +++ b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild @@ -34,7 +34,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/black-23.1.0[${PYTHON_USEDEP}] @@ -50,6 +50,7 @@ BDEPEND=" dev-python/pydantic[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-forked[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] ) " @@ -63,10 +64,13 @@ PATCHES=( python_test() { local EPYTEST_DESELECT=( - # TODO: ordering issue? + # TODO: new protobuf? "tests/test_inputs.py::test_binary_compatibility[map]" + "tests/test_inputs.py::test_binary_compatibility[mapmessage]" ) local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p pytest_mock + # --forked to workaround protobuf segfaults + # https://github.com/protocolbuffers/protobuf/issues/22067 + epytest -p asyncio -p pytest_mock -p pytest_forked --forked } diff --git a/dev-python/blockbuster/blockbuster-1.5.24.ebuild b/dev-python/blockbuster/blockbuster-1.5.24.ebuild index ddc6692822e0..35aee0e8f638 100644 --- a/dev-python/blockbuster/blockbuster-1.5.24.ebuild +++ b/dev-python/blockbuster/blockbuster-1.5.24.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~riscv ~s390 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" RDEPEND=" $(python_gen_cond_dep ' diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest index 2b50372f9121..0d33b2695124 100644 --- a/dev-python/blosc/Manifest +++ b/dev-python/blosc/Manifest @@ -1,2 +1 @@ -DIST python-blosc-1.11.2.gh.tar.gz 99160 BLAKE2B 79176961221a2dcdf389165b3ed0e629201605f806aca3e1ada1dd9b35c1acf13ea7fa6692a762f5e31270df327751642256a1c5bafb14fbed48ef69c6b9745c SHA512 56a53828669ac9d1452b247b8aad6bdfcb71ecffe9b8c7723e4405825704506946f150f54633b7e0886160255e5619c698b97847963c909e14c97808c04f39ab DIST python-blosc-1.11.3.gh.tar.gz 99129 BLAKE2B e75262a25767a800b73e87bbfe46e107380647df6e3bba4dee32a4111afed11ec3c779e0dae1c8f38491015e6f23199945997ac5a5c5311256a7e5efad4c1654 SHA512 fc82b7b100d306965874868b2a0b1b6a9b865f1ba86ce65546aeb8212ba5085ef7a565f46ac3b40f648641d449d9f5265087ca8670075221ba8018dc8efd7be4 diff --git a/dev-python/blosc/blosc-1.11.2.ebuild b/dev-python/blosc/blosc-1.11.2.ebuild deleted file mode 100644 index c6e37d95cc53..000000000000 --- a/dev-python/blosc/blosc-1.11.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -MY_P=python-blosc-${PV} -DESCRIPTION="High performance compressor optimized for binary data" -HOMEPAGE=" - https://www.blosc.org/ - https://github.com/Blosc/python-blosc/ - https://pypi.org/project/blosc/ -" -SRC_URI=" - https://github.com/Blosc/python-blosc/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-libs/c-blosc-1.19.0:= -" -DEPEND=" - ${RDEPEND} -" -# py-cpuinfo dep is irrelevant for us, as it is only used to configure -# bundled c-blosc build -BDEPEND=" - dev-python/scikit-build[${PYTHON_USEDEP}] - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - ) -" - -DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst ) - -src_configure() { - export USE_SYSTEM_BLOSC=1 - export BLOSC_DIR="${EPREFIX}/usr" -} - -python_compile() { - distutils-r1_python_compile - - # scikit-build is broken and reuses the same build - # https://github.com/scikit-build/scikit-build/issues/633 - rm -r _skbuild || die -} - -python_test() { - "${EPYTHON}" -m blosc.test -v || die -} diff --git a/dev-python/blosc/blosc-1.11.3.ebuild b/dev-python/blosc/blosc-1.11.3.ebuild index 57f5b273b75f..c6e37d95cc53 100644 --- a/dev-python/blosc/blosc-1.11.3.ebuild +++ b/dev-python/blosc/blosc-1.11.3.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/cattrs/cattrs-25.1.1.ebuild b/dev-python/cattrs/cattrs-25.1.1.ebuild index eae85e98b515..29342e0e571e 100644 --- a/dev-python/cattrs/cattrs-25.1.1.ebuild +++ b/dev-python/cattrs/cattrs-25.1.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 815a33ff59a9..dc49742c91a2 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,4 +1,2 @@ -DIST cfn_lint-1.35.3.tar.gz 3105179 BLAKE2B a1bd9ea3dee0f4ee6ddf88a4572e0900ac099274bf75f37e54a56a6c5d102e9f1d91a14518be38b03a37257999ff3c9539c4a8f08a5042a1689e862259266d50 SHA512 bdd0188bcd7dd327e6a72c60dcc8535643750c3762632e09bb851c62f520b38518d76e0566686f8fe5766beff147abd5eccd94db34701bef5d149e84954a3a48 DIST cfn_lint-1.35.4.tar.gz 2981501 BLAKE2B 51fd51b194e19a0bebd72efadfd81c633f86c3017efaf08b262c83b36228548b53835aae0f17e2617ed7ec8a4cd87886f33d3ad01c935b26dde58273eee37dc4 SHA512 67442deda9d3ab8556cb35def0b3b26286d986f17f7fd07080b1752575790bda18ea65ac3ac66be3086cc1762d773fa499f31c26a9d4b75cde2c7c91471fbcd4 -DIST cfn_lint-1.36.0.tar.gz 3085599 BLAKE2B 5f482ab9c4682c11471fb66edb2caa262f7a2c61037c60139ffa610c5d0f40a3c37a32db992e37d3ead6593cbc9a8dba9576400043cbe02c7c64d457dfcbbb76 SHA512 3140ea79beeb61411f7e432476009356b67ad64fdaa1ca2d4c4f6965a1630886b9ec6e95f96afe237ebd486abb061c348c0ab224457d04a7a17d529733514a32 DIST cfn_lint-1.36.1.tar.gz 3108363 BLAKE2B 21d99e2ccd5edc69cc7c1995f5667e9997764c0d7be6a2662ef3b8f42bf72d633153a0cef5493d25b16eed2e87da1bdad1536b97b9193e4c26a1e44c15790827 SHA512 49adc1844768b9ae70599c02653cfc2b454edf08def22c3d6aa5728f0ebf7b4cc1729f729ab3022a1028f44b54df1e14a626dad684143306766930f398a744a2 diff --git a/dev-python/cfn-lint/cfn-lint-1.35.3.ebuild b/dev-python/cfn-lint/cfn-lint-1.35.3.ebuild deleted file mode 100644 index 9921dc42a902..000000000000 --- a/dev-python/cfn-lint/cfn-lint-1.35.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] - <dev-python/jsonschema-5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - <dev-python/networkx-4[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] - >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] - test? ( - dev-python/defusedxml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # different line wrapping somehow - test/unit/module/template/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/cfn-lint/cfn-lint-1.35.4.ebuild b/dev-python/cfn-lint/cfn-lint-1.35.4.ebuild index 669286dc533a..9921dc42a902 100644 --- a/dev-python/cfn-lint/cfn-lint-1.35.4.ebuild +++ b/dev-python/cfn-lint/cfn-lint-1.35.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv x86" RDEPEND=" >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] diff --git a/dev-python/cfn-lint/cfn-lint-1.36.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.36.0.ebuild deleted file mode 100644 index 669286dc533a..000000000000 --- a/dev-python/cfn-lint/cfn-lint-1.36.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="CloudFormation Linter" -HOMEPAGE=" - https://github.com/aws-cloudformation/cfn-lint/ - https://pypi.org/project/cfn-lint/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] - dev-python/jsonpatch[${PYTHON_USEDEP}] - >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] - <dev-python/jsonschema-5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] - dev-python/junit-xml[${PYTHON_USEDEP}] - <dev-python/networkx-4[${PYTHON_USEDEP}] - >dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] - >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] - >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] - test? ( - dev-python/defusedxml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # unpin the deps - sed -e 's:~=[0-9.]*::' -i pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # different line wrapping somehow - test/unit/module/template/test_template.py::TestTemplate::test_build_graph - # requires git repo - test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs - ) - - # from tox.ini - local -x AWS_DEFAULT_REGION=us-east-1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/curtsies/Manifest b/dev-python/curtsies/Manifest index b11afae32e43..9e0b4590df08 100644 --- a/dev-python/curtsies/Manifest +++ b/dev-python/curtsies/Manifest @@ -1,2 +1 @@ -DIST curtsies-0.4.2.tar.gz 53559 BLAKE2B b1e6a0b736615c890a35fba0dae2914e51123976c884d253e61e2e4f04cff9398fa9668387b9503a064aa76664c339d5be000e8e172c23a82cafbf3b7523beb3 SHA512 0740b50001a65da7afcb634d99ab03612be0c379035bc15f591a70dc006b46476d38a1c4b107ff17a12d696ce127027c3e13763dfd16dc223628a27611e071e3 DIST curtsies-0.4.3.tar.gz 53401 BLAKE2B 4c5f7bf6041b3585dcb9288d36e9bf7d6ec2354dc115fe696124df354529a33bff3702071ca56bad8fec0222b6d1b8023d1e16027257af29fdc47862c1d1f44f SHA512 db157b9f32a13b8086df1909c363ff669fcb6053bb205e0b9ede3aa21a4afbe9f4e08371ede9bbb6af31cdf1cd96166938a35af04e695b6c0a7d01a12d6ce158 diff --git a/dev-python/curtsies/curtsies-0.4.2-r1.ebuild b/dev-python/curtsies/curtsies-0.4.2-r1.ebuild deleted file mode 100644 index 0cf9939c1ea9..000000000000 --- a/dev-python/curtsies/curtsies-0.4.2-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Curses-like terminal wrapper, with colored strings" -HOMEPAGE=" - https://github.com/bpython/curtsies/ - https://pypi.org/project/curtsies/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/blessed-1.5[${PYTHON_USEDEP}] - dev-python/cwcwidth[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pyte[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - local PATCHES=( - # https://github.com/bpython/curtsies/pull/186 - "${FILESDIR}/${P}-py314.patch" - ) - distutils-r1_src_prepare - rm setup.py || die -} diff --git a/dev-python/curtsies/curtsies-0.4.2.ebuild b/dev-python/curtsies/curtsies-0.4.2.ebuild deleted file mode 100644 index 7f5caedeac4b..000000000000 --- a/dev-python/curtsies/curtsies-0.4.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# 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_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Curses-like terminal wrapper, with colored strings" -HOMEPAGE=" - https://github.com/bpython/curtsies/ - https://pypi.org/project/curtsies/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/blessed-1.5[${PYTHON_USEDEP}] - dev-python/cwcwidth[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pyte[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/curtsies/curtsies-0.4.3.ebuild b/dev-python/curtsies/curtsies-0.4.3.ebuild index 65e4f5cb05b3..7f5caedeac4b 100644 --- a/dev-python/curtsies/curtsies-0.4.3.ebuild +++ b/dev-python/curtsies/curtsies-0.4.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm64 ~riscv x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/blessed-1.5[${PYTHON_USEDEP}] diff --git a/dev-python/curtsies/files/curtsies-0.4.2-py314.patch b/dev-python/curtsies/files/curtsies-0.4.2-py314.patch deleted file mode 100644 index 3b53a479f358..000000000000 --- a/dev-python/curtsies/files/curtsies-0.4.2-py314.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 8ff589184cdc0a2face9bd3430757f672292462c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sat, 31 May 2025 19:22:56 +0200 -Subject: [PATCH] Use standard setuptools `attr:` feature, fixing Python 3.14 - compat - -Use the standard setuptools `attr:` feature to obtain the version -via setuptools' built-in AST parser rather than writing a custom AST -parser in `setup.py`. This fixes compatibility with Python 3.14, -since the custom parser is not compatible with the new `ast.Constant` -type. ---- - setup.cfg | 1 + - setup.py | 16 ---------------- - 2 files changed, 1 insertion(+), 16 deletions(-) - delete mode 100644 setup.py - -diff --git a/setup.cfg b/setup.cfg -index 10332bd..ae01e92 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -1,5 +1,6 @@ - [metadata] - name = curtsies -+version = attr: curtsies.__version__ - description = Curses-like terminal wrapper, with colored strings! - long_description = file: README.md, - long_description_content_type = text/markdown diff --git a/dev-python/cypari2/Manifest b/dev-python/cypari2/Manifest index e25980459f1f..30a6b9858fa1 100644 --- a/dev-python/cypari2/Manifest +++ b/dev-python/cypari2/Manifest @@ -1,2 +1 @@ -DIST cypari2-2.2.1.tar.gz 127323 BLAKE2B 8dc382c54516482516388cdb98ff026938f87fb0b93cddc32ddc0bd6feca2dfd7983cabd0a2c9730bbe5f8eb189a23f4386bbe6325916e505fedfc10052e56e1 SHA512 b5b5c32a321cc8c58f44f9aecabf0a2ece5332596903a98bc6299c3598a247d994b4368318e57ae52e6768dcb1bdb95f152d31f1df378088d3412e22e979341b DIST cypari2-2.2.2.tar.gz 127375 BLAKE2B 01481a74c892fdfab1192a1f7cd50fcb73bdbb59d8c3f15a23c01f3c17a55099c0f20d867f065a2007c53b4c0635880899550c252abe4171f6dfc61ccbfb6531 SHA512 b9f1d7aaba5fca71a78a41b10a7f98b61d0e0076d73f97c3fda003b81260e5f8f79c6489d8c75a7d12ea8c2715fe45cb6687984b4b448d1c6b2d3ee9616791db diff --git a/dev-python/cypari2/cypari2-2.2.1.ebuild b/dev-python/cypari2/cypari2-2.2.1.ebuild deleted file mode 100644 index 507f48392c15..000000000000 --- a/dev-python/cypari2/cypari2-2.2.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=standalone -DISTUTILS_EXT=1 - -inherit distutils-r1 pypi - -DESCRIPTION="Cython interface to PARI" -HOMEPAGE="https://github.com/sagemath/cypari2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~riscv" - -DEPEND=">=sci-mathematics/pari-2.17.1:=[gmp,doc] - dev-python/cysignals[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" -BDEPEND=">=dev-python/cython-3[${PYTHON_USEDEP}]" - -PATCHES=( "${FILESDIR}/cypari2-2.2.0-regen-bindings-for-each-python.patch" ) - -python_test(){ - cd "${S}"/tests || die - "${EPYTHON}" rundoctest.py || die -} - -python_install() { - distutils-r1_python_install - python_optimize -} diff --git a/dev-python/cypari2/cypari2-2.2.2.ebuild b/dev-python/cypari2/cypari2-2.2.2.ebuild index 2e4b6922070a..507f48392c15 100644 --- a/dev-python/cypari2/cypari2-2.2.2.ebuild +++ b/dev-python/cypari2/cypari2-2.2.2.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/sagemath/cypari2" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" DEPEND=">=sci-mathematics/pari-2.17.1:=[gmp,doc] dev-python/cysignals[${PYTHON_USEDEP}]" diff --git a/dev-python/dill/Manifest b/dev-python/dill/Manifest index 9cdfd1898511..259c5f4cd80e 100644 --- a/dev-python/dill/Manifest +++ b/dev-python/dill/Manifest @@ -1,2 +1 @@ -DIST dill-0.3.9.tar.gz 187000 BLAKE2B 56196bd04d0a050619feee6b719e9232376853a03fae3a7486fa48f90fea1e27b4f4eaa31b0df54e70cf1aa4333268213dd6350408db0b78778d92f04ae65bd0 SHA512 461943ff8a0b7212b30e7c8b9e35348d0215c1c6dca356ad813e15c8721f39692fb61809349e5ee63a00d19a39aeae34c3b4def17257f8f7820e4318b81b273f DIST dill-0.4.0.tar.gz 186976 BLAKE2B fefaaa23b98df7548089907224ec405efa75570df51fb08940d14193a7710355ab473b335642d153920a42fe648e218db30b846c826964accd1c1ba79b2cc708 SHA512 1289780e9326959a4d2488e5097b889f27212fba23d35d5c0db00337b952cde20786ecdbefa03a8b276f0cec8dba5b8ea118245e39e4fe8fd3209b5c920829e7 diff --git a/dev-python/dill/dill-0.3.9.ebuild b/dev-python/dill/dill-0.3.9.ebuild deleted file mode 100644 index ee837b8dbf42..000000000000 --- a/dev-python/dill/dill-0.3.9.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# 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 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Serialize all of Python (almost)" -HOMEPAGE=" - https://github.com/uqfoundation/dill/ - https://pypi.org/project/dill/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -PATCHES=( - # https://github.com/uqfoundation/dill/pull/707 - # https://github.com/uqfoundation/dill/pull/701 - "${FILESDIR}/${P}-pypy311.patch" -) - -python_test() { - "${EPYTHON}" -m dill.tests || die -} diff --git a/dev-python/dill/dill-0.4.0.ebuild b/dev-python/dill/dill-0.4.0.ebuild index 0271619539e8..d9a81b9b58d0 100644 --- a/dev-python/dill/dill-0.4.0.ebuild +++ b/dev-python/dill/dill-0.4.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" python_test() { "${EPYTHON}" -m dill.tests || die diff --git a/dev-python/dill/files/dill-0.3.9-pypy311.patch b/dev-python/dill/files/dill-0.3.9-pypy311.patch deleted file mode 100644 index 8f73f1264a25..000000000000 --- a/dev-python/dill/files/dill-0.3.9-pypy311.patch +++ /dev/null @@ -1,123 +0,0 @@ -From 599265e0a0cec406e245808105b63987077f53f2 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Wed, 12 Mar 2025 03:41:39 +0100 -Subject: [PATCH] fix CodeType support for PyPy3.11 7.3.19+ (#707) -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add support for the variation of `types.CodeType` used in PyPy3.11 -7.3.19 and newer. It introduces `co_qualname` in addition -to the previous members — but it does not feature `co_exceptiontable` -like CPython 3.11. I've named the version `(3,11,'p')` for PyPy. - -Fixes #706 ---- - dill/_dill.py | 26 ++++++++++++++++++++++++++ - 1 file changed, 26 insertions(+) - -diff --git a/dill/_dill.py b/dill/_dill.py -index 152899f1..aec297c4 100644 ---- a/dill/_dill.py -+++ b/dill/_dill.py -@@ -665,6 +665,7 @@ def __getattr__(self, item): - # Version New attribute CodeType parameters - ((3,11,'a'), 'co_endlinetable', 'argcount posonlyargcount kwonlyargcount nlocals stacksize flags code consts names varnames filename name qualname firstlineno linetable endlinetable columntable exceptiontable freevars cellvars'), - ((3,11), 'co_exceptiontable', 'argcount posonlyargcount kwonlyargcount nlocals stacksize flags code consts names varnames filename name qualname firstlineno linetable exceptiontable freevars cellvars'), -+ ((3,11,'p'), 'co_qualname', 'argcount posonlyargcount kwonlyargcount nlocals stacksize flags code consts names varnames filename name qualname firstlineno linetable freevars cellvars'), - ((3,10), 'co_linetable', 'argcount posonlyargcount kwonlyargcount nlocals stacksize flags code consts names varnames filename name firstlineno linetable freevars cellvars'), - ((3,8), 'co_posonlyargcount', 'argcount posonlyargcount kwonlyargcount nlocals stacksize flags code consts names varnames filename name firstlineno lnotab freevars cellvars'), - ((3,7), 'co_kwonlyargcount', 'argcount kwonlyargcount nlocals stacksize flags code consts names varnames filename name firstlineno lnotab freevars cellvars'), -@@ -701,6 +702,22 @@ def _create_code(*args): - args[17], - ) - fields = m.fields -+ # PyPy 3.11 7.3.19+ (17 members) -+ elif m.case(( -+ 'argcount', 'posonlyargcount', 'kwonlyargcount', 'nlocals', 'stacksize', 'flags', # args[0:6] -+ 'code', 'consts', 'names', 'varnames', 'filename', 'name', 'qualname', # args[6:13] -+ 'firstlineno', 'linetable', 'freevars', 'cellvars' # args[13:] -+ )): -+ if CODE_VERSION == (3,11,'p'): -+ return CodeType( -+ *args[:6], -+ args[6].encode() if hasattr(args[6], 'encode') else args[6], # code -+ *args[7:14], -+ args[14].encode() if hasattr(args[14], 'encode') else args[14], # linetable -+ args[15], -+ args[16], -+ ) -+ fields = m.fields - # Python 3.10 or 3.8/3.9 (16 members) - elif m.case(( - 'argcount', 'posonlyargcount', 'kwonlyargcount', 'nlocals', 'stacksize', 'flags', # args[0:6] -@@ -1175,6 +1192,15 @@ def save_code(pickler, obj): - obj.co_firstlineno, obj.co_linetable, obj.co_exceptiontable, - obj.co_freevars, obj.co_cellvars - ) -+ elif hasattr(obj, "co_qualname"): # pypy 3.11 7.3.19+ (17 args) -+ args = ( -+ obj.co_lnotab, obj.co_argcount, obj.co_posonlyargcount, -+ obj.co_kwonlyargcount, obj.co_nlocals, obj.co_stacksize, -+ obj.co_flags, obj.co_code, obj.co_consts, obj.co_names, -+ obj.co_varnames, obj.co_filename, obj.co_name, obj.co_qualname, -+ obj.co_firstlineno, obj.co_linetable, obj.co_freevars, -+ obj.co_cellvars -+ ) - elif hasattr(obj, "co_linetable"): # python 3.10 (16 args) - args = ( - obj.co_lnotab, # for < python 3.10 [not counted in args] - -From a3d129f9c8aceb856a7e50277af4b7fef6ab9202 Mon Sep 17 00:00:00 2001 -From: Mike McKerns <mmckerns@caltech.edu> -Date: Mon, 17 Feb 2025 00:06:31 -0500 -Subject: [PATCH] support pypy-3.11 (#701) - ---- - dill/_dill.py | 2 +- - dill/_objects.py | 2 +- - dill/detect.py | 5 ++++- - 3 files changed, 6 insertions(+), 3 deletions(-) - -diff --git a/dill/_dill.py b/dill/_dill.py -index 987b96b..152899f 100644 ---- a/dill/_dill.py -+++ b/dill/_dill.py -@@ -571,7 +571,7 @@ if sys.hexversion >= 0x30a00a0: - _incedental_reverse_typemap['LineIteratorType'] = type(compile('3', '', 'eval').co_lines()) - ''' - --if sys.hexversion >= 0x30b00b0: -+if sys.hexversion >= 0x30b00b0 and not IS_PYPY: - from types import GenericAlias - _incedental_reverse_typemap["GenericAliasIteratorType"] = type(iter(GenericAlias(list, (int,)))) - ''' -diff --git a/dill/_objects.py b/dill/_objects.py -index 500322f..a37cd79 100644 ---- a/dill/_objects.py -+++ b/dill/_objects.py -@@ -402,7 +402,7 @@ except ImportError: - if sys.hexversion >= 0x30a00a0 and not IS_PYPY: - x['LineIteratorType'] = compile('3', '', 'eval').co_lines() - --if sys.hexversion >= 0x30b00b0: -+if sys.hexversion >= 0x30b00b0 and not IS_PYPY: - from types import GenericAlias - d["GenericAliasIteratorType"] = iter(GenericAlias(list, (int,))) - x['PositionsIteratorType'] = compile('3', '', 'eval').co_positions() -diff --git a/dill/detect.py b/dill/detect.py -index 1f8ae3d..2f0bea1 100644 ---- a/dill/detect.py -+++ b/dill/detect.py -@@ -145,7 +145,10 @@ def nestedglobals(func, recurse=True): - CAN_NULL = sys.hexversion >= 0x30b00a7 # NULL may be prepended >= 3.11a7 - names = set() - with capture('stdout') as out: -- dis.dis(func) #XXX: dis.dis(None) disassembles last traceback -+ try: -+ dis.dis(func) #XXX: dis.dis(None) disassembles last traceback -+ except IndexError: -+ pass #FIXME: HACK for IS_PYPY (3.11) - for line in out.getvalue().splitlines(): - if '_GLOBAL' in line: - name = line.split('(')[-1].split(')')[0] diff --git a/dev-python/dj-database-url/Manifest b/dev-python/dj-database-url/Manifest index b5f782385dd8..551cd7231679 100644 --- a/dev-python/dj-database-url/Manifest +++ b/dev-python/dj-database-url/Manifest @@ -1,2 +1 @@ -DIST dj_database_url-2.3.0.tar.gz 10980 BLAKE2B fba212a3795fa735646d35b4d228d5581ef2310b9bb496cbc0305774e96074d5e7734f9970f1808ce7a7d39836937b4b33a509190c4194c2fbb494b598b9b57a SHA512 ad1c05fe7ec1340044c8f47702b5d6962127621f33dfffd9236799bdf6119c6fbe34ec0521777704e3f465a3587b04aaebc9f68170a583007ac21d6dfba06a12 DIST dj_database_url-3.0.0.tar.gz 12594 BLAKE2B e112363e9f542506b03cd88f54c8bab0bc685e948815a162c934774c488b97041c4bace1ed0e1012c2fe41b96486461939432d80fd6c2c7e30fb1c924e113dac SHA512 c5ce3e57c115b72311b581f388b7665f070ca82cac2bf828cf610e6c7f52cf34ae379247dea99fcd133276ad110994bdd9e02ae288a5a8df7c14a1245a447f8f diff --git a/dev-python/dj-database-url/dj-database-url-2.3.0.ebuild b/dev-python/dj-database-url/dj-database-url-2.3.0.ebuild deleted file mode 100644 index b23e70114262..000000000000 --- a/dev-python/dj-database-url/dj-database-url-2.3.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# 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 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Use Database URLs in your Django Application" -HOMEPAGE=" - https://github.com/jazzband/dj-database-url/ - https://pypi.org/project/dj-database-url/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/django-4.2[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.10.0.0[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -python_test() { - eunittest -s tests -} diff --git a/dev-python/dj-database-url/dj-database-url-3.0.0.ebuild b/dev-python/dj-database-url/dj-database-url-3.0.0.ebuild index 9a05249332d6..131174823206 100644 --- a/dev-python/dj-database-url/dj-database-url-3.0.0.ebuild +++ b/dev-python/dj-database-url/dj-database-url-3.0.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" >=dev-python/django-4.2[${PYTHON_USEDEP}] diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index efbecbfb9ae5..934b7e2f240e 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,2 +1 @@ -DIST elasticsearch-py-9.0.1.gh.tar.gz 2189309 BLAKE2B 31f2e9541efdc90e85d40a462b45cd34ae4ffd8f44bb95af8c96cca44eb1b50cc0525b0d38ae3234a23ed986377ed3bd64325a46799d25c21214267cacf9279e SHA512 38ec30b85cc2d3ebef8dfde2bc7e07082240fcca6f98d9285a2d72876369f6a8233f973794c825f5564a99ca2c9a83f35c8eb954e123431c153309eb02f1f04c DIST elasticsearch-py-9.0.2.gh.tar.gz 2192777 BLAKE2B d7fc3c9fe94b954d0522be03335c7639e38a67fa30949f19a1004b368750ae87da5fd3ea87e048f6cc36c19a42883821ff3f986879ab6f61f4128add73a62c83 SHA512 b2473dae673051be4e6477947b9faddb11d1ac563a971c0b4eb14748ffdf3ab7eef89dbbdca27b486e631f575f7558341e46d22d551b1d20f100260d41c3b2c7 diff --git a/dev-python/elasticsearch/elasticsearch-9.0.1.ebuild b/dev-python/elasticsearch/elasticsearch-9.0.1.ebuild deleted file mode 100644 index 382c39b825c6..000000000000 --- a/dev-python/elasticsearch/elasticsearch-9.0.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P="elasticsearch-py-${PV}" -DESCRIPTION="Official Elasticsearch client library for Python" -HOMEPAGE=" - https://ela.st/es-python - https://github.com/elastic/elasticsearch-py/ - https://pypi.org/project/elasticsearch/ -" -SRC_URI=" - https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 arm64 ~x86" - -RDEPEND=" - <dev-python/aiohttp-4[${PYTHON_USEDEP}] - >=dev-python/aiohttp-3[${PYTHON_USEDEP}] - <dev-python/elastic-transport-9[${PYTHON_USEDEP}] - >=dev-python/elastic-transport-8.15.1[${PYTHON_USEDEP}] - >=dev-python/orjson-3[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - <dev-python/requests-3[${PYTHON_USEDEP}] - >=dev-python/requests-2.4[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/opentelemetry-api[${PYTHON_USEDEP}] - dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/pyarrow[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] - dev-python/unasync[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs/sphinx \ - dev-python/sphinx-autodoc-typehints \ - dev-python/sphinx-rtd-theme -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # REST api tests are a black hole for effort. It downloads the tests - # so its an ever moving target. It also requires effort to blacklist - # tests for apis which are license restricted. - "test_elasticsearch/test_server/test_rest_api_spec.py" - # Counting deprecation warnings from python is bound to fail even - # if all are fixed in this package. Not worth it. - "test_elasticsearch/test_client/test_deprecated_options.py" - # Running daemon for tests is finicky and upstream CI fails at it - # as well. - "test_elasticsearch/test_server/" - "test_elasticsearch/test_async/test_server/" - # require nltk - test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_vectors.py - test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_vectors.py - ) - - local -x TEST_WITH_OTEL=1 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= -p asyncio -} diff --git a/dev-python/elasticsearch/elasticsearch-9.0.2.ebuild b/dev-python/elasticsearch/elasticsearch-9.0.2.ebuild index e6c7574b70df..382c39b825c6 100644 --- a/dev-python/elasticsearch/elasticsearch-9.0.2.ebuild +++ b/dev-python/elasticsearch/elasticsearch-9.0.2.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" <dev-python/aiohttp-4[${PYTHON_USEDEP}] diff --git a/dev-python/forbiddenfruit/forbiddenfruit-0.1.4.ebuild b/dev-python/forbiddenfruit/forbiddenfruit-0.1.4.ebuild index 015e1b453a88..b4572d929c2e 100644 --- a/dev-python/forbiddenfruit/forbiddenfruit-0.1.4.ebuild +++ b/dev-python/forbiddenfruit/forbiddenfruit-0.1.4.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="|| ( GPL-3 MIT )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~riscv ~s390 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/frozenlist/frozenlist-1.6.2.ebuild b/dev-python/frozenlist/frozenlist-1.6.2.ebuild index 9ac110983020..e633ef91a317 100644 --- a/dev-python/frozenlist/frozenlist-1.6.2.ebuild +++ b/dev-python/frozenlist/frozenlist-1.6.2.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index bca290d2038d..8a803c6534fd 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,4 +1,3 @@ -DIST google_api_python_client-2.170.0.tar.gz 12971933 BLAKE2B 51382bb40c74018ec8267130b8ac50152a7b85cf09551c0c0826f0cce763834b2480127ac72a26ac600b5f847cd558651449f35997c335e1f54d51c275687cad SHA512 a2cb7dc10089ffe33c22e9c5ab2cff4836f6982ce708a6efc744ee218a6bb9d42a33afec1bd20213d1c234fe7176f5ffc59f1116c6f4cdc8a0f46e956073f302 DIST google_api_python_client-2.171.0.tar.gz 13028937 BLAKE2B 8fdb02566b59a6ee863613ec707666ddd959a1962fbd679d8e2ffb0dd2ed9e051390302ed54d3631a6518f4cf2157ff092f8dbb17eb95ff771155a3fe45242f0 SHA512 8237e79f3e6be18bcd2aa8e073c5842768861dbd90faabf25e01cda116afebea0e895a951c01f23f81cda26d70db387b622afa024378f5acb7a6d580d7279663 DIST google_api_python_client-2.172.0.tar.gz 13074841 BLAKE2B 18c4904b5b9f48e34f10e71cc3b6a5ab0c9a9fdcd88b126d8fadc107be82a626739dd33496a50c5943c32d3acf14e8c9ae28da382a67525ca48f7a1462cea80d SHA512 b28db1652f648638d2f78b091cc4cddbb629f2600160f83384bf6ff7948667764ec7805bb8da858578faca97c6be0f06724d0be672aedf94994633d81aa9f64c DIST google_api_python_client-2.173.0.tar.gz 13091318 BLAKE2B c7135d5ef2ce2b029c3d6d779fa82db69768ed70e366301ab692f746b7b76c3807f823a85e47a01cbe68626b20092b6bf5ea53baaeb416e84ec1d4086858267f SHA512 28947b8dd0cda063ebe5f9a722dfaf07f6a3db9030ac40c949b5ba27353699da32ee13862fc8969e7e4cf0f61a6efba11701ef15a460f827ab3e32b3f80d8b97 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.170.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.170.0.ebuild deleted file mode 100644 index 75fc31e16901..000000000000 --- a/dev-python/google-api-python-client/google-api-python-client-2.170.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google API Client for Python" -HOMEPAGE=" - https://github.com/googleapis/google-api-python-client/ - https://pypi.org/project/google-api-python-client/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] - <dev-python/httplib2-1[${PYTHON_USEDEP}] - >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] - >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] - >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] - >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] - <dev-python/uritemplate-5[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # require Internet access (and credentials) - tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive - tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object - tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls - tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls - ) - - epytest tests -} diff --git a/dev-python/google-api-python-client/google-api-python-client-2.171.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.171.0.ebuild index b2220fafe3ef..75fc31e16901 100644 --- a/dev-python/google-api-python-client/google-api-python-client-2.171.0.ebuild +++ b/dev-python/google-api-python-client/google-api-python-client-2.171.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index ab4b2effa14a..458b8890926c 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,5 +1 @@ -DIST google_auth-2.39.0.tar.gz 274834 BLAKE2B f924291ba51799c4560849f61c30419110c786bfe12bade26ecd6940c952ad91a515770997008a2dd0b82f42771695500b951e036b2387b43e57c76ca2e6e04e SHA512 3bee0b649fdec2e9972afc47cd863f58c2b5e451a3970d85674d3d0572b1cbfd39d355af8c7648bb79aea2b41bd177da03dd01cb146681ed651de2d06bf355c0 -DIST google_auth-2.40.0.tar.gz 280934 BLAKE2B a70b27a417e08e7d0edbc0ec09049aca6035582c9dc0bcc9b0d29acbc17f137beb2a9c145e783b356720b3327fd426025bef236a63dab83e98399a9bfd0dda36 SHA512 0e4587bde4076fcf8f905f1f8de6aa3b145424be2b8a36108f4f1fad12f024ea47e1b0bc5c877fa119b6a0dd7fa7fcb6a48e6cfbe4dacf72d04c23938cd66dbb -DIST google_auth-2.40.1.tar.gz 280975 BLAKE2B 755d05067caeb3317489d040bc17cb92a6a96f9f2433d43eb02dedd7dc3caadf9012ed497a5956ec82174ccec8b704d123275c22211906d7edbb915442313874 SHA512 3a3a5b970d020ba8e220794ef276ef55249026161f18dce513eaaa2e63f2a0d628a477c11ea2b35e7686b924ccc12eb5ff6c97a6e8df5279f8d3a195f85d4181 -DIST google_auth-2.40.2.tar.gz 280990 BLAKE2B 969cadb07091f221d1e9e82e783068913f7d6cbc7a4087b29e368bf0f6c89da45d880fc0aa9aa62f3efd467a70c17bd7c864d2dc7a9de64938f4086dd1a0ad00 SHA512 d79213f2c8fc3603437be5d40a1b887d85c13aa401dd918581cf17d5ac8a8211cf08633ec3a4fead705ad38d72a4a1eb919f073b10983be4a652a0db2bc14b43 DIST google_auth-2.40.3.tar.gz 281029 BLAKE2B eb95721c42ee37c0498c9c57fe3aceea006bc0b401a84c8f33a0000e8f49975537124827092da9ad40a66650dbe6e276b570d77eb45bcc86c23085a231572e1b SHA512 35062091ab3515f381c5da5d7952e1c60c650f62041b32217905462b0393199666126cbc018e96ea694eadaf9fec2528e9c7531758cfeda8a244fa10f8d362fb diff --git a/dev-python/google-auth/google-auth-2.39.0.ebuild b/dev-python/google-auth/google-auth-2.39.0.ebuild deleted file mode 100644 index 1081feaf30b4..000000000000 --- a/dev-python/google-auth/google-auth-2.39.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 x86" - -RDEPEND=" - <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aioresponses[${PYTHON_USEDEP}] - >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:,<[0-9.]*::' setup.py || die -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - local EPYTEST_DESELECT=( - # tests are broken with up-to-date pyopenssl - tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success - ) - local EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -} diff --git a/dev-python/google-auth/google-auth-2.40.0.ebuild b/dev-python/google-auth/google-auth-2.40.0.ebuild deleted file mode 100644 index 2a75d669830b..000000000000 --- a/dev-python/google-auth/google-auth-2.40.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aioresponses[${PYTHON_USEDEP}] - >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:,<[0-9.]*::' setup.py || die -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - local EPYTEST_DESELECT=( - # tests are broken with up-to-date pyopenssl - tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success - ) - local EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - distutils_write_namespace google - epytest -p asyncio -} diff --git a/dev-python/google-auth/google-auth-2.40.1.ebuild b/dev-python/google-auth/google-auth-2.40.1.ebuild deleted file mode 100644 index 2a75d669830b..000000000000 --- a/dev-python/google-auth/google-auth-2.40.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - <dev-python/cachetools-6.0.0[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aioresponses[${PYTHON_USEDEP}] - >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:,<[0-9.]*::' setup.py || die -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - local EPYTEST_DESELECT=( - # tests are broken with up-to-date pyopenssl - tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success - ) - local EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - distutils_write_namespace google - epytest -p asyncio -} diff --git a/dev-python/google-auth/google-auth-2.40.2-r1.ebuild b/dev-python/google-auth/google-auth-2.40.2-r1.ebuild deleted file mode 100644 index b9306a877fb9..000000000000 --- a/dev-python/google-auth/google-auth-2.40.2-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Google Authentication Library" -HOMEPAGE=" - https://github.com/googleapis/google-auth-library-python/ - https://pypi.org/project/google-auth/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/cachetools[${PYTHON_USEDEP}] - >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] - >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] - >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/aioresponses[${PYTHON_USEDEP}] - >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-localserver[${PYTHON_USEDEP}] - dev-python/pyu2f[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/responses[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:,<[0-9.]*::' setup.py || die -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - local EPYTEST_DESELECT=( - # tests are broken with up-to-date pyopenssl - tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success - ) - local EPYTEST_IGNORE=( - # these are compatibility tests with oauth2client - # disable them to unblock removal of that package - tests/test__oauth2client.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - distutils_write_namespace google - epytest -p asyncio -} diff --git a/dev-python/google-auth/google-auth-2.40.3.ebuild b/dev-python/google-auth/google-auth-2.40.3.ebuild index b9306a877fb9..7d35924d7587 100644 --- a/dev-python/google-auth/google-auth-2.40.3.ebuild +++ b/dev-python/google-auth/google-auth-2.40.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" RDEPEND=" dev-python/cachetools[${PYTHON_USEDEP}] diff --git a/dev-python/googleapis-common-protos/googleapis-common-protos-1.70.0.ebuild b/dev-python/googleapis-common-protos/googleapis-common-protos-1.70.0.ebuild index 486f8ff02b12..357ac47c51c6 100644 --- a/dev-python/googleapis-common-protos/googleapis-common-protos-1.70.0.ebuild +++ b/dev-python/googleapis-common-protos/googleapis-common-protos-1.70.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86" RDEPEND=" <dev-python/protobuf-7[${PYTHON_USEDEP}] diff --git a/dev-python/greenlet/greenlet-3.2.3.ebuild b/dev-python/greenlet/greenlet-3.2.3.ebuild index 6cecdbf77ff2..120093b709aa 100644 --- a/dev-python/greenlet/greenlet-3.2.3.ebuild +++ b/dev-python/greenlet/greenlet-3.2.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~m68k ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +KEYWORDS="~alpha amd64 ~arm ~arm64 -hppa ~m68k ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/grpcio-status/grpcio-status-1.72.1.ebuild b/dev-python/grpcio-status/grpcio-status-1.72.1.ebuild index d7038de3c24e..68bd15556908 100644 --- a/dev-python/grpcio-status/grpcio-status-1.72.1.ebuild +++ b/dev-python/grpcio-status/grpcio-status-1.72.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P}/src/python/grpcio_status LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" RDEPEND=" >=dev-python/grpcio-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/grpclib/Manifest b/dev-python/grpclib/Manifest index 57966375e523..5d9a5cbdc1a0 100644 --- a/dev-python/grpclib/Manifest +++ b/dev-python/grpclib/Manifest @@ -1,2 +1 @@ -DIST grpclib-0.4.7.gh.tar.gz 106012 BLAKE2B 9eb351511c4bf5e0be3135734a1d2ce66187a1fef1b35c46cd518199c07cede6f88351b3b56fc211775666c333cafd0a67da2d281b314bc2a8fdb51f9def33bf SHA512 8148edcadb1140973ea54473939744810f156ff719c72e8485534097d7c0efc324f9b5df1c71e1477e624859d068d5ec0a44b22f80717fd7ca8f697d3dfc592a DIST grpclib-0.4.8.gh.tar.gz 106522 BLAKE2B df4a4eadfdaece1bc65e27a2ef82562fd095e184c7118da078383afe8a8a03a2e389bdb2466c88079dfae6254c55bb9134eab35cb3c82b1c02e3da6c6a7e02e3 SHA512 f00e93e9371f68a86ce818b3c45e5c7319074163c404b36af3a183f0676fbe58722fa0cb3f119073f13f6d8b763a673e2ab292678868257f88cb834aa5bc2f71 diff --git a/dev-python/grpclib/files/grpclib-0.4.8-pytest-asyncio-1.patch b/dev-python/grpclib/files/grpclib-0.4.8-pytest-asyncio-1.patch new file mode 100644 index 000000000000..4e5db2479e8e --- /dev/null +++ b/dev-python/grpclib/files/grpclib-0.4.8-pytest-asyncio-1.patch @@ -0,0 +1,42 @@ +From 2008de510c76c40dca9c175febfe14200f1f5fb5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Sat, 21 Jun 2025 07:14:42 +0200 +Subject: [PATCH] Fix tests with pytest-asyncio >= 1.0.0 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Update tests not to use the deprecated `event_loop` fixture that's +been removed in pytest-asyncio >= 1.0.0. Instead, use +`asyncio.get_running_loop()` as the recommended replacement. Make +the fixture `async` as well to make things work correctly. + +This change is compatible both with `pytest-asyncio >= 1.0.0` +and `== 0.23.6`. + +Signed-off-by: Michał Górny <mgorny@gentoo.org> +--- + tests/conftest.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/tests/conftest.py b/tests/conftest.py +index 6aef1a1..21159de 100644 +--- a/tests/conftest.py ++++ b/tests/conftest.py +@@ -1,12 +1,14 @@ ++import asyncio ++ + import pytest + + from grpclib.config import Configuration + + + @pytest.fixture(name='loop') +-def loop_fixture(event_loop): ++async def loop_fixture(): + """ Shortcut """ +- return event_loop ++ return asyncio.get_running_loop() + + + @pytest.fixture(name='config') diff --git a/dev-python/grpclib/grpclib-0.4.7-r1.ebuild b/dev-python/grpclib/grpclib-0.4.7-r1.ebuild deleted file mode 100644 index 638de161826e..000000000000 --- a/dev-python/grpclib/grpclib-0.4.7-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 2024 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} ) - -inherit distutils-r1 - -DESCRIPTION="Pure-Python gRPC implementation for asyncio" -HOMEPAGE=" - https://github.com/vmagamedov/grpclib/ - https://pypi.org/project/grpclib/ -" -# no tests in sdist, as of 0.4.7 -SRC_URI=" - https://github.com/vmagamedov/grpclib/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" - -# setup.txt + requirements/runtime.in -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/googleapis-common-protos[${PYTHON_USEDEP}] - dev-python/h2[${PYTHON_USEDEP}] - dev-python/multidict[${PYTHON_USEDEP}] - dev-python/protobuf[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/async-timeout[${PYTHON_USEDEP}] - dev-python/faker[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/grpclib/grpclib-0.4.8.ebuild b/dev-python/grpclib/grpclib-0.4.8.ebuild index 3110bf025924..17bf0042afe6 100644 --- a/dev-python/grpclib/grpclib-0.4.8.ebuild +++ b/dev-python/grpclib/grpclib-0.4.8.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" # setup.txt + requirements/runtime.in RDEPEND=" @@ -40,3 +40,8 @@ BDEPEND=" " distutils_enable_tests pytest + +PATCHES=( + # https://github.com/vmagamedov/grpclib/pull/205 + "${FILESDIR}/${P}-pytest-asyncio-1.patch" +) diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest index cc7c100e0a79..61d2f5055f68 100644 --- a/dev-python/hiredis/Manifest +++ b/dev-python/hiredis/Manifest @@ -1,2 +1 @@ -DIST hiredis-py-3.1.1.gh.tar.gz 19545 BLAKE2B 02762179999f226ac87c059299116c5880ab07efd9a61d0b1fa9af8225f1f2f303756411cea8605055cbe1918c8948418e6beed28f6325d5af0a95723a5a6c6e SHA512 10eb7a7b69d26c8f977ac6790d2ae110b04bf071d547dff1cd0234f0bb227735b6c7784573921125c54ba936334077c55b7a981348af06f58ffca020ed64ef60 DIST hiredis-py-3.2.1.gh.tar.gz 20090 BLAKE2B 362ec46549780eba4c672a8e9dee5b380829e2bb3de79d45052ede6634faa499bddbb7cf479714daf4ffb71754df267ec08b32a37c30c9d4700f92015cb95ed0 SHA512 eac9299f3de448628111fa25d6dde5faaec95f3f80120ebc9b659e1b4336c84e10c04084dd8d14eda279589ffcf6b18064b37fa8f5fd358d63e8fd1a02309b9f diff --git a/dev-python/hiredis/hiredis-3.1.1.ebuild b/dev-python/hiredis/hiredis-3.1.1.ebuild deleted file mode 100644 index 8672f8ffbc42..000000000000 --- a/dev-python/hiredis/hiredis-3.1.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2025 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_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 - -MY_P=hiredis-py-${PV} -DESCRIPTION="Python extension that wraps hiredis" -HOMEPAGE=" - https://github.com/redis/hiredis-py/ - https://pypi.org/project/hiredis/ -" -SRC_URI=" - https://github.com/redis/hiredis-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" - -DEPEND=" - >=dev-libs/hiredis-1.0.0:= -" -RDEPEND=" - ${DEPEND} -" - -PATCHES=( - "${FILESDIR}"/hiredis-2.4.0-system-libs.patch -) - -distutils_enable_tests pytest - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - rm -rf hiredis || die - epytest -} diff --git a/dev-python/hiredis/hiredis-3.2.1.ebuild b/dev-python/hiredis/hiredis-3.2.1.ebuild index 26c77d2e1808..8672f8ffbc42 100644 --- a/dev-python/hiredis/hiredis-3.2.1.ebuild +++ b/dev-python/hiredis/hiredis-3.2.1.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" DEPEND=" >=dev-libs/hiredis-1.0.0:= diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index d46228cdac2c..3fd8a5c62709 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,8 +1,3 @@ -DIST hypothesis-6.131.32.gh.tar.gz 9562669 BLAKE2B 28e2f15db216bafc545a262e47c43aa7594c54d3066b08910de1695945de07508b5bef24fea9139736a7e429afa6232c75e3a8e0bb2eb349fb23eb7d318bd03d SHA512 f51cf27fa60756d28416699292b6a6dc4a5cd89bccc7acbd3de65fd83222907e57d7b601544b9965f1646979d6aa9220cd5ed2f44760507af362bb3806630706 -DIST hypothesis-6.132.0.gh.tar.gz 9563870 BLAKE2B de088f7d632a8ada158f5c11b6eb8bce009b544b0cde1d4f1398b059956d17fc8fbad3abbc9033d4c9544ccbf13782c7e0ed63e366665f362c3b651490bca5f1 SHA512 b43e661610e2491abad4f20cbf455b45be995ee927106ef17a0ecfdd2090a64b0f2588e3a3466fd22304c20d0371ec0ed15505a8f57d32a3b4a44c2ef24fa203 DIST hypothesis-6.135.1.gh.tar.gz 9569007 BLAKE2B ceebfcbc7ae66c73251a5196f304a1a4e51cd3db27e7815db248ee014bbae7ca921c95a6962174f69c755c715a51b5fc041dbd11a2e0b6f7e2a97c669ae033e0 SHA512 be50f86dee60b5a6c8e8680652e6f76a30d4402e62346e7536a83dec2598cc320e56496e93363e8207f9086061c9e19ab7d4ea684405eb1ebeb3ef5f9dd29ecd -DIST hypothesis-6.135.10.gh.tar.gz 9578191 BLAKE2B 39e2d2b74aaa857530eb7102b54dc755a54df96e0f20f90f261b5e23ce70c95c6bb141d406f966b4d5c18cccc8a50381f2b4caf238c48d358f960a24823e9a2f SHA512 714420003d1bf5eea41e2e9fcd70a2cd12ea0b2ec4852d5e141d6e9a082effa2bdc26647a100a0240c29134cccb4ad5fe1cbc4c441b9142c1d2a7296718059db -DIST hypothesis-6.135.11.gh.tar.gz 9578647 BLAKE2B b2c6e9d920fe1d560a98dd16f1396f63da11cee5229272382980aef2981628bdf6bc81e810e591713379b6faf96f0e8e0b5c063ba687e7cf7e29cd287adb1337 SHA512 08d36fdc6544e622f4dc47d947dbb7c78951ee0db83b67b948e2ed908c86689fd167aeeeaf930e8b24d95889ef568eda7b0f2a224aacf6b0e8c741ebaa289719 -DIST hypothesis-6.135.12.gh.tar.gz 9578712 BLAKE2B 27d1d890f3fff017fe8f8152a0f2a8338722a0c72a6a7ca17cc02cc65ec8d084d82b80acaeae11f00d4452ca431f12ffe63a8dda6b25b8608f0a7a613fc815be SHA512 635e3d9214c60f219857e6de8ee7e999db9dae98812e15e724b6f72638916c2ac3bd122071e8a4b1c91b6ea7a09d1ea6b71492a35cb1b72ccc24217d329f3081 DIST hypothesis-6.135.14.gh.tar.gz 9580007 BLAKE2B deb23f73931fea93e30892a936f0035a6ea405610c42df1be571285dbabc2319c76db0d8b9a28b766da3d621f6ac419b133bd868e4756d43a3791befa5e5ea39 SHA512 269f54cd85d88fa177bd6e81e9d75e23797b208e5b9043f0d80b292545cd40896f4db56b68889336a55e0a5fb0879e8080e89fa498786877b2cf9f1c80775a08 DIST hypothesis-6.135.9.gh.tar.gz 9578130 BLAKE2B fc0619685edd2c06d77d95ee0bb7244f62b0b262621e399e3ff7a1ef13a36c80f6d60c8b333011e9387bf04095f40519b072f1b69407e5b0a83c46d2fd7acc40 SHA512 bc69855f5d68bfd68a4915d2085505d815159d5b0757104f7634cdd3db2a2e9c5a7e8c68826864aeb15aae5b16bdb99cbafdab3e443349c3edfa86c964110bce diff --git a/dev-python/hypothesis/hypothesis-6.131.32.ebuild b/dev-python/hypothesis/hypothesis-6.131.32.ebuild deleted file mode 100644 index 92d2bed3e937..000000000000 --- a/dev-python/hypothesis/hypothesis-6.131.32.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=( - # hangs - hypothesis-python/tests/cover/test_lookup.py::test_lookup_overrides_defaults - ) - - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;& - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - esac - - epytest -o filterwarnings= -p rerunfailures --reruns=5 \ - tests/cover tests/pytest tests/quality -} - -src_install() { - local HAD_CLI= - - distutils-r1_src_install - - if [[ ! ${HAD_CLI} ]]; then - rm -r "${ED}/usr/bin" || die - fi -} - -python_install() { - distutils-r1_python_install - if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - HAD_CLI=1 - else - rm -r "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.132.0.ebuild b/dev-python/hypothesis/hypothesis-6.132.0.ebuild deleted file mode 100644 index 997db78b8df2..000000000000 --- a/dev-python/hypothesis/hypothesis-6.132.0.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=( - # hangs - hypothesis-python/tests/cover/test_lookup.py::test_lookup_overrides_defaults - ) - - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;& - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - esac - - epytest -o filterwarnings= -p rerunfailures --reruns=5 \ - tests/cover tests/pytest tests/quality -} - -src_install() { - local HAD_CLI= - - distutils-r1_src_install - - if [[ ! ${HAD_CLI} ]]; then - rm -r "${ED}/usr/bin" || die - fi -} - -python_install() { - distutils-r1_python_install - if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - HAD_CLI=1 - else - rm -r "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.135.1.ebuild b/dev-python/hypothesis/hypothesis-6.135.1.ebuild index e23d3543d705..3d9eaf1e40f8 100644 --- a/dev-python/hypothesis/hypothesis-6.135.1.ebuild +++ b/dev-python/hypothesis/hypothesis-6.135.1.ebuild @@ -25,7 +25,7 @@ S="${WORKDIR}/${MY_P}/hypothesis-python" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="cli" RDEPEND=" diff --git a/dev-python/hypothesis/hypothesis-6.135.10.ebuild b/dev-python/hypothesis/hypothesis-6.135.10.ebuild deleted file mode 100644 index 25eb21e77d45..000000000000 --- a/dev-python/hypothesis/hypothesis-6.135.10.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - esac - - epytest -o filterwarnings= -p rerunfailures --reruns=5 \ - tests/cover tests/pytest tests/quality -} - -src_install() { - local HAD_CLI= - - distutils-r1_src_install - - if [[ ! ${HAD_CLI} ]]; then - rm -r "${ED}/usr/bin" || die - fi -} - -python_install() { - distutils-r1_python_install - if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - HAD_CLI=1 - else - rm -r "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.135.11.ebuild b/dev-python/hypothesis/hypothesis-6.135.11.ebuild deleted file mode 100644 index 25eb21e77d45..000000000000 --- a/dev-python/hypothesis/hypothesis-6.135.11.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - esac - - epytest -o filterwarnings= -p rerunfailures --reruns=5 \ - tests/cover tests/pytest tests/quality -} - -src_install() { - local HAD_CLI= - - distutils-r1_src_install - - if [[ ! ${HAD_CLI} ]]; then - rm -r "${ED}/usr/bin" || die - fi -} - -python_install() { - distutils-r1_python_install - if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - HAD_CLI=1 - else - rm -r "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/hypothesis/hypothesis-6.135.12.ebuild b/dev-python/hypothesis/hypothesis-6.135.12.ebuild deleted file mode 100644 index 25eb21e77d45..000000000000 --- a/dev-python/hypothesis/hypothesis-6.135.12.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{11..13} ) -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -PYTHON_REQ_USE="threads(+),sqlite" - -inherit distutils-r1 optfeature - -TAG=hypothesis-python-${PV} -MY_P=hypothesis-${TAG} -DESCRIPTION="A library for property based testing" -HOMEPAGE=" - https://github.com/HypothesisWorks/hypothesis/ - https://pypi.org/project/hypothesis/ -" -SRC_URI=" - https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/${MY_P}/hypothesis-python" - -LICENSE="MPL-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/attrs-22.2.0[${PYTHON_USEDEP}] - >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] - cli? ( - $(python_gen_cond_dep ' - dev-python/black[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - ' "${CLI_COMPAT[@]}") - ) -" -BDEPEND=" - test? ( - dev-python/pexpect[${PYTHON_USEDEP}] - >=dev-python/pytest-8[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - # subtests are broken by warnings from random plugins - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=xdist.plugin,_hypothesis_pytestplugin - local -x HYPOTHESIS_NO_PLUGINS=1 - - # NB: paths need to be relative to pytest.ini, - # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() - - case ${EPYTHON} in - python3.13t) - EPYTEST_DESELECT+=( - # TODO: missing warning - 'hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns' - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - 'hypothesis-python/tests/cover/test_compat.py::test_resolve_fwd_refs[Foo-Union]' - 'hypothesis-python/tests/cover/test_lookup.py::test_builds_suggests_from_type[Union]' - hypothesis-python/tests/cover/test_attrs_inference.py::test_attrs_inference_builds - hypothesis-python/tests/cover/test_lookup.py::test_bytestring_not_treated_as_generic_sequence - hypothesis-python/tests/cover/test_lookup.py::test_issue_4194_regression - hypothesis-python/tests/cover/test_lookup.py::test_resolves_forwardrefs_to_builtin_types - hypothesis-python/tests/cover/test_lookup.py::test_specialised_collection_types - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_collection_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_container_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_contextmanager_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_iterable_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_reversible_as_generic - hypothesis-python/tests/cover/test_lookup_py37.py::test_resolving_standard_sequence_as_generic - hypothesis-python/tests/cover/test_random_module.py::test_evil_prng_registration_nonsense - hypothesis-python/tests/cover/test_random_module.py::test_passing_referenced_instance_within_function_scope_warns - hypothesis-python/tests/cover/test_random_module.py::test_register_random_within_nested_function_scope - hypothesis-python/tests/cover/test_random_module.py::test_registering_a_Random_is_idempotent - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_dot_access_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_missing_forward_ref - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_checking_only_forward_ref_wrong_type - hypothesis-python/tests/cover/test_type_lookup_forward_ref.py::test_bound_type_cheking_only_forward_ref - ) - ;; - esac - - epytest -o filterwarnings= -p rerunfailures --reruns=5 \ - tests/cover tests/pytest tests/quality -} - -src_install() { - local HAD_CLI= - - distutils-r1_src_install - - if [[ ! ${HAD_CLI} ]]; then - rm -r "${ED}/usr/bin" || die - fi -} - -python_install() { - distutils-r1_python_install - if use cli && has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then - HAD_CLI=1 - else - rm -r "${D}$(python_get_scriptdir)" || die - fi -} - -pkg_postinst() { - optfeature "datetime support" dev-python/pytz - optfeature "dateutil support" dev-python/python-dateutil - optfeature "numpy support" dev-python/numpy - optfeature "django support" dev-python/django dev-python/pytz - optfeature "pandas support" dev-python/pandas - optfeature "pytest support" dev-python/pytest -} diff --git a/dev-python/ipyparallel/ipyparallel-9.0.1.ebuild b/dev-python/ipyparallel/ipyparallel-9.0.1.ebuild index 49dbede56692..4c8cca66ddea 100644 --- a/dev-python/ipyparallel/ipyparallel-9.0.1.ebuild +++ b/dev-python/ipyparallel/ipyparallel-9.0.1.ebuild @@ -38,7 +38,6 @@ BDEPEND=" dev-python/flit-core[${PYTHON_USEDEP}] test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-tornado[${PYTHON_USEDEP}] dev-python/testpath[${PYTHON_USEDEP}] ) " @@ -82,7 +81,7 @@ python_test() { esac local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p asyncio -p tornado + epytest -p asyncio } python_install_all() { diff --git a/dev-python/ipython/ipython-9.3.0.ebuild b/dev-python/ipython/ipython-9.3.0.ebuild index 0c1d219a5e2b..27a202cb70b0 100644 --- a/dev-python/ipython/ipython-9.3.0.ebuild +++ b/dev-python/ipython/ipython-9.3.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="examples notebook nbconvert qt5 +smp test" RESTRICT="!test? ( test )" diff --git a/dev-python/isal/isal-1.7.2.ebuild b/dev-python/isal/isal-1.7.2.ebuild index 603f9d8989b7..c88f65354fe7 100644 --- a/dev-python/isal/isal-1.7.2.ebuild +++ b/dev-python/isal/isal-1.7.2.ebuild @@ -25,7 +25,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~riscv ~s390 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" DEPEND=" dev-libs/isa-l:= diff --git a/dev-python/jupyter-core/Manifest b/dev-python/jupyter-core/Manifest index 5a00e2476481..fad7572294d9 100644 --- a/dev-python/jupyter-core/Manifest +++ b/dev-python/jupyter-core/Manifest @@ -1,3 +1 @@ -DIST jupyter_core-5.7.2.tar.gz 87629 BLAKE2B b8d460f239419c7f648a856e55e1570646b6a6cd38ee900bbeac0aa64965f8868a88be20f6b890f2f424f0752f0da44d79abd0b3d18d275ac3f9c574ad7d18b4 SHA512 1eb4766dbc10afdcbc469853b391a88a2551a0ee2b2a3f93a316b407371ca10f546746aa4a327f8c0423cc10e4de022630c04ca7547dcf7ee8d9a911e9a0e572 -DIST jupyter_core-5.8.0.tar.gz 88884 BLAKE2B 1c3885308217fbedf62dfb5987d0da101e0868d71266afeee7cb23bd42096d295e402064ec86ed4d4bbb34fcde2fd143ad77757fc2407d2a4ba699dd94ea0062 SHA512 ef85915fcb64b7ebf5e43b1e975826a16a619dc5860223043caf9e9ee1518e7e387f6eaf1c02ff4207f37e5caec092c87b4328566732c6ffe48eeab017955c0d DIST jupyter_core-5.8.1.tar.gz 88923 BLAKE2B 6c71035772039e719f6ec1b9ef9a70b7e651475668672b89f10e47945b224fc110d7a7ec58af8d591388d5608bd2ea2e0e0bba5aac704e48e004f0d59d5175d4 SHA512 6b3b9afbf3cf17546c1750b2725124a21a5bc0070cee580e9e82c902eddd12c54d371769211bc7c3a302fdfb9452bbc78e9e4f1b0d27e65d83f2cf86e3f0529a diff --git a/dev-python/jupyter-core/jupyter-core-5.7.2.ebuild b/dev-python/jupyter-core/jupyter-core-5.7.2.ebuild deleted file mode 100644 index 69dee400673d..000000000000 --- a/dev-python/jupyter-core/jupyter-core-5.7.2.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core common functionality of Jupyter projects" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter/jupyter_core/ - https://pypi.org/project/jupyter-core/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.11.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pip[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs \ - dev-python/myst-parser \ - dev-python/pydata-sphinx-theme \ - dev-python/sphinx-autodoc-typehints \ - dev-python/sphinxcontrib-github-alt \ - dev-python/sphinxcontrib-spelling \ - dev-python/traitlets -distutils_enable_tests pytest diff --git a/dev-python/jupyter-core/jupyter-core-5.8.0.ebuild b/dev-python/jupyter-core/jupyter-core-5.8.0.ebuild deleted file mode 100644 index 1f4afb612c6a..000000000000 --- a/dev-python/jupyter-core/jupyter-core-5.8.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core common functionality of Jupyter projects" -HOMEPAGE=" - https://jupyter.org/ - https://github.com/jupyter/jupyter_core/ - https://pypi.org/project/jupyter-core/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" - -RDEPEND=" - >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}] - >=dev-python/traitlets-5.11.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pip[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/dev-python/jupyter-core/jupyter-core-5.8.1.ebuild b/dev-python/jupyter-core/jupyter-core-5.8.1.ebuild index 1f4afb612c6a..7f330725caae 100644 --- a/dev-python/jupyter-core/jupyter-core-5.8.1.ebuild +++ b/dev-python/jupyter-core/jupyter-core-5.8.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/platformdirs-2.5[${PYTHON_USEDEP}] diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..d12ab8aeaca8 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1 +1,3 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db +EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e +MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch deleted file mode 100644 index 637368d2f237..000000000000 --- a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch +++ /dev/null @@ -1,13 +0,0 @@ -Fix "Package 'langdetect.profiles' is absent from the `packages` configuration." - ---- a/setup.py -+++ b/setup.py -@@ -18,7 +18,7 @@ setup( - author_email='michal.danilak@gmail.com', - url='https://github.com/Mimino666/langdetect', - keywords='language detection library', -- packages=['langdetect', 'langdetect.utils', 'langdetect.tests'], -+ packages=['langdetect', 'langdetect.utils', 'langdetect.tests', 'langdetect.profiles'], - include_package_data=True, - install_requires=['six'], - license='MIT', diff --git a/dev-python/langdetect/langdetect-1.0.9.ebuild b/dev-python/langdetect/langdetect-1.0.9.ebuild index 99577c43fc3e..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi @@ -19,6 +19,4 @@ KEYWORDS="~amd64" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-explicit-config.patch" ) - distutils_enable_tests unittest diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml index c0f74ac187e2..020e07f2a3dd 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,9 +2,11 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>pastalian46@gmail.com</email> - <name>Takuya Wakazono</name> + <email>marcin.deranek@slonko.net</email> + <name>Marcin Deranek</name> </maintainer> - - <origin>gentoo-guru-overlay</origin> + <upstream> + <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> + </upstream> + <origin>slonko-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/looseversion/looseversion-1.3.0.ebuild b/dev-python/looseversion/looseversion-1.3.0.ebuild index cb0eb19b6026..17b818a6228f 100644 --- a/dev-python/looseversion/looseversion-1.3.0.ebuild +++ b/dev-python/looseversion/looseversion-1.3.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="amd64 ~riscv x86" +KEYWORDS="amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86" distutils_enable_tests pytest diff --git a/dev-python/meson-python/meson-python-0.18.0-r1.ebuild b/dev-python/meson-python/meson-python-0.18.0-r1.ebuild index 367756089f33..1a89c17b8177 100644 --- a/dev-python/meson-python/meson-python-0.18.0-r1.ebuild +++ b/dev-python/meson-python/meson-python-0.18.0-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" RDEPEND=" >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] diff --git a/dev-python/mkdocs-monorepo-plugin/Manifest b/dev-python/mkdocs-monorepo-plugin/Manifest index 50c0fc55f324..fcb05752cfd9 100644 --- a/dev-python/mkdocs-monorepo-plugin/Manifest +++ b/dev-python/mkdocs-monorepo-plugin/Manifest @@ -1,2 +1 @@ -DIST mkdocs-monorepo-plugin-1.1.0.tar.gz 13435 BLAKE2B 5e3b0af987f0125595c32e9a68fbc5d41936081fff17a69f381789df03870cfc7efcca768de4de5663998e5437d25d24b91ab60a32106e027c5c76204aaeeaaa SHA512 8820bea9dc7e8754832c85e8b8a5e369f5ab28d388d6386912b0903739dd8bafc7dfda59bf7e4b98938ac171c7d76c9bd2e836a9c0fd05f0a61e1787e959f5da DIST mkdocs-monorepo-plugin-1.1.2.tar.gz 13723 BLAKE2B b0cbe141b2077380e8d1b19e5925aee0a3e510cb26b2dbd2c8d1be4a70afa0c2976179cadb644c3a3a6504cc86d70a2d6d8869074a47c00039188b1601d8e805 SHA512 87af8b4fe1a0ac707a9ce8b888520a8d09fefaca05a2e0aabc521025659afddb76eaba74629e7f638393e6776220be527cdcd8f4e558066cd5d204db9ab0c419 diff --git a/dev-python/mkdocs-monorepo-plugin/mkdocs-monorepo-plugin-1.1.0.ebuild b/dev-python/mkdocs-monorepo-plugin/mkdocs-monorepo-plugin-1.1.0.ebuild deleted file mode 100644 index 0135b4145bee..000000000000 --- a/dev-python/mkdocs-monorepo-plugin/mkdocs-monorepo-plugin-1.1.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# 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="Build multiple documentation folders in a single Mkdocs" -HOMEPAGE=" - https://backstage.github.io/mkdocs-monorepo-plugin/ - https://pypi.org/project/mkdocs-monorepo-plugin/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/mkdocs-1.0.4[${PYTHON_USEDEP}] - >=dev-python/python-slugify-4.0.1[${PYTHON_USEDEP}] -" - -# Data files required by this test are not included in PyPI tarballs, -# and upstream has not tagged any releases in their GitHub repository since 2019. -EPYTEST_DESELECT=( - mkdocs_monorepo_plugin/tests/test_plugin.py::TestMonorepoPlugin::test_plugin_on_config_with_nav -) - -distutils_enable_tests pytest diff --git a/dev-python/mkdocs-monorepo-plugin/mkdocs-monorepo-plugin-1.1.2.ebuild b/dev-python/mkdocs-monorepo-plugin/mkdocs-monorepo-plugin-1.1.2.ebuild index c0bc6ca58003..0135b4145bee 100644 --- a/dev-python/mkdocs-monorepo-plugin/mkdocs-monorepo-plugin-1.1.2.ebuild +++ b/dev-python/mkdocs-monorepo-plugin/mkdocs-monorepo-plugin-1.1.2.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/mkdocs-1.0.4[${PYTHON_USEDEP}] diff --git a/dev-python/multidict/multidict-6.4.4.ebuild b/dev-python/multidict/multidict-6.4.4.ebuild index 74c8613b0b64..1041d0b99acd 100644 --- a/dev-python/multidict/multidict-6.4.4.ebuild +++ b/dev-python/multidict/multidict-6.4.4.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" IUSE="+native-extensions" BDEPEND=" diff --git a/dev-python/mypy/mypy-1.16.0.ebuild b/dev-python/mypy/mypy-1.16.0.ebuild index c01bccee99ba..9e9e1b26d89e 100644 --- a/dev-python/mypy/mypy-1.16.0.ebuild +++ b/dev-python/mypy/mypy-1.16.0.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 diff --git a/dev-python/numpy/numpy-2.2.6.ebuild b/dev-python/numpy/numpy-2.2.6.ebuild index 227ec20e781c..112853884e57 100644 --- a/dev-python/numpy/numpy-2.2.6.ebuild +++ b/dev-python/numpy/numpy-2.2.6.ebuild @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0/2" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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="big-endian +lapack" diff --git a/dev-python/openstacksdk/Manifest b/dev-python/openstacksdk/Manifest index cd9a4e38da68..1ce6407d8e31 100644 --- a/dev-python/openstacksdk/Manifest +++ b/dev-python/openstacksdk/Manifest @@ -1,2 +1 @@ -DIST openstacksdk-4.5.0.tar.gz 1284921 BLAKE2B 0b1ef6483c8c3724f20badb1108ec544937b83d9fd25d989289ac4143909d175c9d16b9545315bfe88a371a1ac2088511dbe4333cadf6141dd95200b3b45ed5c SHA512 7c8225089afa4e52ef501810a495c3047a15f31388cb32cecd035474c9cf56bd2b3181b13c71a619f841206935d455fd69787005fa6fcdf5a0d2f627c9a39dc3 DIST openstacksdk-4.6.0.tar.gz 1287222 BLAKE2B cd2af29901c89bee15ed01fc2d19d75c75a5e2bacd860f999f6696292d171967e7f129ad295fc4556222ba4bf7786cccc4e20bd612b19bf3b6c6507752a88e25 SHA512 9c11a537734e11a25a8e4c664fa700071a47743b12bd8656ce6b91294650c2cd9e119d1f9fe2e68b230c46c1435040ca6b33e28f6e750f3bf88d1686dc66a42c diff --git a/dev-python/openstacksdk/openstacksdk-4.5.0.ebuild b/dev-python/openstacksdk/openstacksdk-4.5.0.ebuild deleted file mode 100644 index dfba065ce61c..000000000000 --- a/dev-python/openstacksdk/openstacksdk-4.5.0.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# 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} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A collection of libraries for building applications to work with OpenStack" -HOMEPAGE=" - https://opendev.org/openstack/openstacksdk/ - https://github.com/openstack/openstacksdk/ - https://pypi.org/project/openstacksdk/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] - >=dev-python/decorator-4.4.1[${PYTHON_USEDEP}] - >=dev-python/dogpile-cache-0.6.5[${PYTHON_USEDEP}] - >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] - >=dev-python/jmespath-0.9.0[${PYTHON_USEDEP}] - >=dev-python/jsonpatch-1.21[${PYTHON_USEDEP}] - >=dev-python/keystoneauth1-5.10.0[${PYTHON_USEDEP}] - >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] - >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3[${PYTHON_USEDEP}] - >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] - >=dev-python/requestsexceptions-1.2.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pbr-2.2.0[${PYTHON_USEDEP}] - test? ( - >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}] - >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] - >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}] - >=dev-python/prometheus-client-0.4.2[${PYTHON_USEDEP}] - >=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}] - >=dev-python/statsd-3.3.0[${PYTHON_USEDEP}] - >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] - >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.12.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -src_prepare() { - # Internet? - sed -e 's:test_create_dynamic_large_object:_&:' \ - -i openstack/tests/unit/cloud/test_object.py || die - - # TODO - sed -e 's:test_generate_form:_&:' \ - -e 's:test_create_static_large_object:_&:' \ - -e 's:test_object_segment_retries:_&:' \ - -e 's:test_object_segment_retry_failure:_&:' \ - -e 's:test_slo_manifest_retry:_&:' \ - -i openstack/tests/unit/cloud/test_object.py || die - sed -e 's:test_servers:_&:' \ - -i openstack/tests/unit/test_stats.py || die - - # unhappy about paths due to test runner - sed -e 's:test_method_not_supported:_&:' \ - -i openstack/tests/unit/test_exceptions.py || die - sed -e 's:test_repr:_&:' \ - -i openstack/tests/unit/test_resource.py || die - - # requires hacking - rm openstack/tests/unit/test_hacking.py || die - - # fragile warning-based tests - sed -e 's:test_unsupported_version_override:_&:' \ - -i openstack/tests/unit/test_missing_version.py || die - sed -e 's:test_create_unknown_proxy:_&:' \ - -i openstack/tests/unit/test_connection.py || die - - distutils-r1_src_prepare -} - -python_test() { - # functional tests require cloud instance access - eunittest -b openstack/tests/unit -} diff --git a/dev-python/openstacksdk/openstacksdk-4.6.0.ebuild b/dev-python/openstacksdk/openstacksdk-4.6.0.ebuild index 773203367ae0..dfba065ce61c 100644 --- a/dev-python/openstacksdk/openstacksdk-4.6.0.ebuild +++ b/dev-python/openstacksdk/openstacksdk-4.6.0.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] diff --git a/dev-python/overrides/overrides-7.7.0-r1.ebuild b/dev-python/overrides/overrides-7.7.0-r1.ebuild index 64df1e930d8f..e2721376a589 100644 --- a/dev-python/overrides/overrides-7.7.0-r1.ebuild +++ b/dev-python/overrides/overrides-7.7.0-r1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests pytest diff --git a/dev-python/overrides/overrides-7.7.0.ebuild b/dev-python/overrides/overrides-7.7.0.ebuild deleted file mode 100644 index e2dfe33f0800..000000000000 --- a/dev-python/overrides/overrides-7.7.0.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# 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 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A decorator to automatically detect mismatch when overriding a method." -HOMEPAGE=" - https://pypi.org/project/overrides/ - https://github.com/mkorpela/overrides/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86" - -distutils_enable_tests pytest diff --git a/dev-python/pandas/pandas-2.3.0.ebuild b/dev-python/pandas/pandas-2.3.0.ebuild index fd207379247e..8db7d580b03b 100644 --- a/dev-python/pandas/pandas-2.3.0.ebuild +++ b/dev-python/pandas/pandas-2.3.0.ebuild @@ -21,7 +21,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 arm64 ~riscv ~x86" IUSE="big-endian full-support minimal test X" RESTRICT="!test? ( test )" diff --git a/dev-python/parso/parso-0.8.4-r1.ebuild b/dev-python/parso/parso-0.8.4-r1.ebuild index f5d3cefa4a08..d8f70d01c441 100644 --- a/dev-python/parso/parso-0.8.4-r1.ebuild +++ b/dev-python/parso/parso-0.8.4-r1.ebuild @@ -20,7 +20,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" distutils_enable_sphinx docs distutils_enable_tests pytest diff --git a/dev-python/parso/parso-0.8.4.ebuild b/dev-python/parso/parso-0.8.4.ebuild deleted file mode 100644 index 72df25f5079d..000000000000 --- a/dev-python/parso/parso-0.8.4.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# 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 ) - -inherit distutils-r1 - -DESCRIPTION="A python parser that supports error recovery and round-trip parsing" -HOMEPAGE=" - https://github.com/davidhalter/parso/ - https://pypi.org/project/parso/ -" -SRC_URI=" - https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -distutils_enable_sphinx docs -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - # py3.10 changed exception messages - test/test_python_errors.py::test_python_exception_matches - # With python3.11 this additional file is run by pytest, - # but it is not actually a test and thus fails - parso/python/token.py::parso.python.token.PythonTokenTypes -) diff --git a/dev-python/pikepdf/pikepdf-9.8.1.ebuild b/dev-python/pikepdf/pikepdf-9.8.1.ebuild index d3b094767792..27ad15fc748d 100644 --- a/dev-python/pikepdf/pikepdf-9.8.1.ebuild +++ b/dev-python/pikepdf/pikepdf-9.8.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" IUSE="big-endian" # Check QPDF_MIN_VERSION in pyproject.toml on bumps, as well as diff --git a/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild b/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild index b79542e03058..d2b84ae537e1 100644 --- a/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild +++ b/dev-python/pkgconfig/pkgconfig-1.5.5-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" RDEPEND=" virtual/pkgconfig diff --git a/dev-python/pocketlint/metadata.xml b/dev-python/pocketlint/metadata.xml index 83d00b14c8d4..f0609a5259d1 100644 --- a/dev-python/pocketlint/metadata.xml +++ b/dev-python/pocketlint/metadata.xml @@ -3,4 +3,5 @@ <pkgmetadata> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pocketlint/pocketlint-0.25-r1.ebuild b/dev-python/pocketlint/pocketlint-0.25-r1.ebuild index 39c0ed84c2b9..034aa16d9279 100644 --- a/dev-python/pocketlint/pocketlint-0.25-r1.ebuild +++ b/dev-python/pocketlint/pocketlint-0.25-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/pocketlint/pocketlint-0.25.ebuild b/dev-python/pocketlint/pocketlint-0.25.ebuild deleted file mode 100644 index 9cdafd685d0f..000000000000 --- a/dev-python/pocketlint/pocketlint-0.25.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Shared code for running pylint against rhinstaller projects" -HOMEPAGE=" - https://github.com/rhinstaller/pocketlint/ - https://pypi.org/project/pocketlint/ -" -SRC_URI=" - https://github.com/rhinstaller/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pylint[${PYTHON_USEDEP}] -" - -python_test() { - "${EPYTHON}" tests/pylint/runpylint.py || die "test failed with ${EPYTHON}" -} diff --git a/dev-python/prometheus-client/Manifest b/dev-python/prometheus-client/Manifest index d69ae386046c..1e9e3e06acdd 100644 --- a/dev-python/prometheus-client/Manifest +++ b/dev-python/prometheus-client/Manifest @@ -1,3 +1 @@ DIST client_python-0.22.1.gh.tar.gz 4648230 BLAKE2B 3b6df3195c73f1541266d6050bb5b8208966afddd31763f0110007c8568a5307d7a3971d3f20271f2ff6dab652a6e0d6bb52dcaad2b293b1aa2cdc23792e5d05 SHA512 875bb70478e5a01a209c656692298735df21aed18861bd269b40fc70aac1e99843a95a39dc2a8999b0684d15c754d77bd913b409a275ccc2c4007f9128643ed2 -DIST prometheus_client-0.21.1.tar.gz 78551 BLAKE2B 309b32e8fd52576190c6010c52a1ec9c7cec5ce7a617285acb424dacf3cbc9a7cc4681b4fce1c291626d603ac9708c7e05d5562d2bd82c95558609b6477b2f4e SHA512 e62302e46d1dddd38463e02ed1d79448084cb76e0b2301c3af5ca4312646c450472a3bf42e4fda440d580635e8eec611948ae4a99b16961672ec3a34ce4a3df9 -DIST prometheus_client-0.22.0.tar.gz 74443 BLAKE2B e21e827c0fd85e13d1cae9d1a24b96e4dd42bda61b783d1eccc456bb55657ba4da893adfb22edb887487eba53e538c77b119915dc65b23ab6d24b20e88572ee1 SHA512 d332771f3381e55a8fd76a1e4ab71cf539568f6963a703249bc9e544132c05ccaca5b6fbe8a07bb661133bc0831a589eac81e288c0c29ec287997ea3a201437f diff --git a/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild b/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild deleted file mode 100644 index b3cf08bcdcaa..000000000000 --- a/dev-python/prometheus-client/prometheus-client-0.21.1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python client for the Prometheus monitoring system" -HOMEPAGE=" - https://github.com/prometheus/client_python/ - https://pypi.org/project/prometheus-client/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/twisted[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # optional tests, broken with >=dev-python/asgiref-3.8 - tests/test_asgi.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/prometheus-client/prometheus-client-0.22.0.ebuild b/dev-python/prometheus-client/prometheus-client-0.22.0.ebuild deleted file mode 100644 index f6ef907b0ca2..000000000000 --- a/dev-python/prometheus-client/prometheus-client-0.22.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# 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 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python client for the Prometheus monitoring system" -HOMEPAGE=" - https://github.com/prometheus/client_python/ - https://pypi.org/project/prometheus-client/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - -RDEPEND=" - dev-python/twisted[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_IGNORE=( - # optional tests, broken with >=dev-python/asgiref-3.8 - tests/test_asgi.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/prometheus-client/prometheus-client-0.22.1.ebuild b/dev-python/prometheus-client/prometheus-client-0.22.1.ebuild index dca11d15dc0c..4a371d544934 100644 --- a/dev-python/prometheus-client/prometheus-client-0.22.1.ebuild +++ b/dev-python/prometheus-client/prometheus-client-0.22.1.ebuild @@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" dev-python/twisted[${PYTHON_USEDEP}] diff --git a/dev-python/protobuf/protobuf-6.31.1.ebuild b/dev-python/protobuf/protobuf-6.31.1.ebuild index 14e20d2d8cc4..2f933dbe2b83 100644 --- a/dev-python/protobuf/protobuf-6.31.1.ebuild +++ b/dev-python/protobuf/protobuf-6.31.1.ebuild @@ -28,7 +28,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0/$(ver_cut 1-3)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ppc64 ~riscv ~sparc ~x86" # need protobuf compiler BDEPEND=" diff --git a/dev-python/pyacoustid/pyacoustid-1.3.0-r1.ebuild b/dev-python/pyacoustid/pyacoustid-1.3.0-r1.ebuild index f5255c114668..49081d143c89 100644 --- a/dev-python/pyacoustid/pyacoustid-1.3.0-r1.ebuild +++ b/dev-python/pyacoustid/pyacoustid-1.3.0-r1.ebuild @@ -22,7 +22,7 @@ SRC_URI+=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="examples test" # Tests fail with network-sandbox, since they need to connect to acoustid.org PROPERTIES="test_network" diff --git a/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild b/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild index 4454123e7ac3..c82b17950598 100644 --- a/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild +++ b/dev-python/pycryptodome/pycryptodome-3.23.0.ebuild @@ -23,7 +23,7 @@ SRC_URI=" LICENSE="BSD-2 Unlicense" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" DEPEND=" dev-libs/gmp:= diff --git a/dev-python/pyopencl/Manifest b/dev-python/pyopencl/Manifest index 354ea28a50d8..ad3975731b62 100644 --- a/dev-python/pyopencl/Manifest +++ b/dev-python/pyopencl/Manifest @@ -1,2 +1 @@ -DIST pyopencl-2024.2.7.tar.gz 470964 BLAKE2B 6c61d91735667dd63fec0375defe98fb681eb448780f86b0129769d30714adb51832955d8c2e838970f17187e5027f794cd21affc870910d23ec46126049d4ed SHA512 5c9982f5dcaeb3faeb6ac6b88940b5baff43b7580fc5d466a596d9c180e45725cbf9971ba6ae4981202900b06cee3be7fa88fdf7227befee874a8f203a3a3267 DIST pyopencl-2025.1.tar.gz 422510 BLAKE2B 1da270b4eabd3cf1209c97db6383ccd3450601946181386c139ed76b9cee3cccba06d6836b342b902fb227d1ef43f899633fe2037f5744a38b37677ef70ed00c SHA512 bc281c38b977f207a213763aca3c0086430e5a4d8d9018673fb5648e1afc440758ec7ec219544644d596805beaa448b2fa34cd5b4c109a46b3d6e8b7648a931c diff --git a/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch b/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch deleted file mode 100644 index e5816b924773..000000000000 --- a/dev-python/pyopencl/files/pyopencl-2024.2.7-nanobind-flags.patch +++ /dev/null @@ -1,13 +0,0 @@ -nanobind defaults to adding -Os and friends: https://github.com/wjakob/nanobind/blob/b0136fe6ac1967cb2399456adc346a1af06a3b88/docs/api_cmake.rst#L80. ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -167,6 +167,9 @@ find_package(OpenCL REQUIRED) - nanobind_add_module( - _cl - NB_STATIC # Build static libnanobind (the extension module itself remains a shared library) -+ PROTECT_STACK -+ NOMINSIZE -+ NOSTRIP - src/wrap_constants.cpp - src/wrap_cl.cpp - src/wrap_cl_part_1.cpp diff --git a/dev-python/pyopencl/pyopencl-2024.2.7.ebuild b/dev-python/pyopencl/pyopencl-2024.2.7.ebuild deleted file mode 100644 index 6dbeeee75a2b..000000000000 --- a/dev-python/pyopencl/pyopencl-2024.2.7.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=scikit-build-core - -inherit distutils-r1 multiprocessing pypi - -DESCRIPTION="Python wrapper for OpenCL" -HOMEPAGE=" - https://mathema.tician.de/software/pyopencl/ - https://pypi.org/project/pyopencl/ -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv" -IUSE="examples opengl" - -# Running tests on GPUs requires both appropriate hardware and additional permissions -# having been granted to the user running them. Testing on CPUs with dev-libs/pocl -# is in theory possible but has been found to be very fragile, see e.g. Bug #872308. -RESTRICT="test" - -COMMON=">=virtual/opencl-2" -# libglvnd is only needed for the headers -DEPEND=" - ${COMMON} - opengl? ( media-libs/libglvnd ) -" -RDEPEND=" - ${COMMON} - >=dev-python/mako-0.3.6[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.2.0[${PYTHON_USEDEP}] - >=dev-python/pytools-2024.1.5[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/nanobind[${PYTHON_USEDEP}] - test? ( dev-libs/pocl ) -" - -PATCHES=( - "${FILESDIR}"/pyopencl-2024.2.7-nanobind-flags.patch -) - -distutils_enable_tests pytest - -python_configure_all() { - DISTUTILS_ARGS=( - -DPYOPENCL_ENABLE_GL=$(usex opengl) - ) -} - -python_test() { - # Use dev-libs/pocl for testing; ignore any other OpenCL devices that might be present - local -x PYOPENCL_TEST="portable:pthread" - # Set the number of threads to match MAKEOPTS - local -x POCL_MAX_PTHREAD_COUNT=$(makeopts_jobs) - # Change to the 'test' directory so that python does not try to import pyopencl from the source directory - # (Importing from the source directory fails, because the compiled '_cl' module is only in the build directory) - pushd test >/dev/null || die - epytest - popd >/dev/null || die -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} diff --git a/dev-python/pyopencl/pyopencl-2025.1.ebuild b/dev-python/pyopencl/pyopencl-2025.1.ebuild index ddb50025ab5a..70d43e974f57 100644 --- a/dev-python/pyopencl/pyopencl-2025.1.ebuild +++ b/dev-python/pyopencl/pyopencl-2025.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="amd64 ~ppc64 ~riscv" IUSE="examples opengl" # Running tests on GPUs requires both appropriate hardware and additional permissions diff --git a/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild b/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild index 11e89d49062f..88e52ad0aee2 100644 --- a/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild +++ b/dev-python/pyopenssl/pyopenssl-25.1.0.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" <dev-python/cryptography-46[${PYTHON_USEDEP}] diff --git a/dev-python/pypdf/pypdf-5.6.0.ebuild b/dev-python/pypdf/pypdf-5.6.0.ebuild index 7f7c606f0d17..d318e9a36250 100644 --- a/dev-python/pypdf/pypdf-5.6.0.ebuild +++ b/dev-python/pypdf/pypdf-5.6.0.ebuild @@ -25,7 +25,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 arm64 ~ppc64 x86" BDEPEND=" test? ( diff --git a/dev-python/pyqt-builder/pyqt-builder-1.18.2.ebuild b/dev-python/pyqt-builder/pyqt-builder-1.18.2.ebuild index 79890dd9d3f1..c84dfb5b713a 100644 --- a/dev-python/pyqt-builder/pyqt-builder-1.18.2.ebuild +++ b/dev-python/pyqt-builder/pyqt-builder-1.18.2.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/Python-PyQt/PyQt-builder/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/pyqt6-sip/pyqt6-sip-13.10.2.ebuild b/dev-python/pyqt6-sip/pyqt6-sip-13.10.2.ebuild index 5f9d9add6ba6..44147b674004 100644 --- a/dev-python/pyqt6-sip/pyqt6-sip-13.10.2.ebuild +++ b/dev-python/pyqt6-sip/pyqt6-sip-13.10.2.ebuild @@ -14,4 +14,4 @@ HOMEPAGE="https://pypi.org/project/PyQt6-sip/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv x86" diff --git a/dev-python/pyxdg/pyxdg-0.28-r1.ebuild b/dev-python/pyxdg/pyxdg-0.28-r1.ebuild deleted file mode 100644 index 9ce537ed0bb7..000000000000 --- a/dev-python/pyxdg/pyxdg-0.28-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -MY_P="${PN}-rel-${PV}" -DESCRIPTION="A Python module to deal with freedesktop.org specifications" -HOMEPAGE=" - https://freedesktop.org/wiki/Software/pyxdg/ - https://pypi.org/project/pyxdg/ -" -SRC_URI=" - https://github.com/takluyver/pyxdg/archive/rel-${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86" - -PATCHES=( "${FILESDIR}"/${P}-py3.12.patch ) - -distutils_enable_tests pytest diff --git a/dev-python/pyxdg/pyxdg-0.28-r2.ebuild b/dev-python/pyxdg/pyxdg-0.28-r2.ebuild index b9b96bf2f671..cba39bfc7515 100644 --- a/dev-python/pyxdg/pyxdg-0.28-r2.ebuild +++ b/dev-python/pyxdg/pyxdg-0.28-r2.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86" PATCHES=( "${FILESDIR}"/${PN}-0.28-py3.12.patch diff --git a/dev-python/reportlab/reportlab-4.4.1.ebuild b/dev-python/reportlab/reportlab-4.4.1.ebuild index 403335fa7f9b..676bca9d07e2 100644 --- a/dev-python/reportlab/reportlab-4.4.1.ebuild +++ b/dev-python/reportlab/reportlab-4.4.1.ebuild @@ -20,7 +20,7 @@ SRC_URI+=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" RDEPEND=" dev-python/chardet[${PYTHON_USEDEP}] diff --git a/dev-python/rfc3161-client/rfc3161-client-1.0.3.ebuild b/dev-python/rfc3161-client/rfc3161-client-1.0.3.ebuild index 962dbc5ffe5f..2d840d51ec46 100644 --- a/dev-python/rfc3161-client/rfc3161-client-1.0.3.ebuild +++ b/dev-python/rfc3161-client/rfc3161-client-1.0.3.ebuild @@ -98,7 +98,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 " SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" RDEPEND=" >=dev-python/cryptography-43[${PYTHON_USEDEP}] diff --git a/dev-python/rfc8785/rfc8785-0.1.4.ebuild b/dev-python/rfc8785/rfc8785-0.1.4.ebuild index 0f0d58b8b4aa..439594bd98f5 100644 --- a/dev-python/rfc8785/rfc8785-0.1.4.ebuild +++ b/dev-python/rfc8785/rfc8785-0.1.4.ebuild @@ -16,6 +16,6 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/rpds-py/rpds-py-0.25.1.ebuild b/dev-python/rpds-py/rpds-py-0.25.1.ebuild index 1b0802135fc3..19e9c18abfaf 100644 --- a/dev-python/rpds-py/rpds-py-0.25.1.ebuild +++ b/dev-python/rpds-py/rpds-py-0.25.1.ebuild @@ -51,7 +51,7 @@ LICENSE="MIT" # Dependent crate licenses LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT MPL-2.0 Unicode-3.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/rpds/rpds.*.so" diff --git a/dev-python/rpmautospec-core/rpmautospec-core-0.1.5.ebuild b/dev-python/rpmautospec-core/rpmautospec-core-0.1.5.ebuild index 001e30e261c9..c4f5d49b1926 100644 --- a/dev-python/rpmautospec-core/rpmautospec-core-0.1.5.ebuild +++ b/dev-python/rpmautospec-core/rpmautospec-core-0.1.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 pypi diff --git a/dev-python/scikit-build-core/scikit-build-core-0.11.4.ebuild b/dev-python/scikit-build-core/scikit-build-core-0.11.4.ebuild index ce461e9023e9..93c81ff191aa 100644 --- a/dev-python/scikit-build-core/scikit-build-core-0.11.4.ebuild +++ b/dev-python/scikit-build-core/scikit-build-core-0.11.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" # we always want [pyproject] extra RDEPEND=" diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest index e961187ce505..5b8fd7591315 100644 --- a/dev-python/scikit-learn/Manifest +++ b/dev-python/scikit-learn/Manifest @@ -1,3 +1 @@ -DIST scikit-learn-1.6.1.gh.tar.gz 7046495 BLAKE2B 83292549cc12e44033451345fe6deac17fa4f3d013f9755839d4d7f1c7de9690c089a754493d0d3879ef44ed8523400d617fa4d135ce8500dab608552777cdf6 SHA512 ad91d7bd67884851334fed9b0f3b6f3bfacb6b1521b89acbe22e9428a88009579373118bbd3a55358ea60c997e98609062fc4eac8b1def1d0ad18026c0491074 DIST scikit-learn-1.7.0.gh.tar.gz 7155945 BLAKE2B bd95523f81d64c1eca8bb162372344a91331007a0a0c9764d84fd6e92ce5ae4f72f9595598e8ea806b7bcfcff1f97e020bb6976a738fcca8c0f22ae348355207 SHA512 9093af3df99bdb9dc3961e4ba576ec53a2fd27c9a6dbe49b24a9cc9de9ae33536dff7c68c4430ff0c29bd4e0e2ee05f937c94b048a2443aa92c7258a82011fca -DIST scikit-learn-1.7.0rc1.gh.tar.gz 7160017 BLAKE2B 15534eeef26f8f7ee335f14cb193be3742c1fe215093f2852e7ad6a00e23237fae2b6af820632bc07630c51a54f6cc5bdd8e4a7b40834c2b1ddf6b385c55eb06 SHA512 103dda41a312dad7a9586ffcc3d2e95594de566dfa33cce5e06b34b30bd62eceae762af4ecfc5094313a28502db2c22aafd1bd69bffe5347ccb651fa589ebe9d diff --git a/dev-python/scikit-learn/scikit-learn-1.6.1.ebuild b/dev-python/scikit-learn/scikit-learn-1.6.1.ebuild deleted file mode 100644 index a24291d74bdd..000000000000 --- a/dev-python/scikit-learn/scikit-learn-1.6.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 2020-2025 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_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Machine learning library for Python" -HOMEPAGE=" - https://scikit-learn.org/stable/ - https://github.com/scikit-learn/scikit-learn/ - https://pypi.org/project/scikit-learn/ -" -SRC_URI=" - https://github.com/scikit-learn/scikit-learn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" -IUSE="examples" - -DEPEND=" - virtual/blas:= - virtual/cblas:= - >=dev-python/numpy-1.19.5:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} - >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] - >=dev-python/scipy-1.6.0[${PYTHON_USEDEP}] - >=dev-python/threadpoolctl-3.1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] - >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# For some reason this wants to use urllib to fetch things from the internet -# distutils_enable_sphinx doc \ -# dev-python/matplotlib \ -# dev-python/memory-profiler \ -# dev-python/numpydoc \ -# dev-python/pandas \ -# dev-python/pillow \ -# dev-python/seaborn \ -# dev-python/sphinx-gallery \ -# dev-python/sphinx-prompt \ -# dev-python/scikit-image - -python_test() { - local EPYTEST_DESELECT=( - # TODO: floating-point problems - gaussian_process/kernels.py::sklearn.gaussian_process.kernels.ExpSineSquared - # doctest failing on extra shape= in repr, probably numpy version - cluster/_hdbscan/hdbscan.py::sklearn.cluster._hdbscan.hdbscan.HDBSCAN - ) - - case ${ARCH} in - ppc64) - EPYTEST_DESELECT+=( - # TODO - ensemble/_weight_boosting.py::sklearn.ensemble._weight_boosting.AdaBoostRegressor - ) - esac - - rm -rf sklearn || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --pyargs sklearn -} - -python_install_all() { - find "${S}" -name \*LICENSE.txt -delete || die - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/scikit-learn/scikit-learn-1.7.0.ebuild b/dev-python/scikit-learn/scikit-learn-1.7.0.ebuild index 43f10c5f3cf8..2fb07901734c 100644 --- a/dev-python/scikit-learn/scikit-learn-1.7.0.ebuild +++ b/dev-python/scikit-learn/scikit-learn-1.7.0.ebuild @@ -23,7 +23,7 @@ S=${WORKDIR}/${P/_} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm64 ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" IUSE="examples" DEPEND=" diff --git a/dev-python/scikit-learn/scikit-learn-1.7.0_rc1.ebuild b/dev-python/scikit-learn/scikit-learn-1.7.0_rc1.ebuild deleted file mode 100644 index 971476d364fa..000000000000 --- a/dev-python/scikit-learn/scikit-learn-1.7.0_rc1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 2020-2025 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_{9,10,11,12,13} ) - -inherit distutils-r1 - -DESCRIPTION="Machine learning library for Python" -HOMEPAGE=" - https://scikit-learn.org/stable/ - https://github.com/scikit-learn/scikit-learn/ - https://pypi.org/project/scikit-learn/ -" -SRC_URI=" - https://github.com/scikit-learn/scikit-learn/archive/${PV/_}.tar.gz - -> ${P/_}.gh.tar.gz -" -S=${WORKDIR}/${P/_} - -LICENSE="BSD" -SLOT="0" -IUSE="examples" - -DEPEND=" - virtual/blas:= - virtual/cblas:= - >=dev-python/numpy-1.22.0:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} - >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] - >=dev-python/scipy-1.8.0[${PYTHON_USEDEP}] - >=dev-python/threadpoolctl-3.1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] - >=dev-python/cython-3.0.10[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# For some reason this wants to use urllib to fetch things from the internet -# distutils_enable_sphinx doc \ -# dev-python/matplotlib \ -# dev-python/memory-profiler \ -# dev-python/numpydoc \ -# dev-python/pandas \ -# dev-python/pillow \ -# dev-python/seaborn \ -# dev-python/sphinx-gallery \ -# dev-python/sphinx-prompt \ -# dev-python/scikit-image - -python_test() { - local EPYTEST_DESELECT=( - # TODO: floating-point problems - gaussian_process/kernels.py::sklearn.gaussian_process.kernels.ExpSineSquared - ) - - case ${ARCH} in - ppc64) - EPYTEST_DESELECT+=( - # TODO - ensemble/_weight_boosting.py::sklearn.ensemble._weight_boosting.AdaBoostRegressor - ) - esac - - rm -rf sklearn || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --pyargs sklearn -} - -python_install_all() { - find "${S}" -name \*LICENSE.txt -delete || die - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/securesystemslib/securesystemslib-1.3.0.ebuild b/dev-python/securesystemslib/securesystemslib-1.3.0.ebuild index d2d53ec0c363..e99c968d29f6 100644 --- a/dev-python/securesystemslib/securesystemslib-1.3.0.ebuild +++ b/dev-python/securesystemslib/securesystemslib-1.3.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" RDEPEND=" >=dev-python/cryptography-40.0.0[${PYTHON_USEDEP}] diff --git a/dev-python/seedir/Manifest b/dev-python/seedir/Manifest index f83c886053c4..423f9ad4e267 100644 --- a/dev-python/seedir/Manifest +++ b/dev-python/seedir/Manifest @@ -1,2 +1 @@ -DIST seedir-0.5.0.gh.tar.gz 3099344 BLAKE2B 27ee50e6dfd91a67bb80452b3065c4183341933ef09de4ec298490264bb66601146a50a0b7550ef37bb332acdee1f2e45c31b8eca6e33f4f7e59b9d8f127f565 SHA512 e6c257787e65c24697e76f75308dc5e8c2f919205a4922aa1bb66673000e2c784959ebe45a7ccd826d3ee1fea03fe0a6a64f6c90321c76d1e36ab68ba3962361 DIST seedir-0.5.1.gh.tar.gz 3103982 BLAKE2B bfdc149ebba6d9fa86ec295de92ae6a77664d35ed4db7f1b3fb1fac250f23a238adfaf3e6419973fee93964bc1a252bdd691eaa5c2ec34e3b74f3dc22e2ef9db SHA512 279b5480bf66b19449a60a5b6240e0bf34d94383b184495486acd1f4ab55303158f652c8fc88d373e9cec0522aa35e83c40a13df83f372556c8873ac220e6fe2 diff --git a/dev-python/seedir/seedir-0.5.0.ebuild b/dev-python/seedir/seedir-0.5.0.ebuild deleted file mode 100644 index 32c154869e33..000000000000 --- a/dev-python/seedir/seedir-0.5.0.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2022-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 ) - -inherit distutils-r1 - -DESCRIPTION="Package for creating, editing, and reading folder tree diagrams" -HOMEPAGE=" - https://github.com/earnestt1234/seedir/ - https://pypi.org/project/seedir/ -" -SRC_URI=" - https://github.com/earnestt1234/seedir/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - dev-python/natsort[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/seedir/seedir-0.5.1.ebuild b/dev-python/seedir/seedir-0.5.1.ebuild index b7ae7fbc2d48..32c154869e33 100644 --- a/dev-python/seedir/seedir-0.5.1.ebuild +++ b/dev-python/seedir/seedir-0.5.1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86" RDEPEND=" dev-python/natsort[${PYTHON_USEDEP}] diff --git a/dev-python/selenium/selenium-4.33.0-r1.ebuild b/dev-python/selenium/selenium-4.33.0-r1.ebuild index 8c347029916e..57620e92c4ee 100644 --- a/dev-python/selenium/selenium-4.33.0-r1.ebuild +++ b/dev-python/selenium/selenium-4.33.0-r1.ebuild @@ -29,7 +29,7 @@ SRC_URI+=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="test test-rust" RESTRICT="!test? ( test )" diff --git a/dev-python/sip/sip-6.12.0.ebuild b/dev-python/sip/sip-6.12.0.ebuild index 8abc7ce9ef41..bb8daacbe818 100644 --- a/dev-python/sip/sip-6.12.0.ebuild +++ b/dev-python/sip/sip-6.12.0.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD-2 BSD" SLOT="5" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] diff --git a/dev-python/structlog/structlog-25.4.0.ebuild b/dev-python/structlog/structlog-25.4.0.ebuild index ee3aefbb91b1..d769f9aaed18 100644 --- a/dev-python/structlog/structlog-25.4.0.ebuild +++ b/dev-python/structlog/structlog-25.4.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND=" dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index ff95e1151ea4..08594ce1f3c1 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1,2 +1 @@ -DIST tomlkit-0.13.2.tar.gz 192885 BLAKE2B c95d24e0ec61cb90dfdd3fe7a07f8187fdfdee1b60d6d3e5a1af08e6d319e24c2447107cd3e49455a3f1cd29a50bde2e09f3a57708ce7349d1e9bd6957e46c9d SHA512 65b45468de25a6b9f22c3fe3468301902e1e439de580e74f15f5a24985546a4bfe47642b6014a25590eb176fedbe468828d7bc84c9c3b65ab418c071f0902957 DIST tomlkit-0.13.3.tar.gz 185207 BLAKE2B e4248dd22357295b4315abb28abb1e2949499fcc2f451058205876ffd67b4f45e0a773de9f73f07ec3a44dd8d066d7ee6bb2ea9d2067db2b76adba9b5391982b SHA512 bdb679d64ad09f89b8ae8c6b8406d24b805562e4d80a1a0644a533b15eafe8bf5b3451754d71d453ca581d43bcc598473499dab29176d52b2ff0589ff59bbec9 diff --git a/dev-python/tomlkit/tomlkit-0.13.2.ebuild b/dev-python/tomlkit/tomlkit-0.13.2.ebuild deleted file mode 100644 index 0dab9f8f5aa6..000000000000 --- a/dev-python/tomlkit/tomlkit-0.13.2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# 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="Style preserving TOML library" -HOMEPAGE=" - https://github.com/python-poetry/tomlkit/ - https://pypi.org/project/tomlkit/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -BDEPEND=" - test? ( - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "poetry' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "tomlkit" - version = "${PV}" - description = "Style preserving TOML library" - EOF -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/tomlkit/tomlkit-0.13.3.ebuild b/dev-python/tomlkit/tomlkit-0.13.3.ebuild index 5aa2fb057ade..caa53d3122e0 100644 --- a/dev-python/tomlkit/tomlkit-0.13.3.ebuild +++ b/dev-python/tomlkit/tomlkit-0.13.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest index 589ccefe0388..de81bfc9a4a3 100644 --- a/dev-python/treq/Manifest +++ b/dev-python/treq/Manifest @@ -1,2 +1 @@ -DIST treq-24.9.1.tar.gz 85614 BLAKE2B cce700ae1f18b7e97953c45cb835786655caf47a0e425944e58f94c76a33c5948920c38f89283f50b51624f365326045d6ebb163c86644069f5bf548e137b9c0 SHA512 b8ed6ed5262073559babe8d0413a1f5369215a41ac7459441172a9086c654cf1dc7e51a0497d4c714726ae02d2163760cddde7008e360f37ebb4586b82409bb8 DIST treq-25.5.0.tar.gz 83588 BLAKE2B 671e3e1f79f76abd1bda8b7826500bfc18c2d0bb192c668667f138fc123b178dcaee33e99e29f0ef437cbcaf12b511d54641b6300e6f068e85850a178dcf6617 SHA512 59fb457c2b4bc60ffa6fc0649c55fedcf4c64fdc43d7ea5c74241ab8e7a8afc23f878138dea249890e64ac0ba33959e8de443decb6ac388a976d8d4dabf64086 diff --git a/dev-python/treq/treq-24.9.1-r1.ebuild b/dev-python/treq/treq-24.9.1-r1.ebuild deleted file mode 100644 index 51f4afa444bd..000000000000 --- a/dev-python/treq/treq-24.9.1-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# 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_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A requests-like API built on top of twisted.web's Agent" -HOMEPAGE=" - https://github.com/twisted/treq/ - https://pypi.org/project/treq/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/hyperlink-21.0.0[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/multipart[${PYTHON_USEDEP}] - >=dev-python/requests-2.1.0[${PYTHON_USEDEP}] - >=dev-python/twisted-18.7.0[ssl(-),${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/incremental[${PYTHON_USEDEP}] - test? ( - dev-python/httpbin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_sphinx docs - -src_prepare() { - distutils-r1_src_prepare - - # fix relative path for docs generation - sed -e 's@("..")@("../src")@' -i docs/conf.py || die - - # unbundle multipart - rm src/treq/_multipart.py || die - find -name '*.py' -exec \ - sed -i -e 's:from [.]\+_multipart:from multipart:' {} + || die -} - -python_test() { - "${EPYTHON}" -m twisted.trial treq || die "Tests failed with ${EPYTHON}" -} diff --git a/dev-python/treq/treq-25.5.0.ebuild b/dev-python/treq/treq-25.5.0.ebuild index a13d435d0958..e0238a3b16b2 100644 --- a/dev-python/treq/treq-25.5.0.ebuild +++ b/dev-python/treq/treq-25.5.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 14b1a012eb2f..ab2a71455af0 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -1,3 +1,2 @@ -DIST trimesh-4.6.10.gh.tar.gz 13636665 BLAKE2B 1362e7db082cd107d801314ece352f61beb704f3b53f0a33daf2b3ebb86cf670209769504e4dcc5f258d80fb7da3a6b20509589e2d7a8ff83b9f892c9ddc0193 SHA512 27e3bdc32a5ff9fe2c9a0b989487815817811db196d1be6d6356a25a23ae39cf13a069318146dfb2c722ac175beeb68b69a12dfcea3689b70f6e376f5ecfd608 DIST trimesh-4.6.11.gh.tar.gz 13637301 BLAKE2B fc672641ec363794ff90aa1daaa4711838917395771de55376981af1a2bab1dcb58e8240fd23d9c6d17187ed952994927b4896792a0cf1d632eaf88d0ca3808c SHA512 7c1039a845a461b450d5dda54da287a7f35e8ffbe544ee4e920dcb7053a30791796f239d00337f1cb443c3df610bdc2faa6a93e7240c2c494ab6c6ef9d563b96 DIST trimesh-4.6.12.gh.tar.gz 13637824 BLAKE2B f1dbc1c7963284d4560847872290d09096673cccefce62758bbea9d055c933aff15eced6a279fba88a8b0489a16df6c9e7211a7977488eb719696d465a6ca8f5 SHA512 01f4f0d3b8b1c7621dc19f2e541d68337298133d331b5950a786a0e07bf0fbbeb10777887ce6b49134c670e3d1bd56fcdbc1f08e7d1eb79527e91b6e9b5b01d9 diff --git a/dev-python/trimesh/trimesh-4.6.10.ebuild b/dev-python/trimesh/trimesh-4.6.10.ebuild deleted file mode 100644 index 71f4a8bbad96..000000000000 --- a/dev-python/trimesh/trimesh-4.6.10.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# 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} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Python library for loading and using triangular meshes" -HOMEPAGE=" - https://trimesh.org/ - https://github.com/mikedh/trimesh/ - https://pypi.org/project/trimesh/ -" -SRC_URI=" - https://github.com/mikedh/${PN}/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm64 ~x86" - -RDEPEND=" - dev-python/charset-normalizer[${PYTHON_USEDEP}] - dev-python/colorlog[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/jsonschema[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/networkx[${PYTHON_USEDEP}] - >=dev-python/numpy-1.20[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pycollada[${PYTHON_USEDEP}] - dev-python/pyglet[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] - dev-python/svg-path[${PYTHON_USEDEP}] - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/xxhash[${PYTHON_USEDEP}] - dev-python/rtree[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mapbox-earcut[${PYTHON_USEDEP}] - dev-python/pillow[webp,${PYTHON_USEDEP}] - ) -" - -EPYTEST_TIMEOUT=1800 -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # requires manifold3d - tests/test_boolean.py::test_multiple_difference - # timing nonsense - tests/test_bounds.py::BoundsTest::test_obb_mesh_large - ) - local EPYTEST_IGNORE=( - # require pyinstrument - tests/test_sweep.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} - -pkg_postinst() { - optfeature_header "${PN} functionality can be extended by installing the following packages:" - optfeature "making GUI applications with 3D stuff" dev-python/glooey - optfeature "2D triangulations of polygons" dev-python/mapbox-earcut - optfeature "loading a number of additional mesh formats" dev-python/meshio - optfeature "figuring out how much memory we have" dev-python/psutil - optfeature "marching cubes and other nice stuff" dev-python/scikit-image -} diff --git a/dev-python/trimesh/trimesh-4.6.11.ebuild b/dev-python/trimesh/trimesh-4.6.11.ebuild index 9a55e3b051f5..71f4a8bbad96 100644 --- a/dev-python/trimesh/trimesh-4.6.11.ebuild +++ b/dev-python/trimesh/trimesh-4.6.11.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 ~x86" RDEPEND=" dev-python/charset-normalizer[${PYTHON_USEDEP}] diff --git a/dev-python/tuf/tuf-6.0.0.ebuild b/dev-python/tuf/tuf-6.0.0.ebuild index 6d1cdaa1ec6f..8817c161bcac 100644 --- a/dev-python/tuf/tuf-6.0.0.ebuild +++ b/dev-python/tuf/tuf-6.0.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" RDEPEND=" <dev-python/urllib3-3[${PYTHON_USEDEP}] diff --git a/dev-python/typer/Manifest b/dev-python/typer/Manifest index 230682e9b5ae..414effc0be07 100644 --- a/dev-python/typer/Manifest +++ b/dev-python/typer/Manifest @@ -1 +1 @@ -DIST typer-0.15.3.tar.gz 101641 BLAKE2B c400974553ecaa1aa8ebeacc0042b50b5c7805dadbeca33225d9bedff415b10ce644b384fc699660a34f1d3a5049ceff67e682a5e7fb5910d7b264b49ce0e4ef SHA512 0562b8305bb8d494112919962aa74ca750ecdef2f70c0fd1f956101d2b81c28e9f31b94c8258eaa7f3cf7c3f685e48c86d8469a63c9d0e65eb1b49d79e6220c6 +DIST typer-0.16.0.tar.gz 102625 BLAKE2B 9d9974af18697bdfac6954d596537178d5bc5ee8fd2e812561f5d282d02816d945a37c2dc60b90711ff9abe8c5df5d08b08cc321854d2bf75fd3567e5d4ce3d5 SHA512 72ed9d0996ee4a96dffd866332916c705a2f5c11547248039c828b5180193e8ef9aed0789605703c9f7350f3f9d91049cec4b185dcbc1e8fb662b6dc7385f01e diff --git a/dev-python/typer/metadata.xml b/dev-python/typer/metadata.xml index 8a81ebe4b659..af170d60a2dc 100644 --- a/dev-python/typer/metadata.xml +++ b/dev-python/typer/metadata.xml @@ -9,10 +9,18 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> <use> - <flag name="rich">Rich text output via <pkg>dev-python/rich</pkg></flag> - <flag name="shell-detection">detect current shell with <pkg>dev-python/shellingham</pkg> for completions</flag> + <flag name="cli"> + Install "typer" entry point (conflicts with dev-lang/erlang). + Even with the flag disabled, the CLI can still be used + via "python -m typer". + </flag> </use> - <origin>gentoo-guru-overlay</origin> + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/typer/typer-0.15.3.ebuild b/dev-python/typer/typer-0.15.3.ebuild deleted file mode 100644 index c6921119791c..000000000000 --- a/dev-python/typer/typer-0.15.3.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -DISTUTILS_USE_PEP517=pdm-backend - -inherit distutils-r1 shell-completion pypi - -DESCRIPTION="Build great CLIs. Easy to code. Based on Python type hints." -HOMEPAGE=" - https://typer.tiangolo.com/ - https://github.com/tiangolo/typer - https://pypi.org/project/typer/ -" -SRC_URI="$(pypi_sdist_url "${PN}" "${PV}")" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -IUSE="+rich shell-detection test" - -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/shellingham[${PYTHON_USEDEP}] - ') - ) -" -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/click[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - rich? ( dev-python/rich[${PYTHON_USEDEP}] ) - shell-detection? ( dev-python/shellingham[${PYTHON_USEDEP}] ) - ') -" - -distutils_enable_tests pytest - -src_test() { - export TERMINAL_WIDTH=3000 - export _TYPER_FORCE_DISABLE_TERMINAL=1 - - distutils-r1_src_test "${@}" -} - -src_compile() { - distutils-r1_src_compile "${@}" - - local shell - for shell in bash zsh fish; do - typer_gencomp ${shell} - done -} - -typer_get_comp() { - local COMPLETIONSDIR="${WORKDIR}/comp" - local shell="$1" - - case "${shell}" in - bash) echo "${COMPLETIONSDIR}/${PN}" ;; - zsh) echo "${COMPLETIONSDIR}/_${PN}" ;; - fish) echo "${COMPLETIONSDIR}/${PN}.fish" ;; - *) die "unknown shell: ${shell}" ;; - esac -} - -typer_gencomp() { - local COMPLETIONSDIR="${WORKDIR}/comp" - mkdir "${COMPLETIONSDIR}" 2> /dev/null - local shell="$1" - - compfile="$(typer_get_comp "${@}")" - - _TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION=1 python -m typer --show-completion "${shell}" | - sed 's/python -m //g ; s/_PYTHON _M //g ; s/python_m//g ; s/TYPER_COMPLETE/_TYPER_COMPLETE/' > "${compfile}" || - die "failed to generate ${shell} completion" - - einfo "generated completion script for ${shell}: ${compfile}" -} - -src_install() { - distutils-r1_src_install "${@}" - - dobashcomp "$(typer_get_comp bash)" - dozshcomp "$(typer_get_comp zsh)" - dofishcomp "$(typer_get_comp fish)" -} diff --git a/dev-python/typer/typer-0.16.0.ebuild b/dev-python/typer/typer-0.16.0.ebuild new file mode 100644 index 000000000000..478a50bcc17c --- /dev/null +++ b/dev-python/typer/typer-0.16.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 shell-completion pypi + +DESCRIPTION="Build great CLIs. Easy to code. Based on Python type hints" +HOMEPAGE=" + https://typer.tiangolo.com/ + https://github.com/fastapi/typer/ + https://pypi.org/project/typer/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="cli" + +RDEPEND=" + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/rich-10.11.0[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.3.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4.3[${PYTHON_USEDEP}] + cli? ( !dev-lang/erlang ) +" +BDEPEND=" + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + if ! use cli; then + sed -i -e '/typer\.cli/d' pyproject.toml || die + fi +} + +python_test() { + # See scripts/tests.sh + local -x TERMINAL_WIDTH=3000 + local -x _TYPER_FORCE_DISABLE_TERMINAL=1 + local -x _TYPER_RUN_INSTALL_COMPLETION_TESTS=1 + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +python_install() { + if use cli && [[ ! ${COMPLETIONS_INSTALLED} ]]; then + local -x _TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION=1 + newbashcomp - typer < <(typer --show-completion bash || die) + newzshcomp - typer < <(typer --show-completion zsh || die) + newfishcomp - typer < <(typer --show-completion fish || die) + COMPLETIONS_INSTALLED=1 + fi + + distutils-r1_python_install +} diff --git a/dev-python/types-docutils/Manifest b/dev-python/types-docutils/Manifest index af5b5dbf19bb..e38a43861c2a 100644 --- a/dev-python/types-docutils/Manifest +++ b/dev-python/types-docutils/Manifest @@ -1,2 +1 @@ -DIST types_docutils-0.21.0.20250526.tar.gz 38140 BLAKE2B 33a226242e97e9c89db972fc82c664a322deb6b0d1853c5942ba993a4f27d2c193e5456293330abc9d2b98ad60fb094c0972f875d17253329ef8a50b6a5ad2cd SHA512 3945615dc897ba657fb8cba4d8682ad0eeb3617aae4ff62e8f9e4b90ebc30136c4e1abe87c8f5c10a9ec60484d86e9cb5b79510117bbe424ff8f0879313a6561 DIST types_docutils-0.21.0.20250604.tar.gz 40953 BLAKE2B 35ca47bb71ece85f2786396d224835f74592ec2e7278f6c0459bea8451a4ee7c9299be1fcaa2a8d41a6c0d8a1abacbb72403611069ef24df9940330682c01103 SHA512 84ee5f87686bc75e0e41437b05a23932de4e92a179bc19763bb6cc823b31e8055f143e27d74fd77d1752b945d56db0979ab9a418f8edf63aeb195b621620c0ba diff --git a/dev-python/types-docutils/types-docutils-0.21.0.20250526.ebuild b/dev-python/types-docutils/types-docutils-0.21.0.20250526.ebuild deleted file mode 100644 index 29b3eac5da76..000000000000 --- a/dev-python/types-docutils/types-docutils-0.21.0.20250526.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for docutils" -HOMEPAGE="https://pypi.org/project/types-docutils/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" diff --git a/dev-python/types-docutils/types-docutils-0.21.0.20250604.ebuild b/dev-python/types-docutils/types-docutils-0.21.0.20250604.ebuild index 9fdbbf2b35dd..29b3eac5da76 100644 --- a/dev-python/types-docutils/types-docutils-0.21.0.20250604.ebuild +++ b/dev-python/types-docutils/types-docutils-0.21.0.20250604.ebuild @@ -13,4 +13,4 @@ HOMEPAGE="https://pypi.org/project/types-docutils/" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 x86" diff --git a/dev-python/types-psutil/Manifest b/dev-python/types-psutil/Manifest index 15da1d8398b3..009a56fd9b99 100644 --- a/dev-python/types-psutil/Manifest +++ b/dev-python/types-psutil/Manifest @@ -1,2 +1 @@ -DIST types_psutil-7.0.0.20250516.tar.gz 20271 BLAKE2B 67993809d6f3fef5ad81d75e6c64467ba3481baecba2ce7d5747257fbb4f5272b9e53931d8942fd721b5a524d3989b7756441ad0f2dc1c57565a28bb922c6ee6 SHA512 5c9943cd6597d118ced72fcd4f18ae4dc903ae82e8721de1b1b363300f437bcb130d4c30bae1f26b4fab9016fa9dc868bfd93a5b3c5a2bfcf9309a8f9df326eb DIST types_psutil-7.0.0.20250601.tar.gz 20297 BLAKE2B 5be04bb1399bc30ad93083e9bb539b7f53fa7ca0aaa743c19ad364256389d2e5e3e2eb9fedea00ae24e9465abbd9eba761ef81c4eda2bd8d0c3b55c78bcf970b SHA512 212270e73b30f1862e1a014581688d0478df792064d44dd18426b317c695496cd247913c10144bd45bdb3b37704e135cfe84f99616e9f14fb60990e26e06e2ed diff --git a/dev-python/types-psutil/types-psutil-7.0.0.20250516.ebuild b/dev-python/types-psutil/types-psutil-7.0.0.20250516.ebuild deleted file mode 100644 index 7cc0c410d9fc..000000000000 --- a/dev-python/types-psutil/types-psutil-7.0.0.20250516.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for psutil" -HOMEPAGE="https://pypi.org/project/types-psutil/" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/types-psutil/types-psutil-7.0.0.20250601.ebuild b/dev-python/types-psutil/types-psutil-7.0.0.20250601.ebuild index da0f9d713bcd..7cc0c410d9fc 100644 --- a/dev-python/types-psutil/types-psutil-7.0.0.20250601.ebuild +++ b/dev-python/types-psutil/types-psutil-7.0.0.20250601.ebuild @@ -13,4 +13,4 @@ HOMEPAGE="https://pypi.org/project/types-psutil/" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" diff --git a/dev-python/typing-extensions/Manifest b/dev-python/typing-extensions/Manifest index efb5a12e1e19..39350d146c0a 100644 --- a/dev-python/typing-extensions/Manifest +++ b/dev-python/typing-extensions/Manifest @@ -1,3 +1 @@ -DIST typing_extensions-4.13.2.tar.gz 106967 BLAKE2B 6a0dfd0cb94f8411342f547f2b209a3c8afd32c818ec837c9ce63191392ba5f89c31279f35d7ca8c0a2f2cda99ea23084c3fad4bc3787f20e31741665e174645 SHA512 2cd798939362ee0d7ddbffe69b1d0fdd72b9574c1bd7300caee73d36c457ea64ea635c87ecc6188db9ffaaca272b1c8dd978a42c591ae0dfdca5632317ddb18c DIST typing_extensions-4.14.0.tar.gz 107423 BLAKE2B dc5035fd1e7029b50ca92f286ca01839e722279e7a0d4325f1217b2546ebb4b01dcba36cb364d50c71f176b9a8ab42b55f29fef87f5856b5d215b39006e35bae SHA512 69cc6588c22744758461bc752ad983111a55e256fbe29250f36077b349b8266b12920897fe70d48d7994db644737dc1e6f74626e22d972aef7a1c3f4204779eb -DIST typing_extensions-4.14.0rc1.tar.gz 107459 BLAKE2B 5be5ca9f8e29f26f0cf61d7125caaab830d70e13199f1b0407d04eef18587e144737553cf6ed750f31188723821743d80b16b91c93cd4a4714402e1e1ac3df57 SHA512 0c37102ca65695dd71431aac63457f76c09bb974e32fb8e22cc54e386c6307701a3e58fc21cd2883409a2c6ea6eae337c5184030eda7c5f3580c721ac681ad32 diff --git a/dev-python/typing-extensions/files/typing-extensions-4.13.2-py314.patch b/dev-python/typing-extensions/files/typing-extensions-4.13.2-py314.patch deleted file mode 100644 index d1086c2c3590..000000000000 --- a/dev-python/typing-extensions/files/typing-extensions-4.13.2-py314.patch +++ /dev/null @@ -1,422 +0,0 @@ -From 2354c1a8d21cf8f6d6f6a9d54bb3a69b5908e035 Mon Sep 17 00:00:00 2001 -From: Jelle Zijlstra <jelle.zijlstra@gmail.com> -Date: Fri, 2 May 2025 19:45:27 -0700 -Subject: [PATCH 1/2] Fix test failures on Python 3.14 (#566) - ---- - src/test_typing_extensions.py | 40 ++++++++++++++++++++++++----------- - src/typing_extensions.py | 9 ++++++-- - 2 files changed, 35 insertions(+), 14 deletions(-) - -diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py -index 584b0fa..7b08f72 100644 ---- a/src/test_typing_extensions.py -+++ b/src/test_typing_extensions.py -@@ -901,10 +901,12 @@ class Cls: - - class DeprecatedCoroTests(BaseTestCase): - def test_asyncio_iscoroutinefunction(self): -- self.assertFalse(asyncio.coroutines.iscoroutinefunction(func)) -- self.assertFalse(asyncio.coroutines.iscoroutinefunction(Cls.func)) -- self.assertTrue(asyncio.coroutines.iscoroutinefunction(coro)) -- self.assertTrue(asyncio.coroutines.iscoroutinefunction(Cls.coro)) -+ with warnings.catch_warnings(): -+ warnings.simplefilter("ignore", DeprecationWarning) -+ self.assertFalse(asyncio.coroutines.iscoroutinefunction(func)) -+ self.assertFalse(asyncio.coroutines.iscoroutinefunction(Cls.func)) -+ self.assertTrue(asyncio.coroutines.iscoroutinefunction(coro)) -+ self.assertTrue(asyncio.coroutines.iscoroutinefunction(Cls.coro)) - - @skipUnless(TYPING_3_12_ONLY or TYPING_3_13_0_RC, "inspect.iscoroutinefunction works differently on Python < 3.12") - def test_inspect_iscoroutinefunction(self): -@@ -7228,7 +7230,7 @@ class TypeVarTests(BaseTestCase): - - def test_bound_errors(self): - with self.assertRaises(TypeError): -- TypeVar('X', bound=Union) -+ TypeVar('X', bound=Optional) - with self.assertRaises(TypeError): - TypeVar('X', str, float, bound=Employee) - with self.assertRaisesRegex(TypeError, -@@ -8213,19 +8215,26 @@ class TestGetAnnotations(BaseTestCase): - get_annotations(f2, format=Format.FORWARDREF), - {"a": "undefined"}, - ) -- self.assertEqual(get_annotations(f2, format=2), {"a": "undefined"}) -+ # Test that the raw int also works -+ self.assertEqual( -+ get_annotations(f2, format=Format.FORWARDREF.value), -+ {"a": "undefined"}, -+ ) - - self.assertEqual( - get_annotations(f1, format=Format.STRING), - {"a": "int"}, - ) -- self.assertEqual(get_annotations(f1, format=3), {"a": "int"}) -+ self.assertEqual( -+ get_annotations(f1, format=Format.STRING.value), -+ {"a": "int"}, -+ ) - - with self.assertRaises(ValueError): - get_annotations(f1, format=0) - - with self.assertRaises(ValueError): -- get_annotations(f1, format=4) -+ get_annotations(f1, format=42) - - def test_custom_object_with_annotations(self): - class C: -@@ -8264,10 +8273,17 @@ class TestGetAnnotations(BaseTestCase): - foo.__annotations__ = {"a": "foo", "b": "str"} - for format in Format: - with self.subTest(format=format): -- self.assertEqual( -- get_annotations(foo, format=format), -- {"a": "foo", "b": "str"}, -- ) -+ if format is Format.VALUE_WITH_FAKE_GLOBALS: -+ with self.assertRaisesRegex( -+ ValueError, -+ "The VALUE_WITH_FAKE_GLOBALS format is for internal use only" -+ ): -+ get_annotations(foo, format=format) -+ else: -+ self.assertEqual( -+ get_annotations(foo, format=format), -+ {"a": "foo", "b": "str"}, -+ ) - - self.assertEqual( - get_annotations(foo, eval_str=True, locals=locals()), -diff --git a/src/typing_extensions.py b/src/typing_extensions.py -index fa89c83..d089d5e 100644 ---- a/src/typing_extensions.py -+++ b/src/typing_extensions.py -@@ -4153,8 +4153,9 @@ _PEP_649_OR_749_IMPLEMENTED = ( - - class Format(enum.IntEnum): - VALUE = 1 -- FORWARDREF = 2 -- STRING = 3 -+ VALUE_WITH_FAKE_GLOBALS = 2 -+ FORWARDREF = 3 -+ STRING = 4 - - - if _PEP_649_OR_749_IMPLEMENTED: -@@ -4198,6 +4199,10 @@ else: - - """ - format = Format(format) -+ if format is Format.VALUE_WITH_FAKE_GLOBALS: -+ raise ValueError( -+ "The VALUE_WITH_FAKE_GLOBALS format is for internal use only" -+ ) - - if eval_str and format is not Format.VALUE: - raise ValueError("eval_str=True is only supported with format=Format.VALUE") -From 62740a52eca38414efc9ce01b361ab45eae7c38e Mon Sep 17 00:00:00 2001 -From: Jelle Zijlstra <jelle.zijlstra@gmail.com> -Date: Mon, 5 May 2025 09:50:14 -0700 -Subject: [PATCH 2/2] Fix tests on Python 3.14 (#592) - ---- - src/test_typing_extensions.py | 117 ++++++++++++++++++++++++++++++---- - src/typing_extensions.py | 67 +++++++++++++++---- - 2 files changed, 161 insertions(+), 23 deletions(-) - -diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py -index 7b08f72..9742b98 100644 ---- a/src/test_typing_extensions.py -+++ b/src/test_typing_extensions.py -@@ -440,6 +440,48 @@ class BaseTestCase(TestCase): - raise self.failureException(message) - - -+class EqualToForwardRef: -+ """Helper to ease use of annotationlib.ForwardRef in tests. -+ -+ This checks only attributes that can be set using the constructor. -+ -+ """ -+ -+ def __init__( -+ self, -+ arg, -+ *, -+ module=None, -+ owner=None, -+ is_class=False, -+ ): -+ self.__forward_arg__ = arg -+ self.__forward_is_class__ = is_class -+ self.__forward_module__ = module -+ self.__owner__ = owner -+ -+ def __eq__(self, other): -+ if not isinstance(other, (EqualToForwardRef, typing.ForwardRef)): -+ return NotImplemented -+ if sys.version_info >= (3, 14) and self.__owner__ != other.__owner__: -+ return False -+ return ( -+ self.__forward_arg__ == other.__forward_arg__ -+ and self.__forward_module__ == other.__forward_module__ -+ and self.__forward_is_class__ == other.__forward_is_class__ -+ ) -+ -+ def __repr__(self): -+ extra = [] -+ if self.__forward_module__ is not None: -+ extra.append(f", module={self.__forward_module__!r}") -+ if self.__forward_is_class__: -+ extra.append(", is_class=True") -+ if sys.version_info >= (3, 14) and self.__owner__ is not None: -+ extra.append(f", owner={self.__owner__!r}") -+ return f"EqualToForwardRef({self.__forward_arg__!r}{''.join(extra)})" -+ -+ - class Employee: - pass - -@@ -5075,6 +5117,64 @@ class TypedDictTests(BaseTestCase): - x: str - - -+ def test_annotations(self): -+ # _type_check is applied -+ with self.assertRaisesRegex(TypeError, "Plain typing.Optional is not valid as type argument"): -+ class X(TypedDict): -+ a: Optional -+ -+ # _type_convert is applied -+ class Y(TypedDict): -+ a: None -+ b: "int" -+ if sys.version_info >= (3, 14): -+ import annotationlib -+ -+ fwdref = EqualToForwardRef('int', module=__name__) -+ self.assertEqual(Y.__annotations__, {'a': type(None), 'b': fwdref}) -+ self.assertEqual(Y.__annotate__(annotationlib.Format.FORWARDREF), {'a': type(None), 'b': fwdref}) -+ else: -+ self.assertEqual(Y.__annotations__, {'a': type(None), 'b': typing.ForwardRef('int', module=__name__)}) -+ -+ @skipUnless(TYPING_3_14_0, "Only supported on 3.14") -+ def test_delayed_type_check(self): -+ # _type_check is also applied later -+ class Z(TypedDict): -+ a: undefined # noqa: F821 -+ -+ with self.assertRaises(NameError): -+ Z.__annotations__ -+ -+ undefined = Final -+ with self.assertRaisesRegex(TypeError, "Plain typing.Final is not valid as type argument"): -+ Z.__annotations__ -+ -+ undefined = None # noqa: F841 -+ self.assertEqual(Z.__annotations__, {'a': type(None)}) -+ -+ @skipUnless(TYPING_3_14_0, "Only supported on 3.14") -+ def test_deferred_evaluation(self): -+ class A(TypedDict): -+ x: NotRequired[undefined] # noqa: F821 -+ y: ReadOnly[undefined] # noqa: F821 -+ z: Required[undefined] # noqa: F821 -+ -+ self.assertEqual(A.__required_keys__, frozenset({'y', 'z'})) -+ self.assertEqual(A.__optional_keys__, frozenset({'x'})) -+ self.assertEqual(A.__readonly_keys__, frozenset({'y'})) -+ self.assertEqual(A.__mutable_keys__, frozenset({'x', 'z'})) -+ -+ with self.assertRaises(NameError): -+ A.__annotations__ -+ -+ import annotationlib -+ self.assertEqual( -+ A.__annotate__(annotationlib.Format.STRING), -+ {'x': 'NotRequired[undefined]', 'y': 'ReadOnly[undefined]', -+ 'z': 'Required[undefined]'}, -+ ) -+ -+ - class AnnotatedTests(BaseTestCase): - - def test_repr(self): -@@ -5887,7 +5987,7 @@ class ConcatenateTests(BaseTestCase): - U2 = Unpack[Ts] - self.assertEqual(C2[U1], (str, int, str)) - self.assertEqual(C2[U2], (str, Unpack[Ts])) -- self.assertEqual(C2["U2"], (str, typing.ForwardRef("U2"))) -+ self.assertEqual(C2["U2"], (str, EqualToForwardRef("U2"))) - - if (3, 12, 0) <= sys.version_info < (3, 12, 4): - with self.assertRaises(AssertionError): -@@ -7196,8 +7296,8 @@ class TypeVarTests(BaseTestCase): - self.assertEqual(X | "x", Union[X, "x"]) - self.assertEqual("x" | X, Union["x", X]) - # make sure the order is correct -- self.assertEqual(get_args(X | "x"), (X, typing.ForwardRef("x"))) -- self.assertEqual(get_args("x" | X), (typing.ForwardRef("x"), X)) -+ self.assertEqual(get_args(X | "x"), (X, EqualToForwardRef("x"))) -+ self.assertEqual(get_args("x" | X), (EqualToForwardRef("x"), X)) - - def test_union_constrained(self): - A = TypeVar('A', str, bytes) -@@ -8770,7 +8870,7 @@ class TestEvaluateForwardRefs(BaseTestCase): - type_params=None, - format=Format.FORWARDREF, - ) -- self.assertEqual(evaluated_ref, typing.ForwardRef("doesnotexist2")) -+ self.assertEqual(evaluated_ref, EqualToForwardRef("doesnotexist2")) - - def test_evaluate_with_type_params(self): - # Use a T name that is not in globals -@@ -8857,13 +8957,6 @@ class TestEvaluateForwardRefs(BaseTestCase): - obj = object() - self.assertIs(evaluate_forward_ref(typing.ForwardRef("int"), globals={"int": obj}), obj) - -- def test_fwdref_value_is_cached(self): -- fr = typing.ForwardRef("hello") -- with self.assertRaises(NameError): -- evaluate_forward_ref(fr) -- self.assertIs(evaluate_forward_ref(fr, globals={"hello": str}), str) -- self.assertIs(evaluate_forward_ref(fr), str) -- - @skipUnless(TYPING_3_9_0, "Needs PEP 585 support") - def test_fwdref_with_owner(self): - self.assertEqual( -@@ -8908,7 +9001,7 @@ class TestEvaluateForwardRefs(BaseTestCase): - self.assertEqual(get_args(evaluated_ref1b), (Y[Tx],)) - - with self.subTest("nested string of TypeVar"): -- evaluated_ref2 = evaluate_forward_ref(typing.ForwardRef("""Y["Y['Tx']"]"""), locals={"Y": Y}) -+ evaluated_ref2 = evaluate_forward_ref(typing.ForwardRef("""Y["Y['Tx']"]"""), locals={"Y": Y, "Tx": Tx}) - self.assertEqual(get_origin(evaluated_ref2), Y) - if not TYPING_3_9_0: - self.skipTest("Nested string 'Tx' stays ForwardRef in 3.8") -diff --git a/src/typing_extensions.py b/src/typing_extensions.py -index d089d5e..baa6c4f 100644 ---- a/src/typing_extensions.py -+++ b/src/typing_extensions.py -@@ -13,6 +13,9 @@ import types as _types - import typing - import warnings - -+if sys.version_info >= (3, 14): -+ import annotationlib -+ - __all__ = [ - # Super-special typing primitives. - 'Any', -@@ -1014,21 +1017,31 @@ else: - tp_dict.__orig_bases__ = bases - - annotations = {} -+ own_annotate = None - if "__annotations__" in ns: - own_annotations = ns["__annotations__"] -- elif "__annotate__" in ns: -- # TODO: Use inspect.VALUE here, and make the annotations lazily evaluated -- own_annotations = ns["__annotate__"](1) -+ elif sys.version_info >= (3, 14): -+ if hasattr(annotationlib, "get_annotate_from_class_namespace"): -+ own_annotate = annotationlib.get_annotate_from_class_namespace(ns) -+ else: -+ # 3.14.0a7 and earlier -+ own_annotate = ns.get("__annotate__") -+ if own_annotate is not None: -+ own_annotations = annotationlib.call_annotate_function( -+ own_annotate, Format.FORWARDREF, owner=tp_dict -+ ) -+ else: -+ own_annotations = {} - else: - own_annotations = {} - msg = "TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type" - if _TAKES_MODULE: -- own_annotations = { -+ own_checked_annotations = { - n: typing._type_check(tp, msg, module=tp_dict.__module__) - for n, tp in own_annotations.items() - } - else: -- own_annotations = { -+ own_checked_annotations = { - n: typing._type_check(tp, msg) - for n, tp in own_annotations.items() - } -@@ -1041,7 +1054,8 @@ else: - for base in bases: - base_dict = base.__dict__ - -- annotations.update(base_dict.get('__annotations__', {})) -+ if sys.version_info <= (3, 14): -+ annotations.update(base_dict.get('__annotations__', {})) - required_keys.update(base_dict.get('__required_keys__', ())) - optional_keys.update(base_dict.get('__optional_keys__', ())) - readonly_keys.update(base_dict.get('__readonly_keys__', ())) -@@ -1051,8 +1065,8 @@ else: - # is retained for backwards compatibility, but only for Python - # 3.13 and lower. - if (closed and sys.version_info < (3, 14) -- and "__extra_items__" in own_annotations): -- annotation_type = own_annotations.pop("__extra_items__") -+ and "__extra_items__" in own_checked_annotations): -+ annotation_type = own_checked_annotations.pop("__extra_items__") - qualifiers = set(_get_typeddict_qualifiers(annotation_type)) - if Required in qualifiers: - raise TypeError( -@@ -1066,8 +1080,8 @@ else: - ) - extra_items_type = annotation_type - -- annotations.update(own_annotations) -- for annotation_key, annotation_type in own_annotations.items(): -+ annotations.update(own_checked_annotations) -+ for annotation_key, annotation_type in own_checked_annotations.items(): - qualifiers = set(_get_typeddict_qualifiers(annotation_type)) - - if Required in qualifiers: -@@ -1085,7 +1099,38 @@ else: - mutable_keys.add(annotation_key) - readonly_keys.discard(annotation_key) - -- tp_dict.__annotations__ = annotations -+ if sys.version_info >= (3, 14): -+ def __annotate__(format): -+ annos = {} -+ for base in bases: -+ if base is Generic: -+ continue -+ base_annotate = base.__annotate__ -+ if base_annotate is None: -+ continue -+ base_annos = annotationlib.call_annotate_function( -+ base.__annotate__, format, owner=base) -+ annos.update(base_annos) -+ if own_annotate is not None: -+ own = annotationlib.call_annotate_function( -+ own_annotate, format, owner=tp_dict) -+ if format != Format.STRING: -+ own = { -+ n: typing._type_check(tp, msg, module=tp_dict.__module__) -+ for n, tp in own.items() -+ } -+ elif format == Format.STRING: -+ own = annotationlib.annotations_to_string(own_annotations) -+ elif format in (Format.FORWARDREF, Format.VALUE): -+ own = own_checked_annotations -+ else: -+ raise NotImplementedError(format) -+ annos.update(own) -+ return annos -+ -+ tp_dict.__annotate__ = __annotate__ -+ else: -+ tp_dict.__annotations__ = annotations - tp_dict.__required_keys__ = frozenset(required_keys) - tp_dict.__optional_keys__ = frozenset(optional_keys) - tp_dict.__readonly_keys__ = frozenset(readonly_keys) diff --git a/dev-python/typing-extensions/typing-extensions-4.13.2-r2.ebuild b/dev-python/typing-extensions/typing-extensions-4.13.2-r2.ebuild deleted file mode 100644 index e155428a7f5e..000000000000 --- a/dev-python/typing-extensions/typing-extensions-4.13.2-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# 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="Backported and Experimental Type Hints for Python 3.7+" -HOMEPAGE=" - https://pypi.org/project/typing-extensions/ - https://github.com/python/typing_extensions/ -" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - >=dev-python/flit-core-3.11[${PYTHON_USEDEP}] - test? ( - dev-python/test[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -PATCHES=( - # https://github.com/python/typing_extensions/pull/566 - # https://github.com/python/typing_extensions/pull/592 - "${FILESDIR}/${P}-py314.patch" -) - -python_test() { - cd src || die - eunittest -} diff --git a/dev-python/typing-extensions/typing-extensions-4.14.0.ebuild b/dev-python/typing-extensions/typing-extensions-4.14.0.ebuild index aa49586f5f76..7cde208e1712 100644 --- a/dev-python/typing-extensions/typing-extensions-4.14.0.ebuild +++ b/dev-python/typing-extensions/typing-extensions-4.14.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/typing-extensions/typing-extensions-4.14.0_rc1.ebuild b/dev-python/typing-extensions/typing-extensions-4.14.0_rc1.ebuild deleted file mode 100644 index a25f13f9c29f..000000000000 --- a/dev-python/typing-extensions/typing-extensions-4.14.0_rc1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# 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="Backported and Experimental Type Hints for Python 3.7+" -HOMEPAGE=" - https://pypi.org/project/typing-extensions/ - https://github.com/python/typing_extensions/ -" - -LICENSE="PSF-2" -SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - >=dev-python/flit-core-3.11[${PYTHON_USEDEP}] - test? ( - dev-python/test[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -python_test() { - cd src || die - eunittest -} diff --git a/dev-python/uritemplate/Manifest b/dev-python/uritemplate/Manifest index 8ec84a4c96cf..9c7b58054dba 100644 --- a/dev-python/uritemplate/Manifest +++ b/dev-python/uritemplate/Manifest @@ -1,2 +1 @@ -DIST uritemplate-4.1.1.tar.gz 273898 BLAKE2B 08a9179da7ccdb8b6d1a85ccf34f44f8282e6b5a00ddea541364272816588c238f4f8f960a197a7e8074607bcb8d1b52226740bddf0b92fb3751cb2d4b8fad51 SHA512 7682c7dcd9c8d4428b047e3adbc283b78f755face4d8dd1b0cd11df9583bd0435543640ba79229d436aeecad2b5b29684befdccc84ba71f72769ee130cb6576a DIST uritemplate-4.2.0.tar.gz 33267 BLAKE2B fc2e2de096e5419c5fdcfb650396c8044029f2574e73889b7cb4c117f83f7bd9b50402cc3af4fc6df12cf6ebace38d3a799c689fbbb311907bbe12704f004f90 SHA512 1c0bda6238f651aca6126ad2e34db4af62b81666a22171f4082293804976b654cc83506d3209cc09866e682a29f8223301c62c8db420f12c38af4a23b9a1d4fe diff --git a/dev-python/uritemplate/metadata.xml b/dev-python/uritemplate/metadata.xml index 853174b8f2ab..ea8988e8af6a 100644 --- a/dev-python/uritemplate/metadata.xml +++ b/dev-python/uritemplate/metadata.xml @@ -7,4 +7,5 @@ </maintainer> <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/uritemplate/uritemplate-4.1.1.ebuild b/dev-python/uritemplate/uritemplate-4.1.1.ebuild deleted file mode 100644 index adb2932ac834..000000000000 --- a/dev-python/uritemplate/uritemplate-4.1.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# 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 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python implementation of RFC6570, URI Template" -HOMEPAGE=" - https://uritemplate.readthedocs.io/en/latest/ - https://pypi.org/project/uritemplate/ - https://github.com/python-hyper/uritemplate/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -distutils_enable_tests pytest diff --git a/dev-python/uritemplate/uritemplate-4.2.0.ebuild b/dev-python/uritemplate/uritemplate-4.2.0.ebuild index e6c5521efd26..adb2932ac834 100644 --- a/dev-python/uritemplate/uritemplate-4.2.0.ebuild +++ b/dev-python/uritemplate/uritemplate-4.2.0.ebuild @@ -17,6 +17,6 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" distutils_enable_tests pytest diff --git a/dev-python/uv/uv-0.7.10.ebuild b/dev-python/uv/uv-0.7.10.ebuild index 2d1639acdcdb..ae627e729770 100644 --- a/dev-python/uv/uv-0.7.10.ebuild +++ b/dev-python/uv/uv-0.7.10.ebuild @@ -47,7 +47,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" diff --git a/dev-python/uvicorn/Manifest b/dev-python/uvicorn/Manifest index 92726c1f288d..24f4445a9181 100644 --- a/dev-python/uvicorn/Manifest +++ b/dev-python/uvicorn/Manifest @@ -1,3 +1 @@ -DIST uvicorn-0.31.1.gh.tar.gz 728604 BLAKE2B 4f8f4e34bc6b13f6f0866a6890855a5b3bf9aad179de2fdeab40fdb017f76acfaa1cb7c9bd97d55d2ea5cd513afc3b6857ae0613912f6be55dc1d17cf810b213 SHA512 2ceab852cd7819fee592cf2507fa9ce8cc80f19dec0492fec621e6eded4a47edecbe4fe559a8474dacff260546ba146e33af9cab964e121356797fdc9a2dae28 -DIST uvicorn-0.34.2.gh.tar.gz 709898 BLAKE2B 8316b0f51f0a833ae42eaf235839761019e20e80e1bf9a81d79f90c814fc214b0a346b81d98b6734f2b132c8641e96b1ef43c137906b55fcd8d4c825d607626e SHA512 e8d4dbf182a47431ab9485a8f1072b327c2adb97e4489dcad08835d2759241539971192781cffe4cbb12ff68e70b040e07ad60fe274aa1d62320ad0d63278e64 DIST uvicorn-0.34.3.gh.tar.gz 709829 BLAKE2B 160af2a0d85d02745fe608aac5c1e3589a5e8fee1e69607764a7bce563f05dd09bda2a7502f1dee595ef594d1d389a3070802c0bbeadf9590f9b834b5de2ba4a SHA512 22858af8e7c8ec80aca7d8a4a450213526752a96aaacd8d7016d7589aa3577e01ba36cdf3684820c3dc34be0a313e7ca5dec87acb7b3dc0ec0375ae00aa95d10 diff --git a/dev-python/uvicorn/uvicorn-0.31.1.ebuild b/dev-python/uvicorn/uvicorn-0.31.1.ebuild deleted file mode 100644 index 2681899e88be..000000000000 --- a/dev-python/uvicorn/uvicorn-0.31.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Lightning-fast ASGI server implementation" -HOMEPAGE=" - https://www.uvicorn.org/ - https://github.com/encode/uvicorn/ - https://pypi.org/project/uvicorn/ -" -# as of 0.28.0, no tests in sdist -SRC_URI=" - https://github.com/encode/uvicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/h11-0.8[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - dev-python/a2wsgi[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - >=dev-python/websockets-10.4[${PYTHON_USEDEP}] - dev-python/wsproto[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/watchfiles[${PYTHON_USEDEP}] - ) - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # too long path for unix socket - tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers - ) - case ${EPYTHON} in - pypy3) - # TODO - EPYTEST_DESELECT+=( - tests/middleware/test_logging.py::test_running_log_using_fd - ) - ;; - esac - - epytest -} - -pkg_postinst() { - optfeature "auto reload on file changes" dev-python/watchfiles -} diff --git a/dev-python/uvicorn/uvicorn-0.34.2.ebuild b/dev-python/uvicorn/uvicorn-0.34.2.ebuild deleted file mode 100644 index fdbe4af3779f..000000000000 --- a/dev-python/uvicorn/uvicorn-0.34.2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 2021-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 optfeature - -DESCRIPTION="Lightning-fast ASGI server implementation" -HOMEPAGE=" - https://www.uvicorn.org/ - https://github.com/encode/uvicorn/ - https://pypi.org/project/uvicorn/ -" -# as of 0.28.0, no tests in sdist -SRC_URI=" - https://github.com/encode/uvicorn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}] - >=dev-python/click-7.0[${PYTHON_USEDEP}] - >=dev-python/h11-0.8[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - test? ( - dev-python/a2wsgi[${PYTHON_USEDEP}] - dev-python/anyio[${PYTHON_USEDEP}] - >=dev-python/httptools-0.6.3[${PYTHON_USEDEP}] - >=dev-python/httpx-0.28[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - >=dev-python/websockets-10.4[${PYTHON_USEDEP}] - dev-python/wsproto[${PYTHON_USEDEP}] - test-rust? ( - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/watchfiles[${PYTHON_USEDEP}] - ) - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # too long path for unix socket - tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers - # TODO - 'tests/protocols/test_http.py::test_close_connection_with_multiple_requests[httptools]' - 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[httptools-max=defaults sent=defaults+1]' - 'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[h11-max=defaults sent=defaults+1]' - ) - case ${EPYTHON} in - pypy3*) - # TODO - EPYTEST_DESELECT+=( - tests/middleware/test_logging.py::test_running_log_using_fd - ) - ;; - python3.14*) - EPYTEST_DESELECT+=( - # TODO - tests/test_auto_detection.py::test_loop_auto - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p anyio -p pytest_mock -p rerunfailures --reruns=5 -} - -pkg_postinst() { - optfeature "auto reload on file changes" dev-python/watchfiles -} diff --git a/dev-python/uvicorn/uvicorn-0.34.3.ebuild b/dev-python/uvicorn/uvicorn-0.34.3.ebuild index c904a360a967..e1f2f9245f17 100644 --- a/dev-python/uvicorn/uvicorn-0.34.3.ebuild +++ b/dev-python/uvicorn/uvicorn-0.34.3.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/webtest/Manifest b/dev-python/webtest/Manifest index 0f9875281237..6e822e3d7977 100644 --- a/dev-python/webtest/Manifest +++ b/dev-python/webtest/Manifest @@ -1,2 +1 @@ -DIST webtest-3.0.4.tar.gz 79395 BLAKE2B 8a0aa8fae18e7c4ac816910cf0a7e6dea8905d14a35bacca8b53351189c9d00da0016c533a74b3b0623c81e7d8504260a2ad83ca4a2cb57f7a629cb1f2067d0a SHA512 ebf7a76d18719283af5fcf0ea902285a9eee280e68892f2db35e5e48e04efd18e96e393a020e3c4ac4e001875c6da5583348572fd028c0e1a11d468695362a0b DIST webtest-3.0.6.tar.gz 80151 BLAKE2B fde505862a0c7a87923fd7ed70748c045076c9fe70323099ef975153eeba5996cf84534e7acca7a97ad3c1a1a258351e02dd850be1826032da0edd7b0c27c31f SHA512 02341bac9e65bf736954ecaf34245afdae05a45e2e17d36ba5ba8be732e35938aab8a0f7ef58e260bc5f2d3667c87666b985e39de4006ed7cb4be2237c0441d9 diff --git a/dev-python/webtest/webtest-3.0.4.ebuild b/dev-python/webtest/webtest-3.0.4.ebuild deleted file mode 100644 index b8034be2a7c4..000000000000 --- a/dev-python/webtest/webtest-3.0.4.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_PN="WebTest" -PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Helper to test WSGI applications" -HOMEPAGE=" - https://docs.pylonsproject.org/projects/webtest/en/latest/ - https://github.com/Pylons/webtest/ - https://pypi.org/project/WebTest/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" - -RDEPEND=" - dev-python/paste[${PYTHON_USEDEP}] - dev-python/pastedeploy[${PYTHON_USEDEP}] - >=dev-python/webob-1.2[${PYTHON_USEDEP}] - >=dev-python/waitress-3.0.2[${PYTHON_USEDEP}] - dev-python/beautifulsoup4[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pyquery[${PYTHON_USEDEP}] - dev-python/wsgiproxy2[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/legacy-cgi[${PYTHON_USEDEP}] - ' 3.{13..14}) - ) -" - -PATCHES=( - "${FILESDIR}/webtest-2.0.33-no-pylons-theme.patch" -) - -distutils_enable_sphinx docs -distutils_enable_tests pytest diff --git a/dev-python/webtest/webtest-3.0.6.ebuild b/dev-python/webtest/webtest-3.0.6.ebuild index e9571110419f..b8034be2a7c4 100644 --- a/dev-python/webtest/webtest-3.0.6.ebuild +++ b/dev-python/webtest/webtest-3.0.6.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" RDEPEND=" dev-python/paste[${PYTHON_USEDEP}] diff --git a/dev-python/xmlschema/Manifest b/dev-python/xmlschema/Manifest index cf38e19a5d12..f25700f1984b 100644 --- a/dev-python/xmlschema/Manifest +++ b/dev-python/xmlschema/Manifest @@ -1,2 +1 @@ -DIST xmlschema-4.0.1.tar.gz 625283 BLAKE2B 750f151a6e10a01732cd9ff4a66f5499e3f8ed0ba2c07faf98bb85fab1c7a28bd3677f4b7ab12ab31235b1b23ca9127d8fa2a67bec7d5d4386bd3be26227fb6e SHA512 b1c08b9feabc40f1f299f005f765fa9d46780e3bc2173ee305d71c40e403a6f67b3a7558214fc663e54abd9a68ae28465044c7bc0113999cf18d2f4b95bfcec8 DIST xmlschema-4.1.0.tar.gz 633811 BLAKE2B d4a0281f5d8bac3f5935b41bfcff37dbf355370ec8f09dbc356c86695c75546fb34b5870bc4a5a390be9bcf4025f1165b0768cb3b8f19c180a5f2a439bf89b00 SHA512 14884a7d6f804de08ff3cb35d06bd647bfefaa588d04b4128d0b8f71adac94b314b90ec2a0f6d3eb42bf8b4b3054c57adcbc218ce7b0ad822dc24906eac8f591 diff --git a/dev-python/xmlschema/xmlschema-4.0.1.ebuild b/dev-python/xmlschema/xmlschema-4.0.1.ebuild deleted file mode 100644 index ab5fcac30ab4..000000000000 --- a/dev-python/xmlschema/xmlschema-4.0.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2019-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 ) - -inherit distutils-r1 pypi - -DESCRIPTION="An XML Schema validator and decoder" -HOMEPAGE=" - https://github.com/sissaschool/xmlschema/ - https://pypi.org/project/xmlschema/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - <dev-python/elementpath-6[${PYTHON_USEDEP}] - >=dev-python/elementpath-4.8.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools-77[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/jinja2[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - ) -" - -python_test() { - "${EPYTHON}" tests/run_all_tests.py -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/xmlschema/xmlschema-4.1.0.ebuild b/dev-python/xmlschema/xmlschema-4.1.0.ebuild index 7f2327f15c70..1126143c10f8 100644 --- a/dev-python/xmlschema/xmlschema-4.1.0.ebuild +++ b/dev-python/xmlschema/xmlschema-4.1.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/zlib-ng/zlib-ng-0.5.1.ebuild b/dev-python/zlib-ng/zlib-ng-0.5.1.ebuild index 11549c7ab87e..4bd05d4c2fc8 100644 --- a/dev-python/zlib-ng/zlib-ng-0.5.1.ebuild +++ b/dev-python/zlib-ng/zlib-ng-0.5.1.ebuild @@ -26,7 +26,7 @@ S=${WORKDIR}/${MY_P} LICENSE="PSF-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~riscv ~s390 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" DEPEND=" sys-libs/zlib-ng:= |
