diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-06 13:51:43 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-06 13:51:43 +0000 |
| commit | 8091e1abf6da0223be58c73c0173f529767cd6f4 (patch) | |
| tree | 12419b11ea5db7d8a4e29f31d6dcc6a2d38e5910 /dev-python | |
| parent | e50e3218b4530ca97bdf7975679d11f379ea0753 (diff) | |
| download | baldeagleos-repo-8091e1abf6da0223be58c73c0173f529767cd6f4.tar.gz baldeagleos-repo-8091e1abf6da0223be58c73c0173f529767cd6f4.tar.xz baldeagleos-repo-8091e1abf6da0223be58c73c0173f529767cd6f4.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
45 files changed, 1046 insertions, 83 deletions
diff --git a/dev-python/aiohappyeyeballs/Manifest b/dev-python/aiohappyeyeballs/Manifest index 9d706169877f..a504ee1033fe 100644 --- a/dev-python/aiohappyeyeballs/Manifest +++ b/dev-python/aiohappyeyeballs/Manifest @@ -1,2 +1,3 @@ DIST aiohappyeyeballs-2.4.6.gh.tar.gz 72830 BLAKE2B aea6f5e20a2900fb5d498722edc5e1b776552ff4ca84120f2e1acea5478a571ab923d3bca4c58111f5ff0389ddb7f4976f6231b575b7b282e3c45e4adebb9707 SHA512 0098f13604c929998981deaa9ae221f0c5c4c4de46e5063b23e185e1437637b35256ebc91a3f7fdf6b5f9dee6f4be5ff3c215a8ddd34a02a0389c9b49c329c16 DIST aiohappyeyeballs-2.4.8.gh.tar.gz 73672 BLAKE2B 9f2268f077106007607b3e463b9c86d7264ffb14ac3d27d07a29e919194dc1ba0210cd8d53b25fc2476794cbfa2f5e4cc400d405dc9bef7b3d61a764d5ed28da SHA512 081eb29d6be252170822d86d3de8e15165e461969788d539a20e796dfa34204f4d04e69380873a038e44c87194c61fd394a3bd105102c593a7aa17a4c2c3bd66 +DIST aiohappyeyeballs-2.5.0.gh.tar.gz 73997 BLAKE2B f15bff1279cf164bfa2114d6cd99edacedc2a910228068a79a1f189aa78b22075064c237d2a8fc847c76b8d5bb414f201edeb961931e5cd462bbbc3c4cae3424 SHA512 09a6ab64e137c63ce31eabd2d27f852d214427d4c61931ef98107a9b74300cec9f6da3f786013ab6d4936a84875eb97c0a9232647b68aa391317b38d234d06a0 diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.5.0.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.5.0.ebuild new file mode 100644 index 000000000000..9e041efe827a --- /dev/null +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.5.0.ebuild @@ -0,0 +1,36 @@ +# 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} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Happy Eyeballs for pre-resolved hosts" +HOMEPAGE=" + https://pypi.org/project/aiohappyeyeballs/ + https://github.com/aio-libs/aiohappyeyeballs/ +" +SRC_URI=" + https://github.com/aio-libs/aiohappyeyeballs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + >=dev-python/pytest-asyncio-0.23.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -o addopts= +} diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index 115992703cb9..6df3257d94f6 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1 +1,2 @@ DIST argcomplete-3.5.3.tar.gz 72999 BLAKE2B a31ff9ff63fbbca0b132948b6cd0c126e355eadecc1b84004d6bde90ac5f5d010d492e6addc2e926caa9ac8323e6fa9b6e0c41ee48ecd0695da50c56bd9ee5b3 SHA512 f22319ad0a37570a33ad9b674ba51af50e1a21ddd21950778a6804ee62e08352cdfb73387116f6669525a7b7582a567bda06d3b63084edcabea31b4235cb7624 +DIST argcomplete-3.6.0.tar.gz 73135 BLAKE2B 3e1cd3f28652278483ba7bfb5c73308580ee390da388a0e23932c553d2c79d45a4e7d6a7bd8c01299080caf70c0ced1d04b3708dcdc6ed975f00170d22eb81e8 SHA512 cccc7f8b760cee5e43b03d97a4bb8f1569e82dd8761a540bb6abb54f8ed2fff09c8b8491c4e175360c00b0e75a5e1b7b4b53734db969e250aff5fbb74dcd0514 diff --git a/dev-python/argcomplete/argcomplete-3.6.0.ebuild b/dev-python/argcomplete/argcomplete-3.6.0.ebuild new file mode 100644 index 000000000000..57fcd9048df9 --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.6.0.ebuild @@ -0,0 +1,44 @@ +# 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="Bash tab completion for argparse" +HOMEPAGE=" + https://github.com/kislyuk/argcomplete/ + https://pypi.org/project/argcomplete/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pip is called as an external tool +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + app-shells/fish + app-shells/tcsh + app-shells/zsh + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pip-19 + ) +" + +PATCHES=( + # increase test timeouts -- this is particularly necessary + # for entry point tests because they read metadata of all installed + # packages which can take real long on systems with lots of packages + "${FILESDIR}/argcomplete-3.1.6-timeout.patch" +) + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index d233a157c08f..d983ead24dea 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.36.26.gh.tar.gz 903988 BLAKE2B f9bb945e9132a7af7bd92ff48e5a99cc8948 DIST boto3-1.37.4.gh.tar.gz 908620 BLAKE2B ed63365ccd6da9b97715e4110be2b562285a123139a90ddb10c1411d5bd5ba0de9c110177a31f03ecb7e257fd79a0de89a8be97493a83f3207050676f7022e04 SHA512 dbf40cb809ee1d3ef352b97f62c111d113293211226a63298979d8ea14833c83ac2e321714dac349bfe095f75120c2752d08a01c19e51d9b0fc947e27a910005 DIST boto3-1.37.5.gh.tar.gz 909313 BLAKE2B d31bd1ed08c60f351012a8b3711e43f7e4fb7a8fa76067b6b8026ad4d39ba4edf068a8246815271fa01264db8e9d76e6c08ea973e17676b8adfb79516e52de3f SHA512 f1d18b153b060599d3570bdc068be636dbd59e764d62120c678d6265878bfd9e0334885fa0b578207a6c83d02735161c919ab6d60f0a381245943f26d5d33b68 DIST boto3-1.37.6.gh.tar.gz 910085 BLAKE2B de054f37bcf8d4cb01febbb7f874bb0fdfd3d812cfd103c4f8df14c6d74238c22ad37a604d638913021643421319ea4840beb028d663750b9fe543f535c610b1 SHA512 3b7b3e494b3be986a0f43ca6229cc2638821e7215533a118571c1d941a9790ed568e389e117807eceae8f8be2d202ea28341aec62af51fe4fb698c25bbdff147 +DIST boto3-1.37.7.gh.tar.gz 910852 BLAKE2B d32da4acee41352d282340b23615c4ddf3039337c7e3e4796ec8f70dcd86c37475f18567a12948cf761086f2ecc79b9eb7c55aa49c14540c36adc217cb77947d SHA512 474bdda6028a555343edc3f9a5ac657ae0b9441cc94f4956f7246f6da97c3ecb6f9bce7381c61e8b46869e38f102b7895615eb1582f7ecfeb1959a95b24da027 diff --git a/dev-python/boto3/boto3-1.37.7.ebuild b/dev-python/boto3/boto3-1.37.7.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.37.7.ebuild @@ -0,0 +1,53 @@ +# 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 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 1afcc3b66078..f829fadfb025 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.36.26.gh.tar.gz 14281837 BLAKE2B 925ebbca3e415ea7e3388c52e53a6d0 DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B ab55a62f2291e623e61a0ec6712241815279ae6d8f25e678adbf6cf167265d216f44b0eae78f2b66a454253dc4ef977b90c38f1aa329c855b38fa844eaa478b7 SHA512 07921ca8d51ff2afd8a4dafa77b40b5c24afa0351d71dbf68cef716573ba1f695a331634734fb6d9822eee55c91829128dbf215920e3da92ea2b40b727d0a0f6 DIST botocore-1.37.5.gh.tar.gz 14298752 BLAKE2B 99aade487be0277f66f0df5c4631e36c3972c4b14e7579bebd643044d9d2fb5264764053d5f0cd63b1d72d97c801e2ec185a07b8cea4551eed4978830ba791d6 SHA512 b7fbc9861aefe159ac0023d17fd72d9b2483b219244689a68c8f821debd8ba9420d85b296ef7a0a3ed881f286497722e78e78a43084efd5ddd48650d0d8433f0 DIST botocore-1.37.6.gh.tar.gz 14320730 BLAKE2B 04d3c9efe73b815740550da2e3a447b52abd43e73e97b6186aaeb0433da75141fab145f2a10b59902ff50da7040297af93f4217329e4a4bb424681d7c55e5e2f SHA512 7435609ef6de25d470d2f7dca1f8e06adad10ad534eebe0c780982a715dec038e7b7ed1cdac4ff0d9beac46e22d304ffd7a3ae4bbf13f74299de1215f9458bf7 +DIST botocore-1.37.7.gh.tar.gz 14341717 BLAKE2B c22abfbbedbbe1861d3eea6c341312390a731347e3be4df2116144e1a2d7a7e527dad360feeedcf59375e93f8055eff5d1eb1a87ace1961c34f5acc030dd317c SHA512 9773d6e47d38d5a4eea7a5e790ed5f9c6af48c973d5987508bb48da2646a3f51733041678133b1f506810b492142cf2d261101f3ec5a16c095ccce661eb2fba7 diff --git a/dev-python/botocore/botocore-1.37.7.ebuild b/dev-python/botocore/botocore-1.37.7.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.37.7.ebuild @@ -0,0 +1,67 @@ +# 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 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 67b23631751e..375493d32d28 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -2,3 +2,4 @@ DIST cfn_lint-1.24.0.tar.gz 2803280 BLAKE2B b859d41231c915c1a06939c75af91da619cc DIST cfn_lint-1.25.1.tar.gz 2837233 BLAKE2B 0779afe85f8cc1190f24fb9531c576b61a2921be1e725289c164c5113cfffeca6ad984832c0efa10cb6e7dbb78515b24fea3dbb5da3ef4b63765ed80eb1294af SHA512 f623dc24d3a6e3425e9c764498c874afcbc9406a31d8aa4f2c1a0a14e3dd4446584a0524d5a6d016bdcc95810907418b7dda9883d80d9ff2f3ae9385453d428a DIST cfn_lint-1.26.1.tar.gz 2943127 BLAKE2B ca87cf05d0b5ed3774c6c216f856c057bc04b9353f41feb4b1090c7d809685dc65057dab9b1b121fda78488c55bc8da2b3303a25a5047340843723a2e5d3849a SHA512 a8c14275188d64e7ff53d5dd798805a69cf3fc4b13ca9cce19775cd4033b0a0a5815efb9f6900ed8d4116c8877ce62117738098d500373ae6ba3984fe4170ff1 DIST cfn_lint-1.27.0.tar.gz 3023073 BLAKE2B 5540d44e40810b17ff6cbf699f14f0a80b70376e8ddf2b66e2623a6a29dbbbd76ef55645fb03f167639119ff6fd0584128b808bce210e9b06f9b7cf8e33b6f15 SHA512 be1b4ec9848d927d478130df3cfd1853be694e65999050d524eab90e08cff25f6751c3b83ecdb4e1da5c4ab69d96c57694d857ce39ece0b6b60c628776a7cc6b +DIST cfn_lint-1.28.0.tar.gz 3162534 BLAKE2B 120831c39c09419744c048d8c5d4ba8978ae50fe873841e3ab4bea82a83965bd5d7b9c2ccf1895e7fc981d4acc982827cd4a8af352ccdc6ecdab8dbf62396783 SHA512 69325f028beb6ddb05db144f2409575bdf4cc17efe9ee5c4a221aa82e09cafd6e97521398fbd52e5b797e67aedc3581d6455523490e23cd88d01e7af62436dd7 diff --git a/dev-python/cfn-lint/cfn-lint-1.28.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.28.0.ebuild new file mode 100644 index 000000000000..3ae37d5581a5 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.28.0.ebuild @@ -0,0 +1,70 @@ +# 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.94.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=" + 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=( + # TODO + test/unit/module/test_template.py::TestTemplate::test_build_graph + # requires git repo + test/unit/module/maintenance/test_update_documentation.py::TestUpdateDocumentation::test_update_docs + # Internet + test/unit/module/formatters/test_formatters.py::TestFormatters::test_sarif_formatter + test/unit/module/maintenance/test_update_resource_specs.py::TestUpdateResourceSpecs::test_update_resource_specs_python_3 + # TODO: it looks as if AWS_DEFAULT_REGION didn't work + test/unit/module/core/test_run_cli.py::TestCli::test_bad_config + test/unit/module/core/test_run_cli.py::TestCli::test_override_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_positional_template_parameters + test/unit/module/core/test_run_cli.py::TestCli::test_template_config + # different graphviz version? + test/unit/module/template/test_template.py::TestTemplate::test_build_graph + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/cssselect2/Manifest b/dev-python/cssselect2/Manifest index 00dfaa7607e4..89a0f4ddf7b7 100644 --- a/dev-python/cssselect2/Manifest +++ b/dev-python/cssselect2/Manifest @@ -1 +1,2 @@ DIST cssselect2-0.7.0.tar.gz 35888 BLAKE2B 14ad79878b7dbd9ce56fa9597a0678b3dc774fc81f599cd8eb28d67af5eb07914ff6f72dd6210d1e34787c78f85ebb22c8096c3a642f1c0092384e4f22a9e59c SHA512 e3c975fe159d3bec53002bda31c72d9cb346f40529272d8d5bef6aa13142ce60f1e8aa20b039d93ff5ff3d2cd34119b8b2d406f889964eded69e770e4f04e949 +DIST cssselect2-0.8.0.tar.gz 35716 BLAKE2B 60635070488af67bf27cc385fe395c79c7bf4189c54315fb747aa3ad2abf2e85fd2a78e535b8003f2be574cd8f19269ed5c255ea6ffbdc7255cc3ed8ba281136 SHA512 fe1fbd503a8f5c06ff33856c131365f1f154610abb59c2fdef3f0e679c2421f08f9fd5e82e03f541481180551e3e0984d46243629754e8a1fa0f189743fbd23f diff --git a/dev-python/cssselect2/cssselect2-0.8.0.ebuild b/dev-python/cssselect2/cssselect2-0.8.0.ebuild new file mode 100644 index 000000000000..0ebf52330cd7 --- /dev/null +++ b/dev-python/cssselect2/cssselect2-0.8.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Parses CSS3 Selectors and translates them to XPath 1.0" +HOMEPAGE=" + https://doc.courtbouillon.org/cssselect2/stable/ + https://pypi.org/project/cssselect2/ + https://github.com/Kozea/cssselect2/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/tinycss2[${PYTHON_USEDEP}] + dev-python/webencodings[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' pyproject.toml || die + distutils-r1_src_prepare +} diff --git a/dev-python/deepdiff/Manifest b/dev-python/deepdiff/Manifest index ca7a803cb3d7..1fe342203648 100644 --- a/dev-python/deepdiff/Manifest +++ b/dev-python/deepdiff/Manifest @@ -1,3 +1,2 @@ -DIST deepdiff-8.0.1.tar.gz 427721 BLAKE2B 0725a87ef17f9e1984594ccca7d954d608cfa0a6ea2c17b03d679bf5cd67135a1c5e3f21d749c18f1f91a5537e9ddaf179fb5b0a5ea135776415f5c0d82be274 SHA512 240662fb3e2408383fae4f6d4e5707357285e0058828d754dd09a94d1ccc29b854381a542dc2042842c79a57307b02d9ad009cc3106b35b0058612fabc0bcf96 -DIST deepdiff-8.1.1.tar.gz 433560 BLAKE2B 6f3e5b667c20aa0b622a199bce3fd07faf3cdd53ba6acc308c3700091bb9a5309e100517d7b508b94d01430096761f32aff7678452a665bcaea3577d734a7fea SHA512 6869e6e70ecee72073f979d84f28766c1f84b41c49057caa0facebeaf747751f4e2626c886d6f82f8d54a4a7356b0a6a07f979a87716aaccc41a40fe18d9c219 DIST deepdiff-8.2.0.tar.gz 432573 BLAKE2B 6259761631b7706dc9143e6ff941b79ea956270e332f9c3026e35752ff921647e19ecfa50ca7f68fce40c1f6c9643b3f64f008168dbdca0ffaa322acf9a8a9d8 SHA512 ef1883b5300eba4f99f5fed84fc63c22f5473f1cbc5790cef9c0ce7b1a65c28537756f4266259133a4b808734b2cba295c542630a2f0b8a0e4d8c5b58c14028d +DIST deepdiff-8.3.0.tar.gz 509468 BLAKE2B 24e6f610c1d90fdb2b9d20939e2bb053db690b284ce00d76f0859e504dfa6dd434c52c424b7da2b01688647791e336a53209dc31dab5adb51b48a92e598da7da SHA512 5327a738d182a9e546d5a827d3a5d1e04323e7765d49f9f7d51dc20c8fc13869bb16b84ee193c478f43bb47901e16cc6ec45c890967de061a839a33d636040eb diff --git a/dev-python/deepdiff/deepdiff-8.0.1.ebuild b/dev-python/deepdiff/deepdiff-8.0.1.ebuild deleted file mode 100644 index a166112b7db8..000000000000 --- a/dev-python/deepdiff/deepdiff-8.0.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A library for comparing dictionaries, iterables, strings and other objects" -HOMEPAGE=" - https://github.com/seperman/deepdiff/ - https://pypi.org/project/deepdiff/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-python/click-8.1.3[${PYTHON_USEDEP}] - >=dev-python/orderly-set-5.2.2[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] -" - -DEPEND=" - test? ( - >=dev-python/jsonpickle-3.0.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.23.5[${PYTHON_USEDEP}] - dev-python/pydantic[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:==:>=:' requirements.txt || die -} - -python_test() { - local EPYTEST_DESELECT=( - # benchmarks - tests/test_lfucache.py::TestLFUcache::test_lfu - # requires polars - tests/test_hash.py::TestDeepHashPrep::test_polars - ) - - case ${EPYTHON} in - python3.13) - EPYTEST_DESELECT+=( - # changed exception message - "tests/test_command.py::TestCommands::test_diff_command[t1_corrupt.json-t2.json-Expecting property name enclosed in double quotes-1]" - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/deepdiff/deepdiff-8.1.1.ebuild b/dev-python/deepdiff/deepdiff-8.3.0.ebuild index 50ac5902562b..8a727daa1349 100644 --- a/dev-python/deepdiff/deepdiff-8.1.1.ebuild +++ b/dev-python/deepdiff/deepdiff-8.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,12 +16,12 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/click-8.1.3[${PYTHON_USEDEP}] <dev-python/orderly-set-6[${PYTHON_USEDEP}] - >=dev-python/orderly-set-5.2.2[${PYTHON_USEDEP}] + >=dev-python/orderly-set-5.3.0[${PYTHON_USEDEP}] >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] " diff --git a/dev-python/faker/Manifest b/dev-python/faker/Manifest index 261b1e718ea0..71b84e4e21b5 100644 --- a/dev-python/faker/Manifest +++ b/dev-python/faker/Manifest @@ -1 +1,2 @@ DIST faker-36.1.1.tar.gz 1874935 BLAKE2B 501926d322a468943f730f7de48a0e68ff9388f39e638170606f5aa3884029aa27a21bdda68cb19224432e1d44f8de63da591688150a62e8b33bea54f44ad083 SHA512 c5afc49c76a97b7326fbc30eeb3c1d6102cdfcc35f52a7db61d1f58b37b812554274e002cac9ff9003a9669ce9c106e02e71e697045920b4ed006e1292de8a93 +DIST faker-36.2.1.tar.gz 1874849 BLAKE2B 355c3c5c4c0753d57ea7f63d510ebe07dcc1194d000d0a2c2aa81e70de486256999418c780d0f98e281b8a218cd6d68598dc936d05fc48205e07bcbac2036dd9 SHA512 81dca7225e10434f11036ddd4e9c3e88e30d2b9ca61531478b78aca77d7b7e2fb27ca6e5755c68b041e88fdfe805ac9688f5803899e4b895f4980428ed9076aa diff --git a/dev-python/faker/faker-36.2.1.ebuild b/dev-python/faker/faker-36.2.1.ebuild new file mode 100644 index 000000000000..07e6ec6efccf --- /dev/null +++ b/dev-python/faker/faker-36.2.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/tzdata[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +# note: tests are flaky with xdist +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + epytest + epytest --exclusive-faker-session tests/pytest/session_overrides +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index e39d49281d4f..5403a60570a6 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -1,2 +1,3 @@ DIST google_api_python_client-2.161.0.tar.gz 12358839 BLAKE2B b7537f29c078adc2a2a0b89da52acc9fe53db4ecae742f367019ef780951d668f8ff7e6390fd417644bdae2ab97f472b99f3472d642382b3341f5894de477cad SHA512 19fd8cf49d96fba19381a9ca891ee53cf521ff9fb3103c6f1f22207ab6e7d0dd0de445d5f96d9d6a7d464139a9c38052bdaf4878fbacf9d64fa97006f1ea6da5 DIST google_api_python_client-2.162.0.tar.gz 12562719 BLAKE2B b011064f127a6d8f131121b3776b554551e39aadea780e3357194cf90877b5b1711d91b6cdf56fa0118b96f371216d443b66a284c04a9cda8af7d9bf3687932c SHA512 15febe68247e1cb6722c4c509b9f31f879cb058110b46297d4db6df8533fca4bc095ac8f3e7faddff2a32749e44e356179e7f99085592dd5e218b41981364f6a +DIST google_api_python_client-2.163.0.tar.gz 12588615 BLAKE2B bb586205a1567e6792dcf336c69c4c357bd22b06ebe172bc5e07a96ca1c8246483d44201546ebbf1fec4239210759e20eed332f44be5e842bc6b9b050d4190a0 SHA512 993f173fd6366b03b57944b44fdf5ef74815789ced2585211dba06c8ca41c37e5bbfa1582e4ed4944a3cc5bc65cce2f043eeae68a0e6832460f3f7f6941639f9 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.163.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.163.0.ebuild new file mode 100644 index 000000000000..b2220fafe3ef --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.163.0.ebuild @@ -0,0 +1,50 @@ +# 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/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 8ac0338783c5..c7f4d17ccab2 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -5,3 +5,4 @@ DIST hypothesis-6.127.2.gh.tar.gz 9518116 BLAKE2B 7a114549226f2bf85bbc2116955758 DIST hypothesis-6.127.3.gh.tar.gz 9517446 BLAKE2B 3ac2f05b8e740830b7b2edff470c59620969f7b9eecf67666e40256ae7a1100ab2f93a8acf2855287d1066bb9f5254da8cf2672118d90c0f267c34a238461853 SHA512 17083054e990028ee82135645c1f3321823a1bde8f96c4fcd672812ee8b256d7a4a61a3224e651bc2ef8afd165835711943074de339db1233ee0bc3a5906a6c5 DIST hypothesis-6.127.4.gh.tar.gz 9517536 BLAKE2B a57a4eeae5f82d56723deae5af61ce663d14c3598f58213c1c671b8e3439d981333af9d28e41bf88102e292891df02a962a92215bf92ff9475f866d828343317 SHA512 88f4ee4b544b8075e37f3c56f07c02bb8a0aa9f5ceee23009e542f5e61852a5054fca8733c9634b2ae3ace823bb8515c840971e2d22deaad9a0e4d98a0b78fec DIST hypothesis-6.127.6.gh.tar.gz 9517645 BLAKE2B 4b66bc36d1289609e6cffd50f4ba3a0144cf9bd87b38c477512c8affccef6d448aed6c4f8e0584e153d9f996ffc13faf278b9f9a7047ed93e10783c7c9a7461c SHA512 63bcaa7d23e577ab0609fd55ef896153349b99a9b312551b47c884e3ac170aa133f61257ff8322bbe9506e3218a0366b1125552875f853250ea240e7a6f28da3 +DIST hypothesis-6.127.7.gh.tar.gz 9517820 BLAKE2B aa70f3f8e6da17f1b1f7cd04691f6424515fdd99003bc9b1ca4b223c805c1b7dfdeae6d1cea9f187e79713aab5a3ac99951efa9b05778c90da461ac5a67689d8 SHA512 36eae9f4ca67ebe8dd52ed60f740c963055906c5ae5857c13b57a11fa47d42bf2158ac13aadf08555206e81f34419701facd9fad81d31c78cd1407538b37d963 diff --git a/dev-python/hypothesis/hypothesis-6.127.7.ebuild b/dev-python/hypothesis/hypothesis-6.127.7.ebuild new file mode 100644 index 000000000000..08befcf116e3 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.127.7.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( pypy3 python3_{10..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}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + 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 + pypy3) + EPYTEST_DESELECT+=( + # failing due to warnings from numpy/cython + hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture + ) + ;; + python3.13) + EPYTEST_DESELECT+=( + # TODO + 'hypothesis-python/tests/cover/test_reflection.py::test_clean_source[case-5]' + ) + ;; + 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/jinja2/Manifest b/dev-python/jinja2/Manifest index e12212062b7c..73afee13c21d 100644 --- a/dev-python/jinja2/Manifest +++ b/dev-python/jinja2/Manifest @@ -1 +1,2 @@ DIST jinja2-3.1.5.tar.gz 244674 BLAKE2B 0b3f44e5d3a5f3d898d0b678035ddaaeb30f1f7ca09555da93adbb8d7f7159a3e192809f69f47c21ce5be6f4fb1cc91bc35d4d62f2c38c71582210085091b3d7 SHA512 75ad0094482c69d45fcd3aa8ee32e249931e53fee3f804f6ddfd5b6da0ed16962d8f1fced811e7dcb4d8401fadd828e77528d6d1280547a7d4f5f77cccf9bbd4 +DIST jinja2-3.1.6.tar.gz 245115 BLAKE2B 494aa04ec2fa9fcc1d89b24148eaec371e2be70d4c6d5e24dd6b2efc6e91ebb0da92fade8667979bf26ba32c87f754ebc5d5d21d2a35f9b4ce7bc228b53a46e3 SHA512 bddd5e142f1462426c57b2efafdfafdfc6b66de257668707940896feae71eabdf19e0b6e34ef49b965153baf9b1eb59bb5a97349bb287ea0921dd2a751e967ab diff --git a/dev-python/jinja2/jinja2-3.1.6.ebuild b/dev-python/jinja2/jinja2-3.1.6.ebuild new file mode 100644 index 000000000000..b32e87f2d08a --- /dev/null +++ b/dev-python/jinja2/jinja2-3.1.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=jinja2 +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="A full-featured template engine for Python" +HOMEPAGE=" + https://palletsprojects.com/p/jinja/ + https://github.com/pallets/jinja/ + https://pypi.org/project/Jinja2/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/markupsafe-2.0[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + dev-python/sphinx-issues \ + dev-python/pallets-sphinx-themes +distutils_enable_tests pytest + +# XXX: handle Babel better? + +src_prepare() { + # avoid unnecessary dep on extra sphinxcontrib modules + sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=() + if ! has_version "dev-python/trio[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_async.py + tests/test_async_filters.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} + +pkg_postinst() { + if ! has_version dev-python/babel; then + elog "For i18n support, please emerge dev-python/babel." + fi +} diff --git a/dev-python/krb5/Manifest b/dev-python/krb5/Manifest index ea5bce99b6ad..7f94fe8046e6 100644 --- a/dev-python/krb5/Manifest +++ b/dev-python/krb5/Manifest @@ -1 +1,2 @@ DIST krb5-0.7.0.tar.gz 235693 BLAKE2B 48b3e65c77d49d88bfc744429e13debbd730d35250e168306466cfb6bdd1862979917ce7032b1f1bc2574cff46b195deb678b9fda998f8dd8586a6473b1701c9 SHA512 52ecc136c86094bae10dccdb5addfd8440a551eb02e6f94a2049129d075f5de8c9fd87a0cba8af462357d448c0d8e15bb2afac414f15a64fb7068cbc06b4b08a +DIST krb5-0.7.1.tar.gz 235732 BLAKE2B ea3a984fddf4fe17a06cebeacaeefbb8523f58453178c2f302f58cb3035197b7965f6c5e6aa60473e85102701fc314ff83d6ef450027820301dc2f5a492fffa9 SHA512 63ed8e2ae8afb2ea5c6f6ac0604085da813f11e84f12a45fd4bf936af70d1c931eca2f81d52cc44c20dd91db7c2f65fb2985df837bd328e7966030e2403a80a9 diff --git a/dev-python/krb5/krb5-0.7.1.ebuild b/dev-python/krb5/krb5-0.7.1.ebuild new file mode 100644 index 000000000000..81c210d81076 --- /dev/null +++ b/dev-python/krb5/krb5-0.7.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Kerberos API bindings for Python" +HOMEPAGE=" + https://github.com/jborean93/pykrb5/ + https://pypi.org/project/krb5/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + virtual/krb5 +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/k5test[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest index cd0f23049705..4b59e17b7e48 100644 --- a/dev-python/miniupnpc/Manifest +++ b/dev-python/miniupnpc/Manifest @@ -2,3 +2,5 @@ DIST miniupnpc-2.3.0.tar.gz 105071 BLAKE2B a5a2d22d99eb9f20fcb0b61107db61b97fec8 DIST miniupnpc-2.3.0.tar.gz.sig 543 BLAKE2B acbc2fedd1984e2488aac4618a70b2f0e5573ab17beaa84660117fada915b9ee94e419ee4ddbeae30c04e4eff8749d2a8724b4826bd5ce8ac972908fbda1189c SHA512 081d6c77fb08863760e4ddeb5bc1a5414603782b785f1f86efe516e59a113a4da794895ad160922818574029189df32a0c57fe2558c2ce99d521aa2673d40d43 DIST miniupnpc-2.3.1.tar.gz 139499 BLAKE2B b456fc9c4af807a305b18b428a790ab4edb40d2e81bd795417df28030993030e1586e44277ecdf19405eb63eacd8448a50d3434b621b7cbdcdfaedd796587b2e SHA512 dd500317741ff0d61ba6e4ed59dc332eabcc8b072ebd10bfd0c9b802b8973b354f3eae4df0ef9c80f4e187bf227e428053beecdb474499e3a5c8a285a0b11feb DIST miniupnpc-2.3.1.tar.gz.sig 543 BLAKE2B d5eec2738b3362f35b615963f292e8920264decb4faae6afa4cd1ef459c80e0738b595ec0dda2a9106e72420c4f5ed883d26713b5396f52cb5e949e3279ace48 SHA512 f6d0997e85302ca5e7f7b97c3b824303fe85d18516f02e36320e1370443220489bc70d370b187bd814dee762edab16bdb7b8e726e79d9ed8271893ae3058520f +DIST miniupnpc-2.3.2.tar.gz 140137 BLAKE2B 3c9928b06a26ebc023c0e0f740c91803e1e08ff1603916ca77ae959b6ba436016754754f3718add0138cfa82116363981ee95798e72f03457f7ef8aa9945c813 SHA512 c20a74cd5f1b8fcf8663c50565b7d62da4d9231a2a26c20e2a322a0e6874b31155c5c8f0571eb2af142adeb5892693f92e42539bae8c20c50f1e1903b1c098ce +DIST miniupnpc-2.3.2.tar.gz.sig 543 BLAKE2B e15ff3a1cf923fe5790e6d84ebf7ed685ec5bd9e370cebffc44fe1b3fff643bc791f099f4ca42c8e18d10180b21f57d3e4d458a657be02d0cc7c588d364ad2dd SHA512 05cd7fbfc55adb453bcc82ffaff544612f6f063c53b0a683bf942f8e21afa193f75b3506c71e5a4eb23d6f2921379747640f6058d9b9f8a69fbe43951f731e27 diff --git a/dev-python/miniupnpc/miniupnpc-2.3.2.ebuild b/dev-python/miniupnpc/miniupnpc-2.3.2.ebuild new file mode 100644 index 000000000000..f3dc4259c0bb --- /dev/null +++ b/dev-python/miniupnpc/miniupnpc-2.3.2.ebuild @@ -0,0 +1,52 @@ +# 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 verify-sig + +MY_P=${P/python-} +DESCRIPTION="Python bindings for UPnP client library" +HOMEPAGE=" + http://miniupnp.free.fr/ + https://miniupnp.tuxfamily.org/ + https://github.com/miniupnp/miniupnp/ +" +SRC_URI=" + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz + verify-sig? ( + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz.sig + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +DEPEND=" + >=net-libs/miniupnpc-${PV}:0= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-miniupnp ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/miniupnp.asc + +PATCHES=( + "${FILESDIR}"/miniupnpc-2.2.3-shared-lib.patch +) + +# DOCS are installed by net-libs/miniupnpc. +DOCS=() + +# Example test command: +# python -c 'import miniupnpc; u = miniupnpc.UPnP(); u.discover(); u.selectigd(); print(u.externalipaddress())' +distutils_enable_tests import-check diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest index de6c3192df8f..c741aae093c9 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest @@ -1,2 +1,3 @@ DIST mkdocs-git-revision-date-localized-plugin-1.3.0.gh.tar.gz 378511 BLAKE2B e922d0ce5dd37f92c11a37d7c02a59fc776a1a4245823a2275c600c6348cc7f97a2a8b43919a5cdbe03e8b23623f0c7d22cf92eb728d6f11d7472db5b78e98a1 SHA512 6e6c085ae861382a932817264c00de55f94b8b09349c18206c1644487a7476d4494f0b451b31510de4ba3a5d4934514923521c8c4c5aca84a8183f5cd574177d DIST mkdocs-git-revision-date-localized-plugin-1.4.0.gh.tar.gz 383048 BLAKE2B 7e7b2fadb1b03409ad81c8a4d70e3a84e41a0b616f10d9ccb0eeed43e31e762478de5a598e5b1afa3466659fe60e9687b9fd2c5ad4ebd2ff3dc42e8d7005a66f SHA512 18d9e59d38cb54ea1aa8fef53d5dcf6cf680d209ad45fa66b0355a5691cf93a63affdccc9a4a5f07223e7d7bde1ed751e985a42f628acdf6d6a4cd8c0947a1a9 +DIST mkdocs-git-revision-date-localized-plugin-1.4.1.gh.tar.gz 442856 BLAKE2B deb35deb9c9214a56e7f32b085908c9fcad1d77faaec79cdd674796fbf079161d63b5648efbd1914a0c34b1fee000bf29585cf66ec99c37e67a01281b0c3a8fa SHA512 1cf4237d2be3e1020d2771280738536b33c54da4557bf5e14fe84d545058673e5d3deefaa929efd62390d76f3bd86f29b00eeefbb720cdebcec9208b48c590f6 diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.1.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.1.ebuild new file mode 100644 index 000000000000..587e72542cc3 --- /dev/null +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.4.1.ebuild @@ -0,0 +1,65 @@ +# 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} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/regex + dev-python/mkdocs-static-i18n + dev-python/mkdocs-material + dev-python/mkdocs-git-authors-plugin + dev-python/mkdocs-git-revision-date-localized-plugin +" + +inherit distutils-r1 docs + +DESCRIPTION="Display the localized date of the last git modification of a markdown file" +HOMEPAGE=" + https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ + https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ +" +SRC_URI=" + https://github.com/timvink/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/babel-2.7.0[${PYTHON_USEDEP}] + dev-python/gitpython[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/click[${PYTHON_USEDEP}] + dev-python/mkdocs-material[${PYTHON_USEDEP}] + dev-python/mkdocs-monorepo-plugin[${PYTHON_USEDEP}] + dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}] + dev-vcs/git + ) + doc? ( dev-vcs/git ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # mkdocs-git-revision-date-localized-plugin's tests need git repo + if use test || use doc; then + git init -q || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -qm 'init' || die + fi + + distutils-r1_python_prepare_all +} diff --git a/dev-python/mkdocs-material/files/mkdocs-material-9.6.7-backrefs.patch b/dev-python/mkdocs-material/files/mkdocs-material-9.6.7-backrefs.patch new file mode 100644 index 000000000000..3d82e7858f36 --- /dev/null +++ b/dev-python/mkdocs-material/files/mkdocs-material-9.6.7-backrefs.patch @@ -0,0 +1,52 @@ +From 13f768034e0935738c7f4d2562d46030bd9b9758 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Wed, 5 Mar 2025 20:37:47 +0100 +Subject: [PATCH] Import backrefs only when actually used + +--- + material/plugins/search/plugin.py | 3 ++- + src/plugins/search/plugin.py | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/material/plugins/search/plugin.py b/material/plugins/search/plugin.py +index ce23c15cb..2bc411c5d 100644 +--- a/material/plugins/search/plugin.py ++++ b/material/plugins/search/plugin.py +@@ -22,7 +22,6 @@ import json + import logging + import os + import re +-from backrefs import bre + + from html import escape + from html.parser import HTMLParser +@@ -286,6 +285,8 @@ class SearchIndex: + + # Find and segment Chinese characters in string + def _segment_chinese(self, data): ++ from backrefs import bre ++ + expr = bre.compile(r"(\p{script: Han}+)", bre.UNICODE) + + # Replace callback +diff --git a/src/plugins/search/plugin.py b/src/plugins/search/plugin.py +index ce23c15cb..2bc411c5d 100644 +--- a/src/plugins/search/plugin.py ++++ b/src/plugins/search/plugin.py +@@ -22,7 +22,6 @@ import json + import logging + import os + import re +-from backrefs import bre + + from html import escape + from html.parser import HTMLParser +@@ -286,6 +285,8 @@ class SearchIndex: + + # Find and segment Chinese characters in string + def _segment_chinese(self, data): ++ from backrefs import bre ++ + expr = bre.compile(r"(\p{script: Han}+)", bre.UNICODE) + + # Replace callback diff --git a/dev-python/mkdocs-material/mkdocs-material-9.6.7.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.6.7-r1.ebuild index 432c9643e4eb..7faef3c81d56 100644 --- a/dev-python/mkdocs-material/mkdocs-material-9.6.7.ebuild +++ b/dev-python/mkdocs-material/mkdocs-material-9.6.7-r1.ebuild @@ -61,6 +61,8 @@ PDEPEND=" PATCHES=( # simplify pyproject to remove extra deps for metadata "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" + # import backrefs only when used (i.e. never) + "${FILESDIR}/${PN}-9.6.7-backrefs.patch" ) src_prepare() { 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 index 14c6d8498a5a..aac212127205 100644 --- 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 @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/mkdocs-1.0.4[${PYTHON_USEDEP}] diff --git a/dev-python/orderly-set/orderly-set-5.3.0.ebuild b/dev-python/orderly-set/orderly-set-5.3.0.ebuild index 0b923c93070a..2124383bce7a 100644 --- a/dev-python/orderly-set/orderly-set-5.3.0.ebuild +++ b/dev-python/orderly-set/orderly-set-5.3.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" distutils_enable_tests pytest diff --git a/dev-python/poetry-plugin-export/poetry-plugin-export-1.9.0.ebuild b/dev-python/poetry-plugin-export/poetry-plugin-export-1.9.0.ebuild index 117ac1f53972..2c03c1365cf5 100644 --- a/dev-python/poetry-plugin-export/poetry-plugin-export-1.9.0.ebuild +++ b/dev-python/poetry-plugin-export/poetry-plugin-export-1.9.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/poetry-core-1.7.0[${PYTHON_USEDEP}] diff --git a/dev-python/poetry/poetry-2.1.1.ebuild b/dev-python/poetry/poetry-2.1.1.ebuild index 2df6f01e1e8d..0359c96862ea 100644 --- a/dev-python/poetry/poetry-2.1.1.ebuild +++ b/dev-python/poetry/poetry-2.1.1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/poetry-core-${PV}[${PYTHON_USEDEP}] diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index d3eb79cd7533..f68ba16e2c86 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -50,6 +50,7 @@ DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6 DIST pydantic_core-2.27.2.tar.gz 413443 BLAKE2B 2755ba694b17894ff89704203c275315dc6a600e5e89965f24800ff032802168a9fa5bbb26e9714dae42f645e34e0ac32191415fae04bd53a8d04c41f1d3e2c4 SHA512 4e0bc0137463d3a76bb584da76751916ddaa18383efbe15a303880649df67de22c67a8a6e5f889c76292c4557914811d942fd3373dad65b63d9fb1f84f34ce3e DIST pydantic_core-2.29.0.tar.gz 417255 BLAKE2B 0803d8fa6bc731b8c58184228abf015ab6608ffdf351cd6bb8bf78ed2da0b2af14899a2c4ed4a29132a1ba2c2a67bdb3519e13ea857ef6a8a1576d7661c8f03a SHA512 a41ada88f70b04362edc3e95fe34c71814291f5eec4260193fa6be69f219ae52cd60ffc55dae9c7b43c75afc107a114e400c4a3fc697520e57ed39c0b8794560 DIST pydantic_core-2.30.0.tar.gz 422812 BLAKE2B 26c7a79d71856f914e93790d9cb87c311e7561ae2226f9489e25ca10c139ad1e9516b5f799c79189dc43d314c033278e6c14fbafe64cf78d59bbec4132fdca5a SHA512 c548ea36cfc001ad66ba7aec2468681b1189f69629a1f8c28799df0ff4948dffa60cc7cef416a36056322631a2921ebfa6ed72b5bbb4eaffff54161a2b968b32 +DIST pydantic_core-2.31.0.tar.gz 424589 BLAKE2B 0c632cfa597f8a6ed2bcb2921231ba94527f3b891584e7ea1c2446a920e80425fe0cb612374ae1204f842d4d6e1e7dad76d20fba1edac513cce6615a470dcfa4 SHA512 373f378b6cdc6dc95e94a3096974b71055a3fd499f5c2fcd463e64802233f61389ba4a7e1572e1dc9af93a14efe7ab8c99af886e527e810dba5ec4461e2c14f4 DIST pyo3-0.22.6.crate 546746 BLAKE2B 2a6f8c5ce2ee96e1812177a11c5fad7e15f3a73d9e30850edf0855b13db6cc95427e186883b4aae25a2d2466d3fe82f56180a39f3e6e0a54bb0a3ef78d495400 SHA512 d746007eae22f5b7bbf173759c61cbd2aa893898d88b8be5680a0237deec4d113246edf5f62fbbec3579ad4bd7307499b94b887ec306112ffe3df5190fe70e44 DIST pyo3-0.23.4.crate 1087676 BLAKE2B 2c7d3530460ff687e8f60dcff0fb01465b2a4642043ebdfc927fc3824b9fbce9c4b304250808a85405d21df12d17a1d1ada7bdf8f3563710692f22223e2732f1 SHA512 0015aa75163ad0ec026d185e15c26f59aaad0eb3cc3044b146e5d703bb375fcd838df2044febbd52e6e129dfba81c8249329fc3e4805695274dac7a69eee0651 DIST pyo3-0.23.5.crate 1088533 BLAKE2B 2efae0a42c1d33e25c5871e3f61a3cea9890d278a20e2777307752b544ab3a634059bba896a1df0df4eadd0ae3c2e63b6d637aecd6699b31fac4107e3a43a387 SHA512 efd3a86dd70c199304463c0ae18dbdf4d9176d1af13b664bdd05a1e218cffda3f29f06d868d0d852d51c3e85b7e07c39617206b3feddc913b3b622f3fcf59d5f @@ -78,11 +79,14 @@ DIST rustversion-1.0.17.crate 17621 BLAKE2B 1f077ca6fd90333724d1ea9df7f5b178f37f DIST ryu-1.0.18.crate 47713 BLAKE2B 409cdf4b4e77685394018371e91ad6fdb175ac57e1df9f902871f13208515e5a2ab1daa226fc1e7291278e64448332845be4cc9409bce3b2f3daed409259e104 SHA512 a9b2beac778ec47e6be303148d7512ee681bd2361f6e4ac6db32c8b4baf86a8c5eb5b0d02eacd6131ae88c7b5105c57018c3050676e0b3dd1ed9c4d2fd650e84 DIST serde-1.0.214.crate 78523 BLAKE2B c701f316a3204625d475668d2722991d75c8d9c573ae32e9175ccf99780fbe0c9c9d1dd0b4bac35f2cc91aca888c7f3dc41af2842dd833ab82776a38c2a2f6c0 SHA512 100eac65a39b9b9c32c1671d36fa9cf8aca84a2673e24c2521fdbdb3ed9f932c71548f3f1a26b1e73dd7c92a34ffa8ed1c76eb173fa20d6e85736cdf8dc9a8ee DIST serde-1.0.217.crate 79019 BLAKE2B a0aacff795d34583365ddd469fa14c58a6cccf8afbb248210aaff3134c7ce6e34b3d03f437326d7c01b3e78f82a5d19c37ed9fa4372970d8b2793f2889288e1c SHA512 f97b3b54b9e99c9a027390405cc054c3072f49c92803a4ed5f5f69e76a179deda9d77993b645b3581437085912d881da88d0451b9e0da423c64033a23fdd8054 +DIST serde-1.0.218.crate 78968 BLAKE2B af7f366a1aaaeb9b5f6f22e7398a30ea486aa3391ccab9a11435d45f7eba10796ce671556b771dbfd8b914563949c54b4a4f14fe447a549e879636339fa8f128 SHA512 35ffd8556287fa270beb90539c1641912d8fb233c53c4017f1f65a483b2dc340385458b9a869b7142b4d514bcc87c25e69c9370b3867e463be887bdebd19ead8 DIST serde_derive-1.0.214.crate 56630 BLAKE2B c284561109e5d60e103f1bb421e4da48f35c5046aa52359177e286449cf8fe51a92f6295f5bec3dc4cd737025e8d0bc618436e2f7640873f66bc5b77bb4f450a SHA512 70bc0a31d344cfec8d30f2034beab25097ef76ab8d89947b21753f737759e5d4e60e5596e0c7994a7cc35993bae01148120f6cdf5239be25fb243056effa27f0 DIST serde_derive-1.0.217.crate 57749 BLAKE2B 63b4930122d80d64492ba2718630513012202e42bbaa74510729ee66a0e72b8a1ad123784b479697ba562db43868f4bddfdf5e94bb3d744cd68a547471ba40aa SHA512 31020f4533d04b31ae125580a3c5093fad36438d324e2d9b063923aa8c125c654102ae7fbc3b3df892bb41db6b321962a23e0a37950e080055d715d15b18af76 +DIST serde_derive-1.0.218.crate 57782 BLAKE2B b2244847b41f1aa396352bcea886d6a28d13ede23ae6ceb813143849cc107b3fe0cf054687d9f35bbb9db4e95c619422d9710532fcfffff291280cbe3649a433 SHA512 e89c076b0aa22ad74010f5b6a60397b9b78b59ca50a9660b29ceb1fd608cab820c47e787e450da306062c0cea1ade7142a7d4626a77aa0ae486096c130442cde DIST serde_json-1.0.132.crate 150549 BLAKE2B a49aef7737fad2e6f6ec79cb6da00c734e7de7ef16be321846d1f6229534b58e15ceb0f6306eeae6f85bf07431d82959c0a56ed1394d21a67b65c8c48e971f3f SHA512 9d157ce7d705fee8245569e7c577310782b69675a6e459f21904544b824a1ca5c9b445d17419fee438dfeb6fcc35343ba14e022043fffade0210b6d2c1b5795e DIST serde_json-1.0.138.crate 154769 BLAKE2B 42f146a688dda70f3afad1a6ff989823f2e2cf4037c2a4d019b87155c7e37d86f649f2a54b373b787ac9021e42ac3be5fc27ea975b62e08865802afb993196bc SHA512 31678f1289301d65a088b305726c4fa6b5cd17b01527abc8dd7fc09720c98b2e86bebd5b20d7e9e7b7e41c42829db3a7e705172eca20d0c333e6c09131e1fe09 DIST smallvec-1.13.2.crate 35216 BLAKE2B 31a268aad595c06cdb078577a97b089dbea156a0df307a3e6aaaf4861bd9a680c5b11921da9dbdb1bcfe17d58c0cbede1ffe6bba3aef59b384fb1b9703c62d27 SHA512 a97c758b668e40ad9eb572e65feeae4954e09200a04ab92e26a13b48894381cd3a3d2571070c4b7a5e181182e1ede9688f990650342ec69ecfe1a264d234c679 +DIST smallvec-1.14.0.crate 35561 BLAKE2B aa8ee61800a6d13eda5acb4e9dc03543160849479a96a72c50ab38013b23e9593a665773b455a09777038edd436d7a35b501f6d4a0e16ff49544be60345a1e50 SHA512 90de38f208f551cdbf4980fda2314dee57d4e2bbf769a01c47bc849189e9243474932052faa92fe0ca59ecc9c5d1ed84091ef87f724343d38ebbbf710ba232be DIST speedate-0.15.0.crate 33698 BLAKE2B 81a1c87bfeaab44aeb6f7a813275b139b26a618af4b24d3018e866a2855eca897144c863a2dfabec20912046fe17a60749c41ce8cee45450137440cda5d7d934 SHA512 2c3a210e06e3960e2dd24f696e27141f00b186d5ea58272f1ac11ba455d4467459fdb076a65766c2fb242163299aea08f692e86553fe4edccf2e9714f9a9303e DIST stable_deref_trait-1.2.0.crate 8054 BLAKE2B 287a65c3e5b47213544a43e57c60a54add60b4c2e3c8d042407d860cc950ba7ca01a2e67ce56aed6744992b61ec1f9aed3321e3d88482e33129548b7d51df205 SHA512 a13cfb22723f1f2cf089b2d07d657846f50c37bc0438d1a76096bea30214cad226b7a422c21f9e191ce87071da8a141d61882aedf9e0203a5fffdfda86a5fb03 DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee @@ -105,6 +109,7 @@ DIST utf16_iter-1.0.5.crate 9736 BLAKE2B edcd9776113d4d2b267a9cbd58cab11c5497ff1 DIST utf8_iter-1.0.4.crate 10437 BLAKE2B 1e7a8b9241ebbb62cb497542b970473780f735010a0af900771a43abceae4e7f362d21d4f79f7c00630e4549400875ea17574b2cbe4f5ea19e8ed428e3b5577d SHA512 a72671995b3eb295581c60dc632e4a25ba257227fb5d58a8bec322428b6d69529bba79a6f02b8e7ee6698b7779d9d6695f5badad73e07c254b00c9d6256c9090 DIST uuid-1.11.0.crate 47683 BLAKE2B 37a601b0fe7ec57333613f8c18ada76bd784c43c8af7c252200a7c9c76b445b179931cdf727b5ddae3ffa3fa29c5a13507fb0f2bd604d306982843e042038314 SHA512 0cd1b95fc2247bf4e627de6abb41e332ebaf39e5720640e52b9f235f7a0e2d451e7a486efdabb616ce00e47832d21919611683d0e6a71c86a86f290940cfda32 DIST uuid-1.12.1.crate 48851 BLAKE2B 9cf9d75b0fd894e20d966d35af4fa25b64ae0e5daad91c6bb974962ed7d2374b947e30514f854b56e86dba7f358a21d6ad7af64894ddd01d51c6ba6f17c0840d SHA512 e9c7cb8f247704b59782a576fb55ff5ad4f0b632fa19da52d81fe09e9dc91a0f60b989d5c1887f548df336fb03a5147d5a03f826d4a98ba66fc6083f9b68174d +DIST uuid-1.15.1.crate 58728 BLAKE2B 9d6747083e096b795ef69dab3b1c14cb67db8838dd3814e23a1b4869b8e5b4c4d067120209550a107036c195c86238df2d2036bbe21f95e378e17d8dcb3c3f1e SHA512 d389b642f2b5a6c10eb951e53cc638a5e615f89bde4a727f7289d0da2733d90e581e80ae735941b03d314237423037d059b07f9597c351cea1c3d7e7884ff144 DIST version_check-0.9.5.crate 15554 BLAKE2B 131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72 SHA512 d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f DIST write16-1.0.0.crate 7218 BLAKE2B 548796314339463e4b71f8af3d344e45dc89480e103180b6d56c90fcb816ad1a37ab2ba20766c4b9754f2cc686752eb1f3a5a12ec1ed4369a9cef749ad4f3e97 SHA512 655a207b8082bb88e462f992ecb4833cef9d590da06d6356b41d109df2862b49ee5705189c78a607b549e7343035119d158020d58fcad49608e51659357a83c1 diff --git a/dev-python/pydantic-core/pydantic-core-2.31.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.31.0.ebuild new file mode 100644 index 000000000000..996bae4d5536 --- /dev/null +++ b/dev-python/pydantic-core/pydantic-core-2.31.0.ebuild @@ -0,0 +1,178 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +CRATES=" + ahash@0.8.11 + aho-corasick@1.1.3 + autocfg@1.3.0 + base64@0.22.1 + bitvec@1.0.1 + cc@1.0.101 + cfg-if@1.0.0 + displaydoc@0.2.5 + enum_dispatch@0.3.13 + equivalent@1.0.1 + form_urlencoded@1.2.1 + funty@2.0.0 + getrandom@0.2.15 + hashbrown@0.14.5 + heck@0.5.0 + hex@0.4.3 + icu_collections@1.5.0 + icu_locid@1.5.0 + icu_locid_transform@1.5.0 + icu_locid_transform_data@1.5.0 + icu_normalizer@1.5.0 + icu_normalizer_data@1.5.0 + icu_properties@1.5.1 + icu_properties_data@1.5.0 + icu_provider@1.5.0 + icu_provider_macros@1.5.0 + idna@1.0.3 + idna_adapter@1.2.0 + indexmap@2.2.6 + indoc@2.0.5 + itoa@1.0.11 + jiter@0.8.2 + lexical-parse-float@0.8.5 + lexical-parse-integer@0.8.6 + lexical-util@0.8.5 + libc@0.2.155 + litemap@0.7.3 + memchr@2.7.4 + memoffset@0.9.1 + num-bigint@0.4.6 + num-integer@0.1.46 + num-traits@0.2.19 + once_cell@1.19.0 + percent-encoding@2.3.1 + portable-atomic@1.6.0 + proc-macro2@1.0.86 + pyo3-build-config@0.23.5 + pyo3-ffi@0.23.5 + pyo3-macros-backend@0.23.5 + pyo3-macros@0.23.5 + pyo3@0.23.5 + python3-dll-a@0.2.13 + quote@1.0.36 + radium@0.7.0 + regex-automata@0.4.8 + regex-syntax@0.8.5 + regex@1.11.1 + rustversion@1.0.17 + ryu@1.0.18 + serde@1.0.218 + serde_derive@1.0.218 + serde_json@1.0.138 + smallvec@1.14.0 + speedate@0.15.0 + stable_deref_trait@1.2.0 + static_assertions@1.1.0 + strum@0.26.3 + strum_macros@0.26.4 + syn@2.0.82 + synstructure@0.13.1 + tap@1.0.1 + target-lexicon@0.12.14 + tinystr@0.7.6 + unicode-ident@1.0.12 + unindent@0.2.3 + url@2.5.4 + utf16_iter@1.0.5 + utf8_iter@1.0.4 + uuid@1.15.1 + version_check@0.9.5 + wasi@0.11.0+wasi-snapshot-preview1 + write16@1.0.0 + writeable@0.5.5 + wyz@0.5.1 + yoke-derive@0.7.4 + yoke@0.7.4 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 + zerofrom-derive@0.1.4 + zerofrom@0.1.4 + zerovec-derive@0.10.3 + zerovec@0.10.4 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Core validation logic for pydantic written in Rust" +HOMEPAGE=" + https://github.com/pydantic/pydantic-core/ + https://pypi.org/project/pydantic-core/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 Unicode-DFS-2016 + || ( Apache-2.0 Boost-1.0 ) +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}] + >=dev-python/inline-snapshot-0.13.3[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so" + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--benchmark/d' pyproject.toml || die + sed -i -e '/^strip/d' Cargo.toml || die +} + +python_test() { + local EPYTEST_IGNORE=( + tests/benchmarks + ) + local EPYTEST_DESELECT=( + # TODO: recursion till segfault + tests/serializers/test_functions.py::test_recursive_call + ) + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # different repr() in exception + # https://github.com/pypy/pypy/issues/5220 + tests/validators/test_arguments.py::test_error_display + tests/validators/test_definitions_recursive.py::test_error_inside_definition_wrapper + tests/validators/test_string.py::test_invalid_regex + tests/validators/test_string.py::test_backtracking_regex_rust_unsupported + tests/validators/test_union.py::test_empty_choices + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + rm -rf pydantic_core || die + # tests link to libpython, so they fail to link on pypy3 + [[ ${EPYTHON} != pypy3* ]] && cargo_src_test + epytest -p pytest_mock -p timeout -o xfail_strict=False -o addopts= +} diff --git a/dev-python/python-slugify/python-slugify-8.0.4.ebuild b/dev-python/python-slugify/python-slugify-8.0.4.ebuild index 4154ba6e0871..1b6f215ab753 100644 --- a/dev-python/python-slugify/python-slugify-8.0.4.ebuild +++ b/dev-python/python-slugify/python-slugify-8.0.4.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~arm64-macos ~x64-macos" RDEPEND=" dev-python/text-unidecode[${PYTHON_USEDEP}] diff --git a/dev-python/rtree/Manifest b/dev-python/rtree/Manifest index ea3894f72d83..fd47b2299158 100644 --- a/dev-python/rtree/Manifest +++ b/dev-python/rtree/Manifest @@ -1 +1,2 @@ DIST rtree-1.3.0.tar.gz 48190 BLAKE2B 1a9ed3617ca14e3a88e5800e871e3d3edd58bc31d5dcad3c30a4a3a51b44678beacfddc1c72cbd984139e8e9acfffda45cc478857dacba5b44e7775f29ef890f SHA512 28810b769d90914e5aea9ea0b7f27b946c8d19495965696624d4fdd94c6ad462eb5ce7004d2c41e017d14a69bc913f43fdcef5293abe8504b66d8dcd5f4955a2 +DIST rtree-1.4.0.tar.gz 50789 BLAKE2B b3897a0c5332843c4c938a4ff494d17f006e05891bb6af70cae19ac323aec21bb5f42fdb3066c2a26007dbcd171258566f5ec67fba7ad9945f30c8929a005d17 SHA512 8306d519169f067d6c97adeb7a18d5053c192437b8a2b7288c2bfb379d2bdd885ac3b400d37ecdad224d1aaee542f6b9f50567baae5a8b02a23419f1da562b5e diff --git a/dev-python/rtree/rtree-1.4.0.ebuild b/dev-python/rtree/rtree-1.4.0.ebuild new file mode 100644 index 000000000000..0119a98d5716 --- /dev/null +++ b/dev-python/rtree/rtree-1.4.0.ebuild @@ -0,0 +1,36 @@ +# 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=setuptools +PYPI_PN=${PN^} + +inherit distutils-r1 pypi + +DESCRIPTION="R-Tree spatial index for Python GIS" +HOMEPAGE=" + https://rtree.readthedocs.io/ + https://github.com/Toblerity/rtree/ + https://pypi.org/project/rtree/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + sci-libs/libspatialindex + dev-python/typing-extensions[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + dev-python/sphinx-issues +distutils_enable_tests pytest diff --git a/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild b/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild index 723b9741fd89..62e481d7bf87 100644 --- a/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild +++ b/dev-python/text-unidecode/text-unidecode-1.3-r1.ebuild @@ -17,6 +17,6 @@ HOMEPAGE=" LICENSE="|| ( Artistic GPL-2+ )" SLOT="0" -KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86 ~arm64-macos ~x64-macos" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86 ~arm64-macos ~x64-macos" distutils_enable_tests pytest diff --git a/dev-python/tzlocal/Manifest b/dev-python/tzlocal/Manifest index 2ed6b3ed1e0a..e2fb4b977d0e 100644 --- a/dev-python/tzlocal/Manifest +++ b/dev-python/tzlocal/Manifest @@ -1,2 +1,3 @@ DIST tzlocal-5.2.gh.tar.gz 25734 BLAKE2B a2f1084e9128bc66ff861bd953a7c7a1c69e29d1e411f9489b9ff13cbadac75f42c126ddd3b66e8426e41d6376d3f9646192dc4bb5ed421b602b85bd8f109233 SHA512 21e25ef6756cb11277027dc388f779f68b1c5e03c1e7dced81fdebe0d3656c81c363a1c2f3a98344f34325bc9533d995c5a006ab7b34ff2907442a6994024d4e +DIST tzlocal-5.3.1.gh.tar.gz 26331 BLAKE2B d2f2f1981613fd148950bcfe5ab3797597c77342d0d848379562534a4fae2c9b9b0c98d6fb4cc1758d4b1dc6d6bda4d2f3ff9555d0bf0418c4cfa589fb720a12 SHA512 e72581649488e9771d314c7aea149367749866263df18baccb63c4fe369a863c392a8522c6be7987c32ff835dd11aae93b37028b0e7276dcf5c3d6e9a7b63ccc DIST tzlocal-5.3.gh.tar.gz 26080 BLAKE2B 3bebf3872a11e1b75c450fa055c14cbc0158bf11dbdb6f67a57506772ebc142887d373abe0d3c1625c6b6b984469e11dd5e2ab1b620f13c03db9327d70e7f2ad SHA512 46461c368d16d9a8152ef2cc70f5705d2fc87756eaf3ae25065eaa1874f1adce6d7871ee73b9c68d9abb3a46915a29620d2bde018a9b51502247dfa488115b9b diff --git a/dev-python/tzlocal/tzlocal-5.3.1.ebuild b/dev-python/tzlocal/tzlocal-5.3.1.ebuild new file mode 100644 index 000000000000..3e1872fe09d2 --- /dev/null +++ b/dev-python/tzlocal/tzlocal-5.3.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="tzinfo object for the local timezone" +HOMEPAGE=" + https://github.com/regebro/tzlocal/ + https://pypi.org/project/tzlocal/ +" +# symlinks aren't correctly preserved in sdist, as of 5.0.1 +SRC_URI=" + https://github.com/regebro/tzlocal/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest index ff2c2f467ca0..c1dee652128a 100644 --- a/dev-python/websockets/Manifest +++ b/dev-python/websockets/Manifest @@ -1,5 +1,5 @@ DIST websockets-11.0.3-python3.12.patch.xz 4328 BLAKE2B 6ef94255ef5d95de8015eca14a5110373ab9ffadf4d1c86a892da1aac46caa2755cafeb643a222000a03262c1b1b1aea58132daff36981c00dbb68ce05484058 SHA512 421a6fb5a2a801850ea1fbaf890c11eac0f55ad288185f16f4244f316132591bc5a814636141ba3ada67aeff340f41de61d06c8db87010c858c1b0b02fd9b5ab DIST websockets-12.0.gh.tar.gz 352120 BLAKE2B cab704e0ee44a7012ee58d515a5ea7380a97a3cbb8f55d105c00c8c2b9ed992b4c87435875474de32e5969fd92256bdec830db0571399a1d2e5fb719b23c2d83 SHA512 f17943d444ce275b709cf89453b2d2cce09f5af26f0460e226c2e24cfbb425c825963352e130dcd4201587606355375b525d8e5a02eccbffbb3985a108a3ed5e -DIST websockets-14.1.gh.tar.gz 425408 BLAKE2B ebedf5bf27373cc05b6b82675bf7ff32b63f025e9bcee405a224c44d54e93b6a10d86a1deb1773e232fe1bb1680642e4553b9f5be999cb7523823b180a899840 SHA512 771c7d2e55f90de1307d8d662c2066397c0e2299f321dd3621df99cdf105f8d9d7583b70e7d1c51465174e9d35ba8db51eda559ca9bbd7ce74c90d1759df2e5d DIST websockets-14.2.gh.tar.gz 427526 BLAKE2B 2c6fca711b16e5c45d49320f86f7da2ef428573786dbecb57876978b8a2819d8074984d929a0ff16222a8131f175287ed66d5c19dd7ca12106fbe93449a3dda6 SHA512 b5b5ce455e5b68a14993ac1d02c6f417db6cc89cdb9b21e12ba1e1975050fdf7e1935e08a35d8fcb41f5e255385c72834627c989f0734d7015bc1817f6067fe9 +DIST websockets-15.0.1.gh.tar.gz 455094 BLAKE2B c3bb0fb19624dbe7d5474584b360415931677ea553170483caee142e8a78120e449902b8ccff76f37ced1959f2758480e536d196fd9488c9a54281e2d82e2820 SHA512 878a5c19e393b4f5994bbe7a4c9d1266d97eaa02e2610f307a62ee9af2386a1210387d2cb81c19b4795ab76b80de4e9e2bfcad89e0bca3f7b9db76ce0a148ebb DIST websockets-15.0.gh.tar.gz 453725 BLAKE2B a4b7a60533744d7e1ed2fb5ae59853d9db2b73f4311f1753383603e02d6df98963cd58e723de5eddec0d52dddcf835ede8a632196e832c81ae89b7321807761b SHA512 8fbaa26846cfe08802d580e0559fa9b00bab004a3ec3bd97aef05725778c1695e092977324ebbec50c1886e8fe13ac4b1d8fb752a13d25f178c976ad2a918dba diff --git a/dev-python/websockets/websockets-14.1.ebuild b/dev-python/websockets/websockets-15.0.1.ebuild index 40042d52a2cb..61f54c7c9fa3 100644 --- a/dev-python/websockets/websockets-14.1.ebuild +++ b/dev-python/websockets/websockets-15.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,12 +19,11 @@ HOMEPAGE=" SRC_URI=" https://github.com/python-websockets/websockets/archive/${PV}.tar.gz -> ${P}.gh.tar.gz - https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-11.0.3-python3.12.patch.xz " 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="+native-extensions" BDEPEND=" |
