diff options
Diffstat (limited to 'dev-python')
69 files changed, 1333 insertions, 474 deletions
diff --git a/dev-python/apsw/apsw-3.49.1.0.ebuild b/dev-python/apsw/apsw-3.49.1.0.ebuild index fefa96c4531e..50abf3a58642 100644 --- a/dev-python/apsw/apsw-3.49.1.0.ebuild +++ b/dev-python/apsw/apsw-3.49.1.0.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="ZLIB" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" IUSE="doc" DEPEND=" diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 59bce25f793d..eac3b5cdedc1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.37.18.gh.tar.gz 916523 BLAKE2B ddce395151b08982cd62156dcb994a496691 DIST boto3-1.37.23.gh.tar.gz 920294 BLAKE2B c1bfcb5dd8c883c122b530ac2756c77884d74a43caeaeaded4e7f26bf9fbe829c7b4d70968b19e2561b4ed495c8e05e141ae365fcff7fa10159ff0c04dcc1f3e SHA512 b2fb0b4730e32ec881e933eeb6e57ce5dcffe9cfe5f586a15e5a9abea5d3a515d5db0c66058af3c0c8c206472fdfef80b74b750bd024718078ec9a5a94b01e29 DIST boto3-1.37.28.gh.tar.gz 922848 BLAKE2B 134a4054d1142de5f63198f6fd97eef3dc5fe38523e688ccda56960200f2b1cd2ee862d95a275a13744844006e78584d1510850b2873da74d3ebdf53ceecd0a1 SHA512 f794769b083f52dd7e546758fec9a42dbf6fa8e09eef82a631b8d3b9dcb3b449aa85b7e72cb9a1f33c6bcaf89ef2bede4f771110e723efd98b47c9ab5c31c51f DIST boto3-1.37.29.gh.tar.gz 923479 BLAKE2B ab940851062f611e3a3011e908c28c7cd3129020cec11272b85613b0c135af1a9df6e171b4a1c3ed4f0c4015512da8b00a3f8430bff38ba89c6030dcddd6adff SHA512 d2dbb36e0e375084a1022ae1dc8fb89601c625edd4f780ab01a1d137377752ea28f691a1e774077ad2585b0df119f4e29c9f74ea43c9e63ca4bebc95387f0b7b +DIST boto3-1.37.30.gh.tar.gz 924249 BLAKE2B 54fa0f7a3f2a926345aaaaf1bdf9610b4ea8b5745eb64adf10b863b00b587e91fb987d7047fe4b62d66815c907ab01198d364506c9c0b72ab097c53c3f4053af SHA512 d50188a48f0257f89a2884b3f4f5e2d6b06a9af692119e09b0846b9b3d53d40cf11a15045edf267d1faed3cf59a5cb5274f7e253451ce129b64562fd89bba0f6 diff --git a/dev-python/boto3/boto3-1.37.30.ebuild b/dev-python/boto3/boto3-1.37.30.ebuild new file mode 100644 index 000000000000..dfe05b3d9a81 --- /dev/null +++ b/dev-python/boto3/boto3-1.37.30.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 5e8309fdcccc..064ab0f59462 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.37.18.gh.tar.gz 14386605 BLAKE2B 541cfccf5251a7534751a48de2e1c4d DIST botocore-1.37.23.gh.tar.gz 14408721 BLAKE2B 6309e847210a3f7f916679078fba54afff6369d0d983638a1f0535da30349e918699c022929585d5d106a47822f746429b5eb4e52f0996059ce38f989cbf05c2 SHA512 61147b40c082469c5d99ba626ce1549c2d640c25151ae39e588c1ca15c20aa3eff1eeb1d91de18c62203099d45f1a70541e675b9c5ab14f5c04f90982f9a2ddd DIST botocore-1.37.28.gh.tar.gz 14529730 BLAKE2B aa04a445d45d24ff7dad8553ce19676fc73e6cd852b5ee41c3cc29039aa6b353399ce9e17b8081e21652fd2bb06b1f58822cf1143a0305256c78515f21d64fa9 SHA512 ea757146393a94faee45487d3b0b4ba0927f0d3a5a37349788a2e2a4d1b4950d027d47bc92c3eb021d2253ce80fc4399a5dbfca447382d6b68e49786951fa02f DIST botocore-1.37.29.gh.tar.gz 14534398 BLAKE2B 22916213e7dcba5c6e17105a6abf2752586d17fc1496c1d09b92584cd2d4c5a341c251253bdbdf0699b8cc7d4a2d190d1855698847adf0352f003a1a667bac25 SHA512 3346fa9013d4b361a9fff66aed238d71ba65ebd63555c50fd443aa07eda7c599e1816c8900320a97799ed3aaedd1fd246a5499627ceb9933204f45b878fece6c +DIST botocore-1.37.30.gh.tar.gz 14539545 BLAKE2B 73b3c393d5da95b89d798695ba1fb656017c9d3754371d2d6debbcac8e33795d27bad0fd18258b0381148cd2fd45cabadc59a17745bf1908f23342bbfae3b60f SHA512 8f6d8b963e06b94fd373ab54a84c4083c9a55637d88cb75d2844e094dc1a6ca7a954b215f71515841a6a2776526f1807c2a50983f6417b08057bc2ca843ac390 diff --git a/dev-python/botocore/botocore-1.37.30.ebuild b/dev-python/botocore/botocore-1.37.30.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.37.30.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/cachetools/Manifest b/dev-python/cachetools/Manifest index e72d1c526512..b028bde4f12c 100644 --- a/dev-python/cachetools/Manifest +++ b/dev-python/cachetools/Manifest @@ -1 +1,2 @@ DIST cachetools-5.5.2.tar.gz 28380 BLAKE2B ff0f838bdcf3ff29a466829a34e80c83a0d15763039bc9d81e254daf150bbd39a42a04b4541be06d7beaa938561a1d35646a83eb22474baccd33479d5a56b53e SHA512 9969eb5ca092174975a79e664594842b4ae4f671bc17ae3e3d2d286b164eb408af254d6b40358dcbe5e4341fc6a0ef928e192eb1432696ed7654729062555a29 +DIST cachetools-6.0.0b3.tar.gz 29181 BLAKE2B 8dee80202f141b534372d3abe3a44f3e26d8e9b65433006bc61057d4d2f603bb0acb9bc1e9c66e732235f878a8cbc7c10c6d732f654ad076e02e5a430ef0191e SHA512 8dc36cb6f804a600fc59f900e40c13dc907e58f87fdf7b336d5060a3c7424c8769742f39a1cef7fed6f8af3e88c8f9b4a29fd13d9caea00ab97b4abb8197cc22 diff --git a/dev-python/cachetools/cachetools-6.0.0_beta3.ebuild b/dev-python/cachetools/cachetools-6.0.0_beta3.ebuild new file mode 100644 index 000000000000..6227509adae7 --- /dev/null +++ b/dev-python/cachetools/cachetools-6.0.0_beta3.ebuild @@ -0,0 +1,21 @@ +# 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="Extensible memoizing collections and decorators" +HOMEPAGE=" + https://github.com/tkem/cachetools/ + https://pypi.org/project/cachetools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index f7b4c62d35d4..4f9b537f59db 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -1,2 +1,3 @@ DIST cfn_lint-1.31.3.tar.gz 2856311 BLAKE2B 46c7dee3b3a70f59675dd3879604a0860b99b193ce37e11b05f60bb08d1f3e97da7887b8d13be48d5721826ca46f5bdca61945b8d2fc6558d9290eec5257fa64 SHA512 4d63d3d529b292125be9b139ebc73ae75024e61afa0928afd6f73f573aaadd9cb1e359cf4bc61aa245c05de86406b9894bca1519b682248946eff0664bbefeba DIST cfn_lint-1.32.4.tar.gz 3090585 BLAKE2B 348c0a4326bcd8a7c0c0230d6090774b300192e4a68086ab4a8350ed0b854b750feae0ad55953c1f3a8ccf32990b58078668b76bfbd41ee59bc736bede87f524 SHA512 81545db95bca2f31a41f327e4303e4ec5d398b7b1b25030bb0a8f550ff79591d0e350173234c2a54ae4317180442943bd0c0e4d8327e3163c1f5ff9b92dc5fac +DIST cfn_lint-1.33.0.tar.gz 3162568 BLAKE2B e2056dc29c6df1b8da62b1ac715ab7360c152ab7287e972f7b65cb2b936332dc07f42dc752089c6e43086fb73ab4ecf9bb2d5706adc4c03dacc84715edbf3ecf SHA512 bf856045ae3a5ce61bb59f50b0d3f445f3ee8e7afef94cc51db807fe02a55e141b83c37750038eb75cc7a9255b2f35c23c57059a8fd955065db4d0a1d52d8379 diff --git a/dev-python/cfn-lint/cfn-lint-1.33.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.33.0.ebuild new file mode 100644 index 000000000000..253fbf6c8232 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.33.0.ebuild @@ -0,0 +1,61 @@ +# 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.96.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/dns-lexicon/Manifest b/dev-python/dns-lexicon/Manifest index 14d284cf3334..561905e2e822 100644 --- a/dev-python/dns-lexicon/Manifest +++ b/dev-python/dns-lexicon/Manifest @@ -1,3 +1,4 @@ DIST dns-lexicon-3.19.0.gh.tar.gz 6273456 BLAKE2B e0c47e8657b6c2724b50423359200cadac52434a31cbfd9c628ee5dd5cc3cd8779f4b51bb7522a308df90489f30aeec0a0ee44dcc850e5766d0f6b7d25b617f6 SHA512 4efc8864f073ca895a78eeedaf091f8b19df497caa9d8f759d051ac6e91c34e0798b0f7440cad601da62e4115a9abb596660255a8b02096959bd50411d5768be DIST dns-lexicon-3.20.0.gh.tar.gz 6274333 BLAKE2B 98b9161b5eac26fcf41b7c3930a488f76a5be4a18303ab4fb13d66038b860d1ed7dc6d5e651630384aefa168bfe03ddba1be5da04e3d453be269b131d283d9b1 SHA512 80e1944687bed648ac70825ceb13098441d8937b362008f16a7eaebcc3c4a84ea15584ae5c6c31b88a08c503cfb5ed0e9f873192e6c0ba126dffd9b95576b681 DIST dns-lexicon-3.20.1.gh.tar.gz 6275134 BLAKE2B 28d09b849891081f01150a25559625cbf2cfcccba5d8be36c8cb3ad5fa9c440a7d1b7f31a114edc5738ad337fba4cd520bbe85ce6753dfd9ca8855eb2aeab9e2 SHA512 98a29bc67596e58ada43373fd1dfa2a5c35512dd33924969df0d16c10cf2e53cf2bc564488c9f7a1b682b63a7959cd2073207a8d77435aa62a04f408024d85fd +DIST dns-lexicon-3.21.0.gh.tar.gz 5773198 BLAKE2B 484c932ae80c2a5c1dc045144cde80a41f825e8e9c9c36193522312cb460eb876ee6bf84a1c3526e8622e6312ad0cff8b4a18446dff0b420bc716527f38d0d0d SHA512 1b132fae2741d8cf505c0779724b5e0d518683226099c796f1b77b4ceb07e1fbecccb4d82869be090f2c379b3d17f19766857e49f83760d793a0934f520bc8ed diff --git a/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild b/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild new file mode 100644 index 000000000000..025f4ab3d79d --- /dev/null +++ b/dev-python/dns-lexicon/dns-lexicon-3.21.0.ebuild @@ -0,0 +1,72 @@ +# 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 optfeature + +DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way" +HOMEPAGE=" + https://github.com/dns-lexicon/dns-lexicon/ + https://pypi.org/project/dns-lexicon/ +" +SRC_URI=" + https://github.com/dns-lexicon/dns-lexicon/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/beautifulsoup4-4[${PYTHON_USEDEP}] + >=dev-python/cryptography-2[${PYTHON_USEDEP}] + >=dev-python/dnspython-2[${PYTHON_USEDEP}] + >=dev-python/pyotp-2[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3[${PYTHON_USEDEP}] + >=dev-python/requests-2[${PYTHON_USEDEP}] + >=dev-python/tldextract-2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/boto3-1.28[${PYTHON_USEDEP}] + >=dev-python/zeep-3[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # TODO + tests/test_client.py::test_client_init_when_missing_action_should_fail + tests/providers/test_godaddy.py::GoDaddyProviderTests +) + +EPYTEST_IGNORE=( + # Requires the "localzone" module + tests/providers/test_localzone.py + # Requires the "softlayer" module + tests/providers/test_softlayer.py + # Requires the "transip" module + tests/providers/test_transip.py + # Requires the "oci" module + tests/providers/test_oci.py + # Uses tldextract which needs Internet access to download its database + tests/providers/test_auto.py +) + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + optfeature_header \ + "Install the following packages to enable support for additional DNS providers:" + optfeature Gransy dev-python/zeep + optfeature Route53 dev-python/boto3 + optfeature DDNS dev-python/dnspython + fi +} diff --git a/dev-python/ensurepip-wheel/Manifest b/dev-python/ensurepip-wheel/Manifest index 7192a6064815..70dc4655c91a 100644 --- a/dev-python/ensurepip-wheel/Manifest +++ b/dev-python/ensurepip-wheel/Manifest @@ -1,2 +1,3 @@ DIST wheel-0.45.1-py3-none-any.whl 72494 BLAKE2B f87dc394465368d06eb57c1697d45250ac3e04a15841ab018b1fc5ca5bb8eaa731108c61e6e2a018b6d2a6fa3ea66e5b182d6041c5143d03f7b2b92bdb2e71c6 SHA512 86c16248ec804ee0ac95d43b03d47351dceb534d0cdc4025ca1eb073e39e539de44c870b9261f0373144e1537f0e42675a759a318a8d5d346bbd9efcb704061d DIST wheel-0.46.0-py3-none-any.whl 18426 BLAKE2B fe5b7231752653ef26f93541a98643d11b404d744aceefda4bd776bd34293ef05436e3989080d047f7bd2f34711483740c640d738ecb53a4454c5509b2e8c210 SHA512 45a4bc0b5b7921a851173609e1b1227e884e2403843bfadea037edd77369b037e00d735c4f8a42c75f3ab6d0cd6189821be50495c4a3a80f809e6383d51c10d4 +DIST wheel-0.46.1-py3-none-any.whl 23058 BLAKE2B fd64eddd1768ca3188aedeef564f512e607b74a6328bdbfd1c0dac85e29a8ad284a69fefdbef8835579181531c87ef3f650240c87dde864d310c93c18f91eaad SHA512 164545812eeb6810bff673e38871cbb6ab87ec5f000b91fac70d961d41623d8cdb8df00475a3f30dacc94c458609564b0c631ca11397b7c742c515bf4c501fae diff --git a/dev-python/ensurepip-wheel/ensurepip-wheel-0.46.1.ebuild b/dev-python/ensurepip-wheel/ensurepip-wheel-0.46.1.ebuild new file mode 100644 index 000000000000..c724ffdae06d --- /dev/null +++ b/dev-python/ensurepip-wheel/ensurepip-wheel-0.46.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pypi + +DESCRIPTION="Shared wheel wheel for use in pip tests" +HOMEPAGE="https://pypi.org/project/wheel/" +SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")" +S=${DISTDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +src_install() { + insinto /usr/lib/python/ensurepip + doins "${A}" +} diff --git a/dev-python/find-libpython/find-libpython-0.4.0.ebuild b/dev-python/find-libpython/find-libpython-0.4.0.ebuild index fcc488c7ab91..7de91acb13cc 100644 --- a/dev-python/find-libpython/find-libpython-0.4.0.ebuild +++ b/dev-python/find-libpython/find-libpython-0.4.0.ebuild @@ -14,9 +14,8 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64 ~riscv ~x86" -# Tests can't work inside network sandbox -RESTRICT=test - PATCHES=( "${FILESDIR}/find-libpython-0.4.0-fix-license-qa.patch" ) + +distutils_enable_tests pytest diff --git a/dev-python/greenstalk/Manifest b/dev-python/greenstalk/Manifest index c85a0b9ae97e..dcbae98060b3 100644 --- a/dev-python/greenstalk/Manifest +++ b/dev-python/greenstalk/Manifest @@ -1 +1,2 @@ DIST greenstalk-2.0.2.gh.tar.gz 14352 BLAKE2B a938d5a3b9a55bd7ad50001c6fef7c34ac9ddc8a4425dd0880f2a1c904bf67d459eea2e4935748aa8bf419fa4eba23e570a23e59c44c05e9ae15ccde175efd35 SHA512 50016b9cfe01c5ab9d50f4a5766a57a436ca7a4d3488dcf0db6ea54c1b3880574ccb9c56664dc62ca6c0173b37ddfd1680af765ce7df5b5d84d0ddeab3ae2b7c +DIST greenstalk-2.1.0.gh.tar.gz 14743 BLAKE2B c496caf2f873d16d840950446f4a86f51d9de4499033e3bfe5d6635fb2169768144b1c96a820ffd31ebc577d0a0c91a26851f4d018d9d6d4b9b3d0e92128337e SHA512 d2fae21af84b43431c4808e33c90b58b8acf76181e147f6a8cb993a9ff70566bbf2e972c3fe82aa0f967cc0b9cd369b7ca332d21dc8a716e00573781877e2c97 diff --git a/dev-python/greenstalk/greenstalk-2.1.0.ebuild b/dev-python/greenstalk/greenstalk-2.1.0.ebuild new file mode 100644 index 000000000000..3e72d8c5a836 --- /dev/null +++ b/dev-python/greenstalk/greenstalk-2.1.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=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Python 3 client for the beanstalkd work queue" +HOMEPAGE=" + https://greenstalk.readthedocs.io/ + https://github.com/justinmayhew/greenstalk/ + https://pypi.org/project/greenstalk/ +" +SRC_URI=" + https://github.com/justinmayhew/greenstalk/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +BDEPEND=" + test? ( + app-misc/beanstalkd + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 9bb3258ea799..91e6034cc940 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,4 +1,5 @@ DIST hypothesis-6.129.4.gh.tar.gz 9528147 BLAKE2B c85806af24ddd934338f99c9d62a577fb35c8809d71ddf23aea0d613f33e690c70662279e88f4680d48c0c3b51fa10ff99c29fde7cf2d3c094cfaa0aa65b7612 SHA512 aec846f34e3a66da8a79929da681bd41ac7deb4a83934a51ee69bf989ddb8f3f7bd8f612571e625d3334cf786e3841b4e4d05fe4368e930e5975077e0f027a7d DIST hypothesis-6.130.10.gh.tar.gz 9540669 BLAKE2B 778cbdefdb84c8e86598926aca720efebfab5cafd08a421e1cde40341002088191e450f33c62e73a32eea47fe26791e96586416620592d2ee5cd359f478e92c9 SHA512 0534355ffdb03b8efaaf196dd3fc909cb6df113b0170710aa1e441bedcd772ae55b1e3d60596b45edc2f150871e54494fbbeccbd21e9c2416bdcb39c4fea2162 +DIST hypothesis-6.130.12.gh.tar.gz 9543942 BLAKE2B 27c4bef0f68ee434ce81582b86441138be1cc7b7c39e56bbd64914a3bc2754a9f997e7d3a86b6187e2d46defa7dd4de21f7eb7a0ea8a5a0f1a71338a4e73ba0e SHA512 ee766ab5d3864384ae8d31a835f3eb742f2573031246791d9260a49d6fa6c27be247bdef4595b6f9f5561c4e5e057f097bfaae8d301c2267b53302e0df0a3433 DIST hypothesis-6.130.8.gh.tar.gz 9538996 BLAKE2B 7f2779a69fbb1301cf7cdf0b414aff28e60cb2efb4d2451f2962cda1c048401d1e532e205c993691e1b2aa0f71af1a67274f40dd03a449db4f62de01c22c9dd8 SHA512 85df9ed0477d37b9fb96ada20aa41b8b65b27496fb0a4cfb44ebbab94d6859bc2767e8529f76b53e6f28cc122eea8529784a97b4e4b1803004072e317ecee00f DIST hypothesis-6.130.9.gh.tar.gz 9540297 BLAKE2B f1739aa493baf7c908064b6450f601576b5e71ad254bf3b45cb2cdcf6b34f98f647beef5ed939e099c33e60cfe5ffc8b1b13b85ac115361e3a19c34ca30fef04 SHA512 11ac4ae33a53d622eaebdf6106b13d51141a57140c268d465d202650ae79925777fbebde828188b2ba1ba87f6e062f8d014131eef5b0d2315a327a9dcea7d30c diff --git a/dev-python/hypothesis/hypothesis-6.130.12.ebuild b/dev-python/hypothesis/hypothesis-6.130.12.ebuild new file mode 100644 index 000000000000..ba7cfa420917 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.130.12.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.1[23]*) + 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/itemadapter/Manifest b/dev-python/itemadapter/Manifest index edb75523cd0b..e5aef7e57410 100644 --- a/dev-python/itemadapter/Manifest +++ b/dev-python/itemadapter/Manifest @@ -1 +1 @@ -DIST itemadapter-0.8.0.tar.gz 17140 BLAKE2B 8dc2fa0fd08236a41c6671793781ee113f3382c9bfeb3e9a528293e7725408a47a40ad650d80f24dbae8047f72f742b2bd99f142b342190acb2db33b6e68c7f8 SHA512 86c688bef2d0add3f5ea2bd119689b076c5bc9f92edefb6f5d8faaf88023355e7d2ba5d683ce8f6acd24a2954c5a798902b30d0a70ca31dc32eb5245ad57953f +DIST itemadapter-0.11.0.tar.gz 24045 BLAKE2B 0549636e7157b49d8350bfd7b71c7fd6044953cef6e02d8fb686beb5c6762cbbac136b7a9606b8e587181faeafe2053ee2820c92fdaea711c0f2af8cb542d4e3 SHA512 260d1c2ce9964f5d3f7af4431fda7f5ad1a4090c1c9ceb0f8e7615c83bbe40f201f385c227c1390ce1de9ea631b690c84d38af62f2a74b833a5be47da410a08f diff --git a/dev-python/itemadapter/itemadapter-0.8.0.ebuild b/dev-python/itemadapter/itemadapter-0.11.0.ebuild index bd36083b2d5d..42d86f931f06 100644 --- a/dev-python/itemadapter/itemadapter-0.8.0.ebuild +++ b/dev-python/itemadapter/itemadapter-0.11.0.ebuild @@ -4,15 +4,15 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi DESCRIPTION="Common interface for scrapy data container classes" HOMEPAGE="https://scrapy.org/" -SRC_URI="https://github.com/scrapy/itemadapter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT=0 -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND="${PYTHON_DEPS}" DEPEND="${RDEPEND}" diff --git a/dev-python/itemadapter/metadata.xml b/dev-python/itemadapter/metadata.xml index 0278f84e08d3..c5d2fd181bd4 100644 --- a/dev-python/itemadapter/metadata.xml +++ b/dev-python/itemadapter/metadata.xml @@ -5,6 +5,8 @@ <email>gentoo@aisha.cc</email> <name>Aisha Tammy</name> </maintainer> - + <upstream> + <bugs-to>https://github.com/scrapy/itemadapter/issues</bugs-to> + </upstream> <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/itemloaders/Manifest b/dev-python/itemloaders/Manifest index 93a1813038d1..9222354644d2 100644 --- a/dev-python/itemloaders/Manifest +++ b/dev-python/itemloaders/Manifest @@ -1 +1 @@ -DIST itemloaders-1.1.0.tar.gz 27962 BLAKE2B 960134a1fcd52e06db9f251297aec504ff37b1d90892d31c1726b31b0f028f65771b02762822c7be55e1dd7297e837c430e036b0ebf21b192f2156bbb4aa9727 SHA512 4a52e75405409124a3c1f7e7079fedf36e34a76877b04d754006743a2f403602de9b463e1f338bead3a68a0c1cf32f2a50b4cbe4cc57a10539ec529a93b81607 +DIST itemloaders-1.3.2.tar.gz 19707 BLAKE2B 6306fcd37f3ca31d2862c7c801ec5b707122c78b5d969fdac200f8827dac05c81ae8e1bc69ec39b2d48fd34779459fe4fc440955347bc7a7827e93affb90edee SHA512 2dc79c3da6abf5b09dbbef11390757af74a4f7d0c22c83d7f8ecbbca3373010f421483521f2c481b99257f73df49f8a7c487e13566b2d4e44fb4b918ba9e9b31 diff --git a/dev-python/itemloaders/itemloaders-1.1.0.ebuild b/dev-python/itemloaders/itemloaders-1.3.2.ebuild index c5ca9b233cc6..fd96694b1e7c 100644 --- a/dev-python/itemloaders/itemloaders-1.1.0.ebuild +++ b/dev-python/itemloaders/itemloaders-1.3.2.ebuild @@ -1,18 +1,18 @@ -# Copyright 1999-2022 Gentoo Authors +# 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} ) -inherit distutils-r1 +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi DESCRIPTION="Library to populate items using XPath and CSS with a convenient API" HOMEPAGE="https://scrapy.org/" -SRC_URI="https://github.com/scrapy/itemloaders/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT=0 -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" DEPEND="${PYTHON_DEPS}" RDEPEND="${DEPEND} diff --git a/dev-python/itemloaders/metadata.xml b/dev-python/itemloaders/metadata.xml index 9a378b03ff90..1488943498d3 100644 --- a/dev-python/itemloaders/metadata.xml +++ b/dev-python/itemloaders/metadata.xml @@ -6,6 +6,7 @@ <name>Aisha Tammy</name> </maintainer> <upstream> + <bugs-to>https://github.com/scrapy/itemloaders/issues</bugs-to> <doc>https://itemloaders.readthedocs.io/</doc> </upstream> <origin>gentoo-guru-overlay</origin> diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index a11d7c268c91..37a64204a00a 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 9b3521c5721afa49a58e0c35267f7d82bb56bd7e1d6d3152be0d36cd220180a526cb20b90b1113fbf0fff4a512137570f0b3bcf864498b7b7cc00403cb61ca27 SHA512 16d311400bf84a5f04e15f3da4b68b2810e4b005009f4d03dc8a487176dfc294403c976c412c83dcfa8084a49ef7b7d5389b43fb2ba446ce107ce4595e3558c6 +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 eb2586280d80..56733bbffc48 100644 --- a/dev-python/langdetect/langdetect-1.0.9.ebuild +++ b/dev-python/langdetect/langdetect-1.0.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -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/nbxmpp/Manifest b/dev-python/nbxmpp/Manifest index f8f96bbede5f..57c6939ab7ed 100644 --- a/dev-python/nbxmpp/Manifest +++ b/dev-python/nbxmpp/Manifest @@ -1,3 +1,4 @@ DIST python-nbxmpp-4.5.4.tar.bz2 138170 BLAKE2B 00a4919032dd29828dc735695afe9c0814a8fe2ec765a534257768896d9f27bc3a395275d546ad717bdd16c97161e8f0a8acaf43cdb7bd9404e40bc72f2c3da5 SHA512 fcaedae519d8cd2d52cc65721ab1e743569ba1cf7c29f2db41ed5671ba0f2c5b47f1f6d9521e1614e89e21512a4575c6788316cdb86936f0c4886d54c3831bb3 DIST python-nbxmpp-5.0.4.tar.bz2 143198 BLAKE2B ac27204205ded7e0d20237ee7f70e5f84f8f4ada54951e209a30c59390fe166ef296875e45dd74216a04ba78d35968667d4f126967d97c57dd1533ce4d9edd0e SHA512 a6672b4046c2de596ca92129782574528d14ee75a7982bb32db398628e3901c8e780b8a33fac2710d13367a0990ba21ef148c255fa77dee219c6bbd0c453d935 DIST python-nbxmpp-6.0.2.tar.bz2 152154 BLAKE2B 1a6adebc1e6026fa0cd37a5ad7d430ef124b9eda5664a420ca9d6a059a1edb7154585331c91892c58f336db84bd457d937ab87a24945ab56d2ecaa17736d6030 SHA512 f91308ac627cc43bba55b7eee06978dfefe0a7d17509b3db190ea237a90df49aa9b3911f01b39061980477d4f7c09bb4356823b98595fd6e8423f232f8fb8319 +DIST python-nbxmpp-6.1.0.tar.bz2 152207 BLAKE2B 4b8364c15e37a11f0dd4ffa4b1896a5dd6de130c244fbdd63944a4fa2154cacb063402a4d52f7fe798f5402e193a00dc37adab7a5f58802268ea8c9907914f60 SHA512 c27dfd3658015d54d32dfa09bb10a9bf51df5d3109910d5e02a69bbf87d329cdeb62dd8bc7a8841d5ce0ab9702b38aaa38a9a229792b10f9e1f3c236f0fa913b diff --git a/dev-python/nbxmpp/nbxmpp-6.1.0.ebuild b/dev-python/nbxmpp/nbxmpp-6.1.0.ebuild new file mode 100644 index 000000000000..1d77a0a33b24 --- /dev/null +++ b/dev-python/nbxmpp/nbxmpp-6.1.0.ebuild @@ -0,0 +1,35 @@ +# 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 + +MY_P=python-nbxmpp-${PV} +DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way" +HOMEPAGE=" + https://dev.gajim.org/gajim/python-nbxmpp/ + https://pypi.org/project/nbxmpp/ +" +SRC_URI=" + https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${MY_P}.tar.bz2 +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + dev-libs/gobject-introspection + net-libs/libsoup:3.0[introspection] + dev-python/idna[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.42[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest diff --git a/dev-python/parsel/Manifest b/dev-python/parsel/Manifest index 27ead16ca941..5545daff7096 100644 --- a/dev-python/parsel/Manifest +++ b/dev-python/parsel/Manifest @@ -1 +1 @@ -DIST parsel-1.8.1.tar.gz 50881 BLAKE2B 8d81045e064105d344125e2baf1c769d9a7bddd011c4d544eb7ee0122fc360d74aa8e828bb51ae41fe70fc110f8d449bd1be957372e11ac426427ad85b522b64 SHA512 02101df4e36c704bce8fc24fac4c11beb6f72b6e7196d48c4472acb644620c3672bd6ef9166bac349ba01a4c3e75f5b166ca6f567294f1e3cf4b325a7883dd63 +DIST parsel-1.10.0.tar.gz 51421 BLAKE2B e7e37470b363fffc9a766d71f2d5a1ef9d1b7377461e9f4f9e3e83b30cfe3c8ac42e75645a19b613447f0373a94fc9879bba18e37038231564be6ea37d49a940 SHA512 aa0c3de6f8e8453ac942fd86221b6ed44c15874735af49fcef56bbd3c6aa9676b9642ea896924ac551cd4acabe2ea5d6124dc907b11ac26781da05e236f33109 diff --git a/dev-python/parsel/parsel-1.8.1.ebuild b/dev-python/parsel/parsel-1.10.0.ebuild index 3063c6c89959..8b1ce0b9bbb0 100644 --- a/dev-python/parsel/parsel-1.8.1.ebuild +++ b/dev-python/parsel/parsel-1.10.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT=0 -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/cssselect[${PYTHON_USEDEP}] diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 98676e2e73fb..3155e9ae7b88 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,3 +1,2 @@ -DIST pdm-2.22.3.tar.gz 2647179 BLAKE2B 61a2e99fabe3395d1f472cf6835a4b56fcecd02a3acf964051bde1304028db575cfcb77803922b2bf0f9f9be3864e59ae2f2f075d41e38a82fd07bdd5f9a8d22 SHA512 2d0aa9aa075e26d5184853d41e95d0427ac4c9a15ddfc00a2881a4edcd0d373d8c71efde2fd0f1f30861e07b418c577b123f53125883f6f5d424609f1c758b80 -DIST pdm-2.22.4.tar.gz 2647094 BLAKE2B 629b855964be63f4cddf9dd295390e62c5b948e1a450357ca9dce4f940e99064c335d670bd695c3fc62606452e7252f5ec4fcc145ec73b14ea6181e1c4193454 SHA512 9988420d27f1a409f81b33be8eeb7a209a37529e838465bde815f6bb50c923cb44004e528f735d99ddff02c11bc88dbf1544f310836262b158f783db241e5c9f DIST pdm-2.23.0.tar.gz 2648692 BLAKE2B aba0a73dbf6a34636144bf35e04226d8b11cc4e54f22c8c15f486424d564aa59161662477d0f740ed489382dfd7d95b743f4a548059c67dccb1caef4588d6db7 SHA512 47b17fcd23ead47886359f34eeb73783688349339efa00af709f740eefe9722d3313baea9ba479892dad9bc67ff85ec8b94d790f15cc9ab5a8322a09711ed0ff +DIST pdm-2.23.1.tar.gz 2650012 BLAKE2B 02e5189aa83425aca6f23091bb4596498302375915772aa770b69563fe4d4218d92059daceae3df7e528136b1d4f733e116efcba98e1477e5ad848fb8ecb0b1a SHA512 857367c90e6d92c2d7cb5143c9a9bcf4ea5402a2ef1334efca259ec079f97e4b87da1c1a86cd736e8ec4d8c69c80da9c3ca1c5413c72d431be96ba85c914662c diff --git a/dev-python/pdm/pdm-2.22.4.ebuild b/dev-python/pdm/pdm-2.22.4.ebuild deleted file mode 100644 index 281b11e31d7b..000000000000 --- a/dev-python/pdm/pdm-2.22.4.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" -HOMEPAGE=" - https://pdm-project.org/ - https://github.com/pdm-project/pdm/ - https://pypi.org/project/pdm/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - >=dev-python/dep-logic-0.4.4[${PYTHON_USEDEP}] - <dev-python/findpython-1[${PYTHON_USEDEP}] - >=dev-python/findpython-0.6.0[${PYTHON_USEDEP}] - dev-python/blinker[${PYTHON_USEDEP}] - dev-python/filelock[${PYTHON_USEDEP}] - >=dev-python/hishel-0.0.32[${PYTHON_USEDEP}] - >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/installer[${PYTHON_USEDEP}] - dev-python/msgpack[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/pbs-installer-2024.4.18[${PYTHON_USEDEP}] - dev-python/platformdirs[${PYTHON_USEDEP}] - dev-python/pyproject-hooks[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - >=dev-python/resolvelib-1.1[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - dev-python/shellingham[${PYTHON_USEDEP}] - dev-python/tomlkit[${PYTHON_USEDEP}] - >=dev-python/truststore-0.9[${PYTHON_USEDEP}] - >=dev-python/unearth-0.17.0[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/tomli[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/pytest-httpserver[${PYTHON_USEDEP}] - dev-python/uv - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # unpin deps - sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet - 'tests/cli/test_build.py::test_build_with_no_isolation[False]' - tests/test_project.py::test_access_index_with_auth - "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" - tests/cli/test_others.py::test_build_distributions - 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' - 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' - tests/models/test_candidates.py::test_find_candidates_from_find_links - tests/cli/test_build.py::test_build_single_module - tests/cli/test_build.py::test_build_single_module_with_readme - tests/cli/test_build.py::test_build_package - tests/cli/test_build.py::test_build_src_package - tests/cli/test_build.py::test_build_package_include - tests/cli/test_build.py::test_build_src_package_by_include - tests/cli/test_build.py::test_build_with_config_settings - tests/cli/test_build.py::test_cli_build_with_config_settings - tests/cli/test_build.py::test_build_ignoring_pip_environment - tests/cli/test_others.py::test_show_self_package - tests/cli/test_publish.py::test_publish_and_build_in_one_run - "tests/cli/test_hooks.py::test_hooks[build]" - "tests/cli/test_hooks.py::test_hooks[publish]" - "tests/cli/test_hooks.py::test_skip_option_from_signal[build-pre_build]" - "tests/cli/test_hooks.py::test_skip_option_from_signal[build-post_build]" - "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_publish]" - "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_build]" - "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_build]" - "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_publish]" - "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-build]" - "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-publish]" - "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-build]" - "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-publish]" - "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-build]" - "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-publish]" - "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-build]" - "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" - "tests/cli/test_venv.py::test_conda_backend_create[True]" - "tests/cli/test_venv.py::test_conda_backend_create[False]" - tests/cli/test_lock.py::test_lock_all_with_excluded_groups - 'tests/resolver/test_resolve.py::test_resolve_local_artifacts[sdist]' - 'tests/resolver/test_resolve.py::test_resolve_two_extras_from_the_same_package' - 'tests/resolver/test_resolve.py::test_resolve_file_req_with_prerelease' - # hangs on interactive keyring prompts - tests/cli/test_config.py::test_repository_overwrite_default - tests/cli/test_config.py::test_hide_password_in_output_repository - tests/cli/test_config.py::test_hide_password_in_output_pypi - # junk output, sigh - tests/cli/test_others.py::test_info_command_json - # why does it try to use python 2.7?! - tests/cli/test_run.py::test_import_another_sitecustomize - # fails in tinderbox (bug #928964) - tests/test_project.py::test_project_packages_path - # i guess doesn't expect some dep to be present - tests/cli/test_build.py::test_build_with_no_isolation - ) - [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( - # test seems hardcoded to 3.10 - tests/test_project.py::test_project_packages_path - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -m "not network and not integration and not path" \ - -p pytest_mock -} diff --git a/dev-python/pdm/pdm-2.22.3.ebuild b/dev-python/pdm/pdm-2.23.1.ebuild index 281b11e31d7b..1f41e18bcec7 100644 --- a/dev-python/pdm/pdm-2.22.3.ebuild +++ b/dev-python/pdm/pdm-2.23.1.ebuild @@ -29,6 +29,7 @@ RDEPEND=" >=dev-python/hishel-0.0.32[${PYTHON_USEDEP}] >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}] + >=dev-python/id-1.5.0[${PYTHON_USEDEP}] dev-python/installer[${PYTHON_USEDEP}] dev-python/msgpack[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] @@ -41,7 +42,7 @@ RDEPEND=" dev-python/shellingham[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] >=dev-python/truststore-0.9[${PYTHON_USEDEP}] - >=dev-python/unearth-0.17.0[${PYTHON_USEDEP}] + >=dev-python/unearth-0.17.5[${PYTHON_USEDEP}] dev-python/virtualenv[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] @@ -52,6 +53,8 @@ BDEPEND=" test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/pytest-httpx[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] dev-python/uv ) " @@ -128,5 +131,5 @@ python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -m "not network and not integration and not path" \ - -p pytest_mock + -p pytest_mock -p pytest_httpx } diff --git a/dev-python/protego/Manifest b/dev-python/protego/Manifest index de7a545a1ee0..c1ec0c530968 100644 --- a/dev-python/protego/Manifest +++ b/dev-python/protego/Manifest @@ -1 +1 @@ -DIST protego-0.3.0.tar.gz 3189825 BLAKE2B 79981352f9916f448416ebfabba2b96eb72ff2ac56065161a4a7e852bbb202e0ec56943ac4276bc808c3cd8f4efb41bbb3b7ab500b674f798024ae7568d99388 SHA512 79f3e20dd33120f67d1790b0faa29762b7f81b03c5f2501bd53be020c59b8dbe6536c952da41df60499344487a2db2f442e0d41510df975f14834724d974b34a +DIST protego-0.4.0.tar.gz 3246425 BLAKE2B 55449f48a3e8c91e323ea2cc1c4f20d0e313fa9f1b83d9e804c819e632a766f1d17130968439d50c3e7d86e417f20b3b74aaaead128cdb8854487d4a7d93e55c SHA512 291b0c6a08c88d2c5d2e9926cd7b80a8174f04f6f4ef2fd3ff624af145bd8511ac5f5fec5757d7ea73d8d46575d29e860d2d874db6a20e96bd45a394bf5ebe6a diff --git a/dev-python/protego/protego-0.3.0.ebuild b/dev-python/protego/protego-0.4.0.ebuild index e04396a68688..b883e783836d 100644 --- a/dev-python/protego/protego-0.3.0.ebuild +++ b/dev-python/protego/protego-0.4.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Pure-Python robots.txt parser with support for modern conventions" HOMEPAGE=" @@ -13,11 +13,10 @@ HOMEPAGE=" https://pypi.org/project/protego/ https://github.com/scrapy/protego " -SRC_URI="https://github.com/scrapy/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT=0 -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/pydantic-core/Manifest b/dev-python/pydantic-core/Manifest index ab05447b43fc..f8636ecd783e 100644 --- a/dev-python/pydantic-core/Manifest +++ b/dev-python/pydantic-core/Manifest @@ -51,7 +51,6 @@ DIST percent-encoding-2.3.1.crate 10235 BLAKE2B cf8e2fd7b359a05b7bdaf731f9ae84c7 DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 DIST pydantic_core-2.27.2.tar.gz 413443 BLAKE2B 2755ba694b17894ff89704203c275315dc6a600e5e89965f24800ff032802168a9fa5bbb26e9714dae42f645e34e0ac32191415fae04bd53a8d04c41f1d3e2c4 SHA512 4e0bc0137463d3a76bb584da76751916ddaa18383efbe15a303880649df67de22c67a8a6e5f889c76292c4557914811d942fd3373dad65b63d9fb1f84f34ce3e -DIST pydantic_core-2.33.0.tar.gz 434080 BLAKE2B 8f5e061e832db498079458b74a8c5403ca549212c3ce4bd26a261d49c9e23c34999b67cd53becfc089360523e0a0c1bf97776fbbc0e931fbe685d2f1db02e2fe SHA512 7b7c52682afdab99837c9109e01e841bee7d280d63cad40c278480e33dfd4791a058b9f80d2aaacce9b81987b561e9b5d3009510023e216e211ea8e081df3fc4 DIST pydantic_core-2.33.1.tar.gz 434395 BLAKE2B 3819c69b829655403888ac7feff11081f31cb459ca41bef7b4aec2afcf3285126ab01e8ba04c91ac7b1f74495dc85236bd5b7da9b3673497fc3eb8fa6eafe992 SHA512 f6e178296b4e47e498e2c5f65ee00c83fdd6f29af670215acf014fe2e29eab1b4072ab27f4c060d91e74171652e077ec561b9857f6bca20c6518f3eeec332533 DIST pyo3-0.22.6.crate 546746 BLAKE2B 2a6f8c5ce2ee96e1812177a11c5fad7e15f3a73d9e30850edf0855b13db6cc95427e186883b4aae25a2d2466d3fe82f56180a39f3e6e0a54bb0a3ef78d495400 SHA512 d746007eae22f5b7bbf173759c61cbd2aa893898d88b8be5680a0237deec4d113246edf5f62fbbec3579ad4bd7307499b94b887ec306112ffe3df5190fe70e44 DIST pyo3-0.24.0.crate 1108432 BLAKE2B 03098e1ed1f2bcb489ab5fbaf2605631f75804ad138591ae88975c287b8e7544e5f70ef7e3261625075498ac00545b79f6c0b5aab3bcdee2897cbbfabc3f7e87 SHA512 2b9be3cc780c48198ccad08c304053c5248d7c3b7a32e8a3eeba48246b962aa71cbf31ab8c49cab9b555933cccd447412761017b477019a35dc2598999fe63ad diff --git a/dev-python/pydantic-core/pydantic-core-2.33.0.ebuild b/dev-python/pydantic-core/pydantic-core-2.33.0.ebuild deleted file mode 100644 index 3ca6cc648fba..000000000000 --- a/dev-python/pydantic-core/pydantic-core-2.33.0.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# 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.9.0 - lexical-parse-float@1.0.5 - lexical-parse-integer@1.0.5 - lexical-util@1.0.6 - 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.24.0 - pyo3-ffi@0.24.0 - pyo3-macros-backend@0.24.0 - pyo3-macros@0.24.0 - pyo3@0.24.0 - 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.13.2 - 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/pydantic/Manifest b/dev-python/pydantic/Manifest index a438817ebf91..7cfc3b82112c 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,3 +1,3 @@ DIST pydantic-2.10.6.tar.gz 761681 BLAKE2B 1ddb057cd40f50d09dc870aae937bc4d5d41529601c26b84bbd5223d75adca43e14e779ef40ef88dbeab3dc66ae960b662a3244ffa38bf8718d6f9d50b966aed SHA512 69c5cdfb9047875497cf2ac0107f0aaa8d1d91a354d514277e913cc13081e1a76f72a154b50339c95240c82d2a262f4b8dcf71c1e5762449bd344054dba449ce -DIST pydantic-2.11.1.tar.gz 782817 BLAKE2B 9fb685ad6a3cb2b107f35f43e119cc92cef0b09a9abffca2c57548d325a77060a3ad752411ce06fd8221470a5b1605340ecd468b8e985ed7013fb972d825673e SHA512 cf71c91b362f67255c428c142f5b5a1cad6259f319e5ad41ae434db95caa9f16e392f878a9ddd89de5221c34413e47e76645c7068085bd585dbca1083818bee5 DIST pydantic-2.11.2.tar.gz 784742 BLAKE2B 5c63bfe1b87a7a2993b5fee4c39f00b2fb3191502de19f0cc98ae387edb426ec9d54af1dfccd78c7f12e6d97e5562f55ba63836dc6bdc2bc0ddea2d6e271135a SHA512 f6f1c793f7ae2c8b36a559a6acc2c4dd47c163d58391ba069d0e73005e48ecddcc242389a00976e00b08e5ecf756c2140d5b9515ce10de1267aa84d5a58a58ab +DIST pydantic-2.11.3.tar.gz 785513 BLAKE2B 847865104aa5bfa703359442fd397d4708ac76df28e1121bc59aa1d873fd6775a64cc7757a1a95c26e3e5ac8a88dbebe3c1ab162136ee39aee21705f3367b40a SHA512 b490b5f88159bf1980611a97ea607e6fba126c8a1879376894d715cbd55efbe0b9c648b1ae4ec98ec06323b4a418da5cc5060be265166b85d134d20964b75c29 diff --git a/dev-python/pydantic/pydantic-2.11.1.ebuild b/dev-python/pydantic/pydantic-2.11.3.ebuild index 81a134dde895..c7826de7b340 100644 --- a/dev-python/pydantic/pydantic-2.11.1.ebuild +++ b/dev-python/pydantic/pydantic-2.11.3.ebuild @@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] - ~dev-python/pydantic-core-2.33.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.33.1[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] >=dev-python/typing-inspection-0.4.0[${PYTHON_USEDEP}] dev-python/tzdata[${PYTHON_USEDEP}] diff --git a/dev-python/pydispatcher/pydispatcher-2.0.7.ebuild b/dev-python/pydispatcher/pydispatcher-2.0.7.ebuild index 47965bc9833c..f346946841f2 100644 --- a/dev-python/pydispatcher/pydispatcher-2.0.7.ebuild +++ b/dev-python/pydispatcher/pydispatcher-2.0.7.ebuild @@ -14,6 +14,6 @@ HOMEPAGE="https://github.com/mcfletch/pydispatcher" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~x86" distutils_enable_tests unittest diff --git a/dev-python/pymongo/Manifest b/dev-python/pymongo/Manifest index ddfd81fc1e92..0ee7658213da 100644 --- a/dev-python/pymongo/Manifest +++ b/dev-python/pymongo/Manifest @@ -1,2 +1,3 @@ DIST mongo-python-driver-4.11.1.gh.tar.gz 2111810 BLAKE2B 120168770b1f4a61f7f6327bb7b933e1bf848871ed7a6cb152837a95b438b17236e6b10b1fe54fc29a0791d8ad785033b2d726129dae69e9403ff5b1e3c2b929 SHA512 64f7d2baa90c23f3b5d91192cc4bcc6d3199f81b6b2844c19a1059779a5e6681a45e65872452230b6c1c8c193749324eb30af75f080f8830f9642f575da80bf9 DIST mongo-python-driver-4.11.3.gh.tar.gz 2112671 BLAKE2B 2c19b974461657b805484ad58bb7a3678950be716cbfc0e68853699560221dc3b8094eb8546e3b42efbc933596ebd98da35cc7a195f9690a02e4ff15855dd292 SHA512 f8e282085467b1ef6272ce13859ef7a88fdce9a674a3c40cf6f7e1352baecd80cf3394904834805e0921ce1c339bbc4ff54d1e33eadba7ee9c5f3f7a05e6fd99 +DIST mongo-python-driver-4.12.0.gh.tar.gz 2221078 BLAKE2B 6e8dafe59276d435aa547bb356871e0876c51dd963330ff347963583a22b342ef55fce490279889d77e97efd536de6ec8daeb9a81ee7a0db968385adc5c63273 SHA512 309dd5d21b700392b0a6f1c18392bc53f1777dab5772aa8def6075aab67091eaa9d0382188d1d46d8c9d4997ffd54449a8b7c87e32e80a07ac59a5f177cd5719 diff --git a/dev-python/pymongo/pymongo-4.12.0.ebuild b/dev-python/pymongo/pymongo-4.12.0.ebuild new file mode 100644 index 000000000000..d1960a86fdcb --- /dev/null +++ b/dev-python/pymongo/pymongo-4.12.0.ebuild @@ -0,0 +1,259 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit check-reqs distutils-r1 + +MY_P=mongo-python-driver-${PV} +DESCRIPTION="Python driver for MongoDB" +HOMEPAGE=" + https://github.com/mongodb/mongo-python-driver/ + https://pypi.org/project/pymongo/ +" +SRC_URI=" + https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc kerberos +native-extensions +test-full" + +RDEPEND=" + <dev-python/dnspython-3.0.0[${PYTHON_USEDEP}] + kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + test-full? ( + >=dev-db/mongodb-2.6.0 + ) + ) +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +reqcheck() { + if use test && use test-full; then + # During the tests, database size reaches 1.5G. + local CHECKREQS_DISK_BUILD=1536M + + check-reqs_${1} + fi +} + +pkg_pretend() { + reqcheck pkg_pretend +} + +pkg_setup() { + reqcheck pkg_setup +} + +src_prepare() { + distutils-r1_src_prepare + # we do not want hatch-requirements-txt and its ton of NIH deps + sed -i -e '/requirements/d' pyproject.toml || die +} + +python_compile() { + # causes build errors to be fatal + local -x TOX_ENV_NAME=whatever + local DISTUTILS_ARGS=() + # unconditionally implicitly disabled on pypy3 + if ! use native-extensions; then + export NO_EXT=1 + else + export PYMONGO_C_EXT_MUST_BUILD=1 + unset NO_EXT + fi + + distutils-r1_python_compile +} + +python_test() { + rm -rf bson pymongo || die + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local EPYTEST_DESELECT=( + # network-sandbox + test/asynchronous/test_client.py::AsyncClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/asynchronous/test_client.py::AsyncClientUnitTest::test_detected_environment_logging + test/asynchronous/test_client.py::AsyncClientUnitTest::test_detected_environment_warning + test/asynchronous/test_client.py::TestClient::test_service_name_from_kwargs + test/asynchronous/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver + test/test_client.py::ClientUnitTest::test_detected_environment_logging + test/test_client.py::ClientUnitTest::test_detected_environment_warning + test/test_client.py::TestClient::test_service_name_from_kwargs + test/test_client.py::TestClient::test_srv_max_hosts_kwarg + test/test_dns.py::TestCaseInsensitive::test_connect_case_insensitive + test/asynchronous/test_dns.py::IsolatedAsyncioTestCaseInsensitive::test_connect_case_insensitive + test/test_srv_polling.py + test/asynchronous/test_srv_polling.py + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_custom_srvServiceName + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_invalid_type_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_negative_integer_for_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_positive_srvMaxHosts_and_loadBalanced=fa + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_loadBalanced=true + test/test_uri_spec.py::TestAllScenarios::test_test_uri_options_srv-options_SRV_URI_with_srvMaxHosts=0_and_replicaSet + + # broken regularly by changes in mypy + test/test_typing.py::TestMypyFails::test_mypy_failures + + # fragile to timing? fails because we're getting too many logs + test/test_connection_logging.py::TestConnectionLoggingConnectionPoolOptions::test_maxConnecting_should_be_included_in_connection_pool_created_message_when_specified + + # hangs? + test/asynchronous/test_grid_file.py::AsyncTestGridFile::test_small_chunks + + # broken async tests? + test/asynchronous/test_encryption.py + + # -Werror + test/test_read_preferences.py::TestMongosAndReadPreference::test_read_preference_hedge_deprecated + test/asynchronous/test_read_preferences.py::TestMongosAndReadPreference::test_read_preference_hedge_deprecated + + # fragile to timing? Internet? + test/test_client.py::TestClient::test_repr_srv_host + test/asynchronous/test_client.py::TestClient::test_repr_srv_host + ) + + local run_separately=( + # need to run some tests separately and then restart mongodb + # to prevent it from crashing + # https://bugs.gentoo.org/934389 + # note that this list must not overlap with EPYTEST_DESELECT + test/test_bulk.py + test/test_change_stream.py + test/test_collection.py + test/test_crud_unified.py + test/test_gridfs.py + ) + local run_separately2=( + test/test_command_monitoring.py + test/test_connection_monitoring.py + test/test_cursor.py + test/test_database.py + test/test_grid_file.py + ) + local run_separately3=( + test/test_gridfs_bucket.py + test/test_monitoring.py + ) + local run_separately_async=( + test/asynchronous/test_database.py + test/asynchronous/test_grid_file.py + test/asynchronous/test_gridfs.py + test/asynchronous/test_gridfs_bucket.py + ) + local run_separately_async2=( + test/asynchronous/test_bulk.py + test/asynchronous/test_cursor.py + test/asynchronous/test_crud_unified.py + test/asynchronous/test_gridfs_spec.py + ) + + if ! use test-full; then + # .invalid is guaranteed to return NXDOMAIN per RFC 6761 + local -x DB_IP=mongodb.invalid + epytest -p asyncio + return + fi + + # Yes, we need TCP/IP for that... + local -x DB_IP=127.0.0.1 + local -x DB_PORT=27000 + + local dbpath=${TMPDIR}/mongo.db + local logpath=${TMPDIR}/mongod.log + + local stage failed= + for stage in {1..7}; do + # Now, the hard part: we need to find a free port for mongod. + # We're just trying to run it random port numbers and check the log + # for bind errors. It shall be noted that 'mongod --fork' does not + # return failure when it fails to bind. + + mkdir -p "${dbpath}" || die + while true; do + ebegin "Trying to start mongod on port ${DB_PORT}" + + LC_ALL=C \ + mongod --dbpath "${dbpath}" --nojournal \ + --bind_ip ${DB_IP} --port ${DB_PORT} \ + --unixSocketPrefix "${TMPDIR}" \ + --logpath "${logpath}" --fork \ + && sleep 2 + + # Now we need to check if the server actually started... + if [[ ${?} -eq 0 && -S "${TMPDIR}"/mongodb-${DB_PORT}.sock ]]; then + # yay! + eend 0 + break + elif grep -q 'Address already in use' "${logpath}"; then + # ay, someone took our port! + eend 1 + : $(( DB_PORT += 1 )) + continue + else + eend 1 + eerror "Unable to start mongod for tests. See the server log:" + eerror " ${logpath}" + die "Unable to start mongod for tests." + fi + done + + local async=( -p asyncio -m default_async ) + local def=( -p asyncio -m "default or encryption" ) + case ${stage} in + 1) + nonfatal epytest "${def[@]}" "${run_separately[@]}" || failed=1 + ;; + 2) + nonfatal epytest "${def[@]}" "${run_separately2[@]}" || failed=1 + ;; + 3) + nonfatal epytest "${def[@]}" "${run_separately3[@]}" || failed=1 + ;; + 4) + EPYTEST_DESELECT+=( + "${run_separately[@]}" + "${run_separately2[@]}" + "${run_separately3[@]}" + ) + nonfatal epytest "${def[@]}" || failed=1 + ;; + 5) + nonfatal epytest "${async[@]}" "${run_separately_async[@]}" || failed=1 + ;; + 6) + nonfatal epytest "${async[@]}" "${run_separately_async2[@]}" || failed=1 + ;; + 7) + EPYTEST_DESELECT+=( + "${run_separately_async[@]}" + "${run_separately_async2[@]}" + ) + nonfatal epytest "${async[@]}" || failed=1 + ;; + esac + + mongod --dbpath "${dbpath}" --shutdown || die + done + + [[ ${failed} ]] && die "Tests fail with ${EPYTHON}" + + rm -rf "${dbpath}" || die +} diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index 928527410dd7..5104a7f3fd98 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -1,12 +1,24 @@ DIST Python-3.10.16.tar.xz 19610392 BLAKE2B bcc5ff71904b8a936363c6b07b8ffbcb981640c29c1e537a90f838c0a7fa45c1bdd764eae48bcb6d16d7260a44c235e9f5538ada45903b1627527e24c49212a5 SHA512 a6b004974db93f21590f00b9b1a569dfd8c3e334f8c6a8eb8997dec5646fa4515cfc02a7dabea9e4f75f908938dc64333ce4899b9a26aff97f9ffcb027fa2bca DIST Python-3.10.16.tar.xz.asc 833 BLAKE2B 4fd4ce76ade6d64539e5eb641c64b0d99ade71a8514f97594097207e78412bd2d09afeab6788598a3159f045b98ccd5537c6771e59eeba52d4820c0c0a6c0dcb SHA512 18032fdb60a022d6381b1137789ada1c4bb198049616ed158fb548e728dd1fb95d116a86c41c852ca2acc9127baf3cdd9644a1e2df90ae9c3ffcd66eabf454d6 +DIST Python-3.10.17.tar.xz 19608144 BLAKE2B 9caebdcdc21c07037f423bc4831b0e4654dea4264b7a176b2caed625a930f0d6e8e2f6d581dee6f666a1fc17139d1ccd8bcf13c958df14dfd8de31f321d3e048 SHA512 11b1e647f8db05041bcafe110698af8bf5e9f7c8d23c0e9eb568a60544bb9a9e9c3ac94b34f0898f0d4e6c23da3cb81f844ae9d9c8b750058763502eaba39880 +DIST Python-3.10.17.tar.xz.asc 833 BLAKE2B 9468dc33530d8a4ec911e7a2bacd2d1c3533e6819a91c1307e8d577cefe6c6bdb9e9dc7f2abc078cd35186db7f58efd89eb4170fb20887bb2de5a5aa68b3c1f4 SHA512 f5fea78e2ea413c9befb6181787b3a5ea3bc0f5dbf808a94465b558c09353482cd34631a4c505f72aa343a2f4fae291453324cd8e6b18df214baaf4680fc17cf DIST Python-3.11.11.tar.xz 20085792 BLAKE2B a9a778eff94529e1029ae252ef28ecdc2f0673a4406d831865e12de3cba21ea48905542d0e806e428802b05947239ca6a44eff3573bd541469b01644790c7377 SHA512 3ff90f15f725fa8d06686158aaddb887a247b03ca4dc1fdfd81a8efb53373db3e8673bd0b3de30bb7669f3f07d9854e9d8a2dbcd49b18d15b8172787a53a0a9e DIST Python-3.11.11.tar.xz.asc 833 BLAKE2B 6a9d873e181d636712567ea46823ad7f972f872d038092506e67bada24187441188b8fde4672c205ce6d37e60c4e0c69a8f3cc5d1915fd8f5dd8743292a16d1b SHA512 d71b0b42537fb636e8c469d62d13ff020149e4fb9d87eb17f8c999301195e418d134dbdb7e4ab49b06de16e96f8ef6bbcf2a749956fffca2ce03185f191c181d +DIST Python-3.11.12.tar.xz 20112232 BLAKE2B 95f82af070e86ecf48881103ce6d7211a4a915a93a49b1407eaf445364b7a7daec406cf07eb9334ed47a59397a9796f6a5c70dcc9b7b47103beb3bffc6aa56d7 SHA512 5c95900de73cd187f5d7a89a05314ef85f4d680308d0d5fff5e6ada81f8ecf030018bef0f1a819d007e8b6d01b52e50395572c2d1a56d2c164492e13a69a9926 +DIST Python-3.11.12.tar.xz.asc 833 BLAKE2B b874df8019eb3c548598f8723fa38c89189cc375d6ced7cae180ffdc35a8e7b0ba93638861412e19037aa1fee76749186f10c4929dc7f4fb4ef7a8f4561d325c SHA512 cb1f82d44be6de67182747f8ad1054e85cca22753c0c86ff12b95ec7044c5c6c37f40a876e5707a6c422d58f483257b8ddbb3ea87893679f81b9299c48373f20 +DIST Python-3.12.10.tar.xz 20520960 BLAKE2B f05805da36958e3ebb68c69353e8119b20ee4c1a123f4492e9bf614e7faa856180ef2017f2a698bcacf19cac01d89329ed5ee45e00c98b255d4854090a2e6926 SHA512 520c30e3958d0be3c127e5dbb1c52bb3bfc404b5b3c7eb56525e25b9b59af9b21b53bee192f323f470e1df806f6cb2dd3411eb90cbc1c4b7d9b6b0777c29e644 +DIST Python-3.12.10.tar.xz.asc 963 BLAKE2B 45e1ec67311d1ac5679cb5a05b92e61f3e5e6e9d3ffa5462c09c2aa066fda7ea915df13f6e5ad33aa924f6ce1f18e2d78a31af15412a10c093fc8a5b536c5133 SHA512 7edfa6fd816cf2a052abdb775d464e2f389105ed3e782cacf90805613aaca54bf71308504a5336ee1204e872e7db28df32413fb10b057056b0d5cb3c7a20a9f1 DIST Python-3.12.9.tar.xz 20502440 BLAKE2B df1a8ba4996219c018fc14156958ca9c0e8af4854819064fbcf0c927258ecb3c5f46e562213799a87dafb35ae5bd647e1ce280affe2ac8ce6a85c351822b6693 SHA512 c840b14aa21e6a963d18c06ebaafb551d9c9a101b3866417e762fc4a2fde071a7a25fa257faba2956c7344bbc2413ed61690a712d26fba4d0dbeaa50e49b2574 DIST Python-3.12.9.tar.xz.asc 963 BLAKE2B d90b9c1a3aafa1a942ef8d978b566829656db1114b74f1565b7cbba188cf3bf5637c1dbeec3432ae0af0f826a154c40f27fd8fc46350a757ef91f5c426908149 SHA512 b59251ca3a0a17c06ff7d165f6c025eb91127c80be0782642590f5c922297e0710544ac5a9ae977378e393f1c4861149576a0515af5ec0e54e6827c4010d544f DIST Python-3.13.2.tar.xz 22621108 BLAKE2B 79c7dff8a15fd2487d62847a8e654c02433a89887aa4f93819020b60a30587e3ba92b101553d971b59e132677f9f74dfc41cd7c7901db78a7787607ec96c6664 SHA512 bb1c0598914c6d4326554faa568f660f10b20c701d0f36bf1fa58837b6498d728a407416b06ede39604caea1ca93f60545b83b01ae8ee65f55d4cc83242b63fe DIST Python-3.13.2.tar.xz.asc 963 BLAKE2B 95a36c305dd452df23b4f119de05e1d3a2b2c9e0c2778a52dc4065f82b52752b68d89eb737cc54cced70623ad4a7b48c85fdff781bf7d7e3b747dacb1ef77db0 SHA512 5f019be530f688b0adf5d5cc9f2c2243e2f1dc7338559db14c1eedd12aadc85404d42c7aafd74e41828205d85f13f278876662ac30c8f3382a1ee081ba5f29f2 +DIST Python-3.13.3.tar.xz 22654240 BLAKE2B 24ac47c13cbfa4dc9ce6ae4d18d7b5310f83ac1f4f18722138ef07e01cb8ac37edf6f4301983cb468f533b9b475b5a9d761d3044e61c7ccaa99dceadb954fe34 SHA512 f7559b6dceae69f48742af0a6497fbec42cd1e5304f64b6eb9d89222a1171ccf12fa186cc0decabb4e98d05223184967a4a7537754c01083dacdc9073cb1a578 +DIST Python-3.13.3.tar.xz.asc 963 BLAKE2B 4a98965305b80e985512f54d9ce8ab88a74fe0d3ee48e300fbc2b4e251c0f499f4eb935e0aeb6d5ad8262338643325126f094fff926da1e2b9a2b3a2247701dc SHA512 54f8da5f4a4dcadc9830cb07aecf695a26a2de48ab98e1f42b09fdde1c70989476d07ce7ea81337216f1e5fcbf6b688e0608c88a2545ced416b01640108e94db DIST python-gentoo-patches-3.10.16_p2.tar.xz 29428 BLAKE2B fa63d2fcdbb53e3b6381eaadfbcfca02a03eddd7035dd4776c706fd1aa0226a2c809260ba5a543a209a63563dab12ea109bf03a2026ea4b5797fa6afc7b45c52 SHA512 0186abf035632a3f8018052f8021c1d0dadbc28b7d03551f6992a658fe53878ac9ea86b79512e0e147efecedfda133cf7936746946238177918be9c695248f15 +DIST python-gentoo-patches-3.10.17.tar.xz 28784 BLAKE2B 7f1c1f9f49876b99d80a3f40b66061ab96796821e1a5396f5edfa08e3878b8b9970688d3c861d9c5d08701a8850584eb87a223e3ba84c5536ae689f59145ad43 SHA512 3e89b334d81702f0e6fa00e9b70daf6ff4df439c280c6cff33aa8874dde29f63d809697757df39daea07bf746207e931f211558811c9e731df9ca846a8559483 DIST python-gentoo-patches-3.11.11_p2.tar.xz 16224 BLAKE2B d8404c8c87e109d2c699dbab63c20a319c6efd5b62dab5fcc1b53b5b291e25686e69ef92b495eed0d80491cfa29ae9f523df6b53c7c6a12c3f713c53e3c5b7c6 SHA512 f1bf897305678c2b113aef4553d14e916e83312708352765725d754dffbf2f5dd7ef0f7cd84a774e4a8c18dde8a517d7eaf8e58720d73d25430b28fe49906258 +DIST python-gentoo-patches-3.11.12.tar.xz 15616 BLAKE2B 5d4a47058fc35c4ae966e3dff823f91129852bf81cd586d5b3a34a6daf672732918daf00199394f2f982411ec30a291f45bba55b3ffa3d96a179ecd600ea4647 SHA512 77973ef88403f94d55162e0138cd29b4d8959a8fcf4cec730daf7ddd8fb4a3acfcd0dd1fdaacbdd2b218bd15f6c6715ce339df4eba48227d17520243d96eeb39 +DIST python-gentoo-patches-3.12.10.tar.xz 10744 BLAKE2B 2abf4874018156d6735cf8604c410dc4726ac9365bc7500abe6b82472aad100aac7268957256692f4275b02965773e58178519ed8038e121f1ffa3c53770d238 SHA512 62066405aa00f46f9645e9c747d53bb93bf510fc791d14d49e00edfd79981778e6c8e07bfa7bac88d76407a0ffd8f7321dea89f81d90b01dbf13f4d381b6a1a3 DIST python-gentoo-patches-3.12.9.tar.xz 10736 BLAKE2B 1f87d1bba8c094936e5cd3e0ef2eede0dbca3e658430f81b398735d8f02fff1f87739914014dbcb17163f8a969ffc5e7e4cce7d71557ce3c2e58487e6ed8b80f SHA512 342f11df85926e32455d52115d06b817a17f7ae104e3ea8e852046d321d829835bba7c07803c50dd5433ac8b615499428d5bc1a088b484ca0c4304eb8b2cb879 DIST python-gentoo-patches-3.13.2.tar.xz 8316 BLAKE2B 2367808924c83c02b8b2ca765fd4768d4f12cb8e8451eab9d084ce5950a5a81829e573d415f9a16db2e053105def90b5f52c91423fc71e57cd182a1d9c824d8c SHA512 580332ca037c1453f314d5811f96f7bf74defc16cfe515c4fe82ea08a7bf3679aa88d5456db846d988bcf4fbc9eeb4ebe7cee01d135bd55c87931206250e301a +DIST python-gentoo-patches-3.13.3.tar.xz 8336 BLAKE2B 66393886fbd034eb14732e4f81f5798e77650ea3fe1c4f8176bd93808b711c8977a53c3f52be6c9b97a368299258b851d9bdb6d4c8e0c75695c6aea784d48b44 SHA512 c1ed31d6aaef81addf786c2ccc1013309b122b791c42fe10e467a677d0db8f149e8b1cc21928c146298918c7ceb851b4b19d1e59f491cb161004e1c9386db289 diff --git a/dev-python/python-tests/python-tests-3.10.17.ebuild b/dev-python/python-tests/python-tests-3.10.17.ebuild new file mode 100644 index 000000000000..c423a21e03ab --- /dev/null +++ b/dev-python/python-tests/python-tests-3.10.17.ebuild @@ -0,0 +1,74 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit python-r1 verify-sig + +MY_PV=${PV} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} + !<dev-lang/python-3.10.14_p3-r1:${PYVER} +" +BDEPEND=" + ${RDEPEND} + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + local dirs=( + ctypes/test distutils/tests idlelib/idle_test lib2to3/tests + sqlite3/test ./test tkinter/test unittest/test + ) + local dir + for dir in "${dirs[@]}"; do + python_moduleinto "/usr/lib/python${PYVER}/${dir%/*}" + python_domodule "${dir}" + done +} diff --git a/dev-python/python-tests/python-tests-3.11.12.ebuild b/dev-python/python-tests/python-tests-3.11.12.ebuild new file mode 100644 index 000000000000..d3487fcbbcbf --- /dev/null +++ b/dev-python/python-tests/python-tests-3.11.12.ebuild @@ -0,0 +1,74 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit python-r1 verify-sig + +MY_PV=${PV} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} + !<dev-lang/python-3.11.9_p2-r1:${PYVER} +" +BDEPEND=" + ${RDEPEND} + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + local dirs=( + ctypes/test distutils/tests idlelib/idle_test lib2to3/tests + ./test tkinter/test unittest/test + ) + local dir + for dir in "${dirs[@]}"; do + python_moduleinto "/usr/lib/python${PYVER}/${dir%/*}" + python_domodule "${dir}" + done +} diff --git a/dev-python/python-tests/python-tests-3.12.10.ebuild b/dev-python/python-tests/python-tests-3.12.10.ebuild new file mode 100644 index 000000000000..943b544daf16 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.12.10.ebuild @@ -0,0 +1,69 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit python-r1 verify-sig + +MY_PV=${PV} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} + !<dev-lang/python-3.12.5_p1-r1:${PYVER} +" +BDEPEND=" + ${RDEPEND} + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/python-tests/python-tests-3.13.3.ebuild b/dev-python/python-tests/python-tests-3.13.3.ebuild new file mode 100644 index 000000000000..db959e992087 --- /dev/null +++ b/dev-python/python-tests/python-tests-3.13.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit python-r1 verify-sig + +MY_PV=${PV/_} +MY_P="Python-${MY_PV%_p*}" +PYVER=$(ver_cut 1-2) +PATCHSET="python-gentoo-patches-${MY_PV}" + +DESCRIPTION="Test modules from dev-lang/python" +HOMEPAGE=" + https://www.python.org/ + https://github.com/python/cpython/ +" +SRC_URI=" + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz + https://dev.gentoo.org/~mgorny/dist/python/${PATCHSET}.tar.xz + verify-sig? ( + https://www.python.org/ftp/python/${PV%%_*}/${MY_P}.tar.xz.asc + ) +" +S="${WORKDIR}/${MY_P}/Lib" + +LICENSE="PSF-2" +SLOT="${PYVER}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} + !<dev-lang/python-3.13.0_rc1_p3-r1:${PYVER} +" +BDEPEND=" + ${RDEPEND} + verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/python.org.asc + +src_unpack() { + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.asc} + fi + default +} + +src_prepare() { + local PATCHES=( + "${WORKDIR}/${PATCHSET}" + ) + + cd .. || die + default +} + +src_install() { + python_setup + # keep in sync with TESTSUBDIRS in Makefile.pre.in + python_moduleinto "/usr/lib/python${PYVER}" + python_domodule test + python_moduleinto "/usr/lib/python${PYVER}/idlelib" + python_domodule idlelib/idle_test +} diff --git a/dev-python/pythonfinder/Manifest b/dev-python/pythonfinder/Manifest index ceaa7d12fb6d..04f5b35255ed 100644 --- a/dev-python/pythonfinder/Manifest +++ b/dev-python/pythonfinder/Manifest @@ -1 +1,2 @@ DIST pythonfinder-2.1.0.tar.gz 717240 BLAKE2B 73e748c1c8d3b38270d9d73861c296eb96685f2bf1318344f7f6214b948381e464a90422451a49c32b4e6117c5a75ba8af0cffc75405a65e28c5f3e14f8c834a SHA512 ddba8fe6fbd986c48be941b1bd76f8ca1f11985cadbce55a51e1fd110c2a8bc99c7536c288f2e16d0204bd854ee46db1761c12bca336d74764e99ab424210555 +DIST pythonfinder-3.0.0.tar.gz 724990 BLAKE2B 3bddd6b1c84d09f58be820b9c88984de1a19613dae276c007d8d869d8fc578cca518d0924bacbb6868c23e181c70df7802b1bcb9bff44f700336a7f751b0523a SHA512 f3efc4f319b8b413fecdabf499012690b6ec11906422e918d32c88bbf8b976e0b32027892d0c7ade71153c71ce789ea1f9904a37fcd44ef4aeea0361728198ad diff --git a/dev-python/pythonfinder/pythonfinder-3.0.0.ebuild b/dev-python/pythonfinder/pythonfinder-3.0.0.ebuild new file mode 100644 index 000000000000..986dbb685e03 --- /dev/null +++ b/dev-python/pythonfinder/pythonfinder-3.0.0.ebuild @@ -0,0 +1,31 @@ +# 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 pypi + +DESCRIPTION="PythonFinder: Cross Platform Search Tool for Finding Pythons" +HOMEPAGE=" + https://github.com/sarugaku/pythonfinder/ + https://pypi.org/project/pythonfinder/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +BDEPEND=" + test? ( + dev-python/click[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/queuelib/Manifest b/dev-python/queuelib/Manifest index 4f843198e7c5..8883cd5efd90 100644 --- a/dev-python/queuelib/Manifest +++ b/dev-python/queuelib/Manifest @@ -1 +1 @@ -DIST queuelib-1.6.2.tar.gz 11732 BLAKE2B 6a007c29a13e21a137eb4042d8c588298a68432c05423e5ce6382bffb15692e7f85bab6b8af720a60193848256c04da897665291aff81f66f1342a49946f8abb SHA512 f474fd5cc24b72e4d6b0ddcb64ef775c06a213abb7a5b11b101671e27db46655f8debd9a3f438a1eaad0c0bb0d223d3151bde9132bdf3b6e9b19bff28b43a091 +DIST queuelib-1.8.0.tar.gz 11675 BLAKE2B 7f8105c5351d7643121716ae29590099397ac629a966e0762391cbf94aaa39c513849483c8c1732d80b3ee5438bc1a7b73f7c91c6aa60786ebaf6b4904a612dc SHA512 46f227615a9cf06bbffef378c965d6cfa677b09cb99737b8520975a2e9d01626e8886675f52ccbb845cf67e16649f97d772068476b7c863345edecd416eddbcc diff --git a/dev-python/queuelib/metadata.xml b/dev-python/queuelib/metadata.xml index 0278f84e08d3..395a28b67aae 100644 --- a/dev-python/queuelib/metadata.xml +++ b/dev-python/queuelib/metadata.xml @@ -5,6 +5,8 @@ <email>gentoo@aisha.cc</email> <name>Aisha Tammy</name> </maintainer> - + <upstream> + <bugs-to>https://github.com/scrapy/queuelib/issues</bugs-to> + </upstream> <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/queuelib/queuelib-1.6.2.ebuild b/dev-python/queuelib/queuelib-1.8.0.ebuild index b859cbf1ed1b..c6586fc55888 100644 --- a/dev-python/queuelib/queuelib-1.6.2.ebuild +++ b/dev-python/queuelib/queuelib-1.8.0.ebuild @@ -1,19 +1,18 @@ -# Copyright 1999-2023 Gentoo Authors +# 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 +DISTUTILS_USE_PEP517=hatchling -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Collection of persistent and non-persistent queues for Python" HOMEPAGE="https://scrapy.org/" -SRC_URI="https://github.com/scrapy/queuelib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT=0 -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~x86" distutils_enable_tests pytest diff --git a/dev-python/scrapy/Manifest b/dev-python/scrapy/Manifest index a5485bafa6a3..37c0254c0e7e 100644 --- a/dev-python/scrapy/Manifest +++ b/dev-python/scrapy/Manifest @@ -1 +1 @@ -DIST scrapy-2.11.0.tar.gz 1373184 BLAKE2B 7fc758a729d9e9f88c89e30c503ff8bf4c2e111bc00cbd003d5f8785dc818e5ef69ae3774013c4fe27db623c1246a57d57db097cf5220b257a9632bdd29b7023 SHA512 08da9684f4312e4149929f3785cc516207070fdd0eb99d8b7ed3276095378cc71d18534d0535fd1107af442aed42d6c91792ad7749d631b5f54522c3912ce073 +DIST scrapy-2.12.0.tar.gz 1210998 BLAKE2B f0bd637ac4182de4573d37fb6db8ee26aac20eeb9ded6d255a9abe246014a100e1ba567e80f64279d382954e18bab7af165a69f2a7732619b2e4369693ea8d1d SHA512 3d733d2cb858e0f6201d08e5e6388667155a3e9746cca6887652b1ce514d803da8c6523d1bba27d451a5e4337fc191983de46c2ad8e6a6b0479f38ebfa1ad3b1 diff --git a/dev-python/scrapy/files/scrapy-2.11.0-lift-twisted-restriction.patch b/dev-python/scrapy/files/scrapy-2.11.0-lift-twisted-restriction.patch deleted file mode 100644 index c3ef23287087..000000000000 --- a/dev-python/scrapy/files/scrapy-2.11.0-lift-twisted-restriction.patch +++ /dev/null @@ -1,99 +0,0 @@ -Backport commits 720f351a3eea5e5bfa83a6eaf50210cd1fa43992^..0630e4aaa10c3fb8c79c2542a229f5c0632cddde. -At the time of writing, ::gentoo no longer has <dev-python/twisted-23.8.0. -These commits refactor the signal handling logic to support newer versions of Twisted. - -Author: Lucio Sauer <watermanpaint@posteo.net> ---- a/scrapy/crawler.py -+++ b/scrapy/crawler.py -@@ -404,8 +404,8 @@ class CrawlerProcess(CrawlerRunner): - :param bool stop_after_crawl: stop or not the reactor when all - crawlers have finished - -- :param bool install_signal_handlers: whether to install the shutdown -- handlers (default: True) -+ :param bool install_signal_handlers: whether to install the OS signal -+ handlers from Twisted and Scrapy (default: True) - """ - from twisted.internet import reactor - -@@ -416,15 +416,17 @@ class CrawlerProcess(CrawlerRunner): - return - d.addBoth(self._stop_reactor) - -- if install_signal_handlers: -- install_shutdown_handlers(self._signal_shutdown) - resolver_class = load_object(self.settings["DNS_RESOLVER"]) - resolver = create_instance(resolver_class, self.settings, self, reactor=reactor) - resolver.install_on_reactor() - tp = reactor.getThreadPool() - tp.adjustPoolsize(maxthreads=self.settings.getint("REACTOR_THREADPOOL_MAXSIZE")) - reactor.addSystemEventTrigger("before", "shutdown", self.stop) -- reactor.run(installSignalHandlers=False) # blocking call -+ if install_signal_handlers: -+ reactor.addSystemEventTrigger( -+ "after", "startup", install_shutdown_handlers, self._signal_shutdown -+ ) -+ reactor.run(installSignalHandlers=install_signal_handlers) # blocking call - - def _graceful_stop_reactor(self) -> Deferred: - d = self.stop() ---- a/scrapy/utils/ossignal.py -+++ b/scrapy/utils/ossignal.py -@@ -19,13 +19,10 @@ def install_shutdown_handlers( - function: SignalHandlerT, override_sigint: bool = True - ) -> None: - """Install the given function as a signal handler for all common shutdown -- signals (such as SIGINT, SIGTERM, etc). If override_sigint is ``False`` the -- SIGINT handler won't be install if there is already a handler in place -- (e.g. Pdb) -+ signals (such as SIGINT, SIGTERM, etc). If ``override_sigint`` is ``False`` the -+ SIGINT handler won't be installed if there is already a handler in place -+ (e.g. Pdb) - """ -- from twisted.internet import reactor -- -- reactor._handleSignals() - signal.signal(signal.SIGTERM, function) - if signal.getsignal(signal.SIGINT) == signal.default_int_handler or override_sigint: - signal.signal(signal.SIGINT, function) ---- a/scrapy/utils/testproc.py -+++ b/scrapy/utils/testproc.py -@@ -2,7 +2,7 @@ from __future__ import annotations - - import os - import sys --from typing import Iterable, Optional, Tuple, cast -+from typing import Iterable, List, Optional, Tuple, cast - - from twisted.internet.defer import Deferred - from twisted.internet.error import ProcessTerminated -@@ -26,14 +26,15 @@ class ProcessTest: - env = os.environ.copy() - if settings is not None: - env["SCRAPY_SETTINGS_MODULE"] = settings -+ assert self.command - cmd = self.prefix + [self.command] + list(args) - pp = TestProcessProtocol() -- pp.deferred.addBoth(self._process_finished, cmd, check_code) -+ pp.deferred.addCallback(self._process_finished, cmd, check_code) - reactor.spawnProcess(pp, cmd[0], cmd, env=env, path=self.cwd) - return pp.deferred - - def _process_finished( -- self, pp: TestProcessProtocol, cmd: str, check_code: bool -+ self, pp: TestProcessProtocol, cmd: List[str], check_code: bool - ) -> Tuple[int, bytes, bytes]: - if pp.exitcode and check_code: - msg = f"process {cmd} exit with code {pp.exitcode}" ---- a/setup.py -+++ b/setup.py -@@ -6,8 +6,7 @@ version = (Path(__file__).parent / "scrapy/VERSION").read_text("ascii").strip() - - - install_requires = [ -- # 23.8.0 incompatibility: https://github.com/scrapy/scrapy/issues/6024 -- "Twisted>=18.9.0,<23.8.0", -+ "Twisted>=18.9.0", - "cryptography>=36.0.0", - "cssselect>=0.9.1", - "itemloaders>=1.0.1", diff --git a/dev-python/scrapy/scrapy-2.11.0-r1.ebuild b/dev-python/scrapy/scrapy-2.12.0.ebuild index e909c7386e60..6fe9ee6264c3 100644 --- a/dev-python/scrapy/scrapy-2.11.0-r1.ebuild +++ b/dev-python/scrapy/scrapy-2.12.0.ebuild @@ -5,15 +5,14 @@ EAPI=8 PYTHON_COMPAT=( python3_{9,10,11,12,13} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="A high-level Web Crawling and Web Scraping framework" HOMEPAGE="https://scrapy.org/" -SRC_URI="https://github.com/scrapy/scrapy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT=0 -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" IUSE="test" RESTRICT="!test? ( test )" @@ -41,13 +40,14 @@ RDEPEND="dev-python/cssselect[${PYTHON_USEDEP}] BDEPEND=" test? ( ${RDEPEND} + dev-python/botocore[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] dev-python/testfixtures[${PYTHON_USEDEP}] dev-python/uvloop[${PYTHON_USEDEP}] ) " -PATCHES="${FILESDIR}"/${P}-lift-twisted-restriction.patch - distutils_enable_tests pytest EPYTEST_DESELECT=( @@ -57,5 +57,7 @@ EPYTEST_DESELECT=( tests/test_pipeline_files.py::TestFTPFileStore::test_persist # Flaky test: https://github.com/scrapy/scrapy/issues/6193 tests/test_crawl.py::CrawlTestCase::test_start_requests_laziness + # Missing dependencies + tests/test_spidermiddleware_output_chain.py ) EPYTEST_IGNORE=( docs ) diff --git a/dev-python/soundfile/Manifest b/dev-python/soundfile/Manifest new file mode 100644 index 000000000000..4d144a4a48b9 --- /dev/null +++ b/dev-python/soundfile/Manifest @@ -0,0 +1 @@ +DIST soundfile-0.13.1.tar.gz 46156 BLAKE2B 7dc6d94e8d9dcaea696d5d8e67893212e632358639b2be24eb74f219b9a6db27ed334e9b38f35a25b02e6d18ec2dee1101464ac1fc4756b605d73885906d9506 SHA512 f3abb62bf7e93bcf111e9d6f9cf560f2cc2dbdd48af1d653e412f071932225016560d3bb318c2129420f53a9e7e51aea1d91f848a09a462dbd34ac836f0e1555 diff --git a/dev-python/soundfile/metadata.xml b/dev-python/soundfile/metadata.xml new file mode 100644 index 000000000000..697d76fa2747 --- /dev/null +++ b/dev-python/soundfile/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/soundfile/soundfile-0.13.1.ebuild b/dev-python/soundfile/soundfile-0.13.1.ebuild new file mode 100644 index 000000000000..150b4977f319 --- /dev/null +++ b/dev-python/soundfile/soundfile-0.13.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 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="audio library based on libsndfile, CFFI and NumPy" +HOMEPAGE=" + https://pypi.org/project/soundfile/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + media-libs/libsndfile +" + +distutils_enable_tests pytest diff --git a/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.4.2.ebuild b/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.4.2.ebuild index 9d5027c1d8cb..96f1193377c6 100644 --- a/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.4.2.ebuild +++ b/dev-python/sphinx-hoverxref/sphinx-hoverxref-1.4.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/readthedocs/${PN}/archive/refs/tags/${PV}.tar.gz -> LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/sphinx[${PYTHON_USEDEP}] diff --git a/dev-python/unearth/Manifest b/dev-python/unearth/Manifest index 60aa3096471b..7e7ba511600e 100644 --- a/dev-python/unearth/Manifest +++ b/dev-python/unearth/Manifest @@ -1,2 +1,2 @@ -DIST unearth-0.17.2.tar.gz 284430 BLAKE2B ca55cd4feb50a3803400bc70f499cfb26c6dd951966f0a37cddde5c186a1f91aa3d041f504d1b85cf632478caaf33a9b4da472070fce1e7b51ea1436d1b7b95a SHA512 927ba9004d8e893bb461a0dd8741476e39cabefca47885708b5d155514726946898dd9eb9870d86982b191aeb189490310108fbb2a70e8983dae4974d711384b DIST unearth-0.17.3.tar.gz 284628 BLAKE2B c9163afe1a7c57e3d3afc3643ee0e55f0cc71093369c0a7225988f12b945eb8ab3cbb7226bccecca5f1bd2d0423ff3f1342286d6123d12631059321c6886eeff SHA512 c7f68efc2efe11eb85c2b835a021996980e1b839ec6303058ff2e5f4186d3867db1e72e899b28e1fea722b4f1a0c2c33851768b89ef176c44a7c63478b5ea686 +DIST unearth-0.17.5.tar.gz 284542 BLAKE2B 091813721c1d2218a75cf47c5cf07a818e9f21b567d5afab25d1585efd77de6a94d3ce14c46b89943ca833e78c2624e90804964b14161c18a45c4ade0a0125ef SHA512 8a4d273c216296ca7d86d0a2aadb0a9626b9cd606819b45dc80b02211d0e6bf11c2903d33a389ca4b10d88b800a94f2cce5349051bd97c5b66d13186c55074b6 diff --git a/dev-python/unearth/unearth-0.17.2.ebuild b/dev-python/unearth/unearth-0.17.5.ebuild index db0f086f694a..db0f086f694a 100644 --- a/dev-python/unearth/unearth-0.17.2.ebuild +++ b/dev-python/unearth/unearth-0.17.5.ebuild diff --git a/dev-python/w3lib/Manifest b/dev-python/w3lib/Manifest index 2d046d151d8e..d3849077adb3 100644 --- a/dev-python/w3lib/Manifest +++ b/dev-python/w3lib/Manifest @@ -1 +1 @@ -DIST w3lib-2.1.2.tar.gz 48715 BLAKE2B 8ec3514351634430b348d19a87e21fc95fbb230bac51b59801f692c4d2dc8426bd9740db49949efb2df80eda69026fb202ea0ae80fba45506a366c0b66bc8b29 SHA512 cfff2520cab24b84c93223125de3fb813e4d40d23a022f7fc34196c3033adb5dfc01358d62566dcc4b763d40b271e1428eba0250ba997228d07f35cd3721e37e +DIST w3lib-2.3.1.tar.gz 49531 BLAKE2B b5409de02fd965fb214b19f3c3a47c2f4a303dee4343f9994aea361ae857d7ca49ef02c1233cefb0487ffddd6d85731d9ba4fde33a94419eaead40df43b3d547 SHA512 b65d5773aa35e2d2e95a395f25c9a9520d1143569faa94d000f01fa0a17258bcbdc2f1cf744c70be26a7e3e77d50deac9d09e572284bdd0e5e3d483ba7d4fee7 diff --git a/dev-python/w3lib/w3lib-2.1.2.ebuild b/dev-python/w3lib/w3lib-2.3.1.ebuild index 05ae658049fa..b81d402d184c 100644 --- a/dev-python/w3lib/w3lib-2.1.2.ebuild +++ b/dev-python/w3lib/w3lib-2.3.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD" SLOT=0 -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" diff --git a/dev-python/watchfiles/Manifest b/dev-python/watchfiles/Manifest index 3c85403b7d85..9c17bdf1740f 100644 --- a/dev-python/watchfiles/Manifest +++ b/dev-python/watchfiles/Manifest @@ -25,22 +25,30 @@ DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0 DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 DIST pyo3-0.23.4.crate 1087676 BLAKE2B 2c7d3530460ff687e8f60dcff0fb01465b2a4642043ebdfc927fc3824b9fbce9c4b304250808a85405d21df12d17a1d1ada7bdf8f3563710692f22223e2732f1 SHA512 0015aa75163ad0ec026d185e15c26f59aaad0eb3cc3044b146e5d703bb375fcd838df2044febbd52e6e129dfba81c8249329fc3e4805695274dac7a69eee0651 +DIST pyo3-0.24.1.crate 1113050 BLAKE2B 5a203f8c845b08b40ed64561d385d2e4134a38916723ef6b0b4be8f44fa9de594c4eca138c318ad83a156f66273b20b55acb19897dca3eba5d479e6333be815e SHA512 6c2a8f9d554a3cf151a796ee20610b596ebdbf9e642d6b2ddc35d0142841d7be51e739ddef4332cfa8c4625c972d9705eae5f694b4d8907882bec4add7c6c6ed DIST pyo3-build-config-0.23.4.crate 33885 BLAKE2B 7f95a8a9e08d413899ff1fa64af5a52783bad4a7b4db92835464f12bd8565f152497aaeb45d25cc91eed73950abeea30ca4c7495e3b15423ae588b97038beb18 SHA512 b11442609f43d9baab79daf083caf0366987f6ae182239814ad6df6fe4ad31b95132d74f1162fa9428d229bd8c18ef9b696a4c3329b3960fd705d1705fc5e973 +DIST pyo3-build-config-0.24.1.crate 34020 BLAKE2B 34ed5a2385de138fde0308439c5fcd8a92a48b215b41799838d5b3106b0845f70023ccd97d60c39cea4729cd8bd850e1ef4e372ac332a06037dc5dd574b09834 SHA512 6008f6737685882b2fd958fcc5f171c0ddc10520631904ca759f857117241dc0a648d4cf30d9a84483662bfbc435eccc3deed9981f98b88016b12a5944ae3ff7 DIST pyo3-ffi-0.23.4-pypy3_11.patch.xz 2140 BLAKE2B 29cf1a3b340241bb323192261b11a431a0b78748819dfe05683ce51c18fb53b5e9394fd4269197475d467f6be82df1fdc92e45450a1e2416ddd459bc00174b6e SHA512 43da84518b24022b82314fc509e8125ad6a9e5c47f8e2eb20da2fa38631719759ce821253a62bdd9fc3fdbedf798e9a37168c39d913570a6cfc53aca3ec0eedb DIST pyo3-ffi-0.23.4.crate 74806 BLAKE2B 650784d46347c00f09c010c39e9762f778efc510ad0b99b5ddf30cab18edaba552207339ad44ed4ae6d87ddfcc56fa540a17e3a4cb331905a0988d5ba2dc682a SHA512 c12097292b4620f4fd98d61fde4a0f0c7d423a94d518fa5b1cf759089b066fede6d83e20171acc2aa7bf268de5700c9b59da32131216734626b0fa5cd5651801 +DIST pyo3-ffi-0.24.1.crate 76435 BLAKE2B 1fc7b122f0c1064382bf304491617abfd5a8f275ab7511cf31ed892576728b7b55814ea454761bb0fb4d01e263daf8f2c302504fc624970fc9940a5a2cb143fe SHA512 b06265f3852f419a2a788fef049cf9032a5dd4fa6ca818d8d5ceae24b3642164497c61e67492a6576f1c8b22d66e2d887b295c48317fee94f8db8e14de25a71e DIST pyo3-macros-0.23.4.crate 8852 BLAKE2B ba5722fd52e47aa4dc2e89bacd69326bd98943a1670ebeab08a2e9e8070a0975ebbe928a0bce8b53a700b65294fee2b00d2a1e6623a0c48ac15902cdbfcb7a97 SHA512 c36c9005db5a4b48b5fda881130f4e7da8eef46e2c363c395ccca3fe476e0204d98c2a832cd03c787fb37a2664fadd42bf8f47de71eb44d055754ab5766af934 +DIST pyo3-macros-0.24.1.crate 8866 BLAKE2B 48436f5f1a6a6e93d916873be5e18cfdc892d59479e4963f267d2a1805bd134eed6890d53915fdafa8ff93c7458d136b57fbf783bee18f34a6087f7819c9dd92 SHA512 7b9fc55232284d7b138e3e9c9a9c864a1b0d9b5317c3263a057df5dc1976087e934558d6c046d784735e063f1009df35b91776c850ad709800ca8b2be8e993d8 DIST pyo3-macros-backend-0.23.4.crate 70912 BLAKE2B a428c732f0b17d9a8f620d0e8d58469f2cba339c8a8307393ce252a7860808e5d50e6bbf711cafd0635c844f4b1d48e57db4dd99ef7b5e3d97d6f760164278e9 SHA512 2fe670fbf35724f489cc82f38d3f7c1e6aa15b087a2674b7a68b562572f9bb00cbb7746cccfcb62d0861a18f6d24c5739273c8302d1662a161142f4a6b532b6f +DIST pyo3-macros-backend-0.24.1.crate 72588 BLAKE2B 35f1810f5d1da5b5f0b5533d0c9e832ea7c7a7a5be20711d9694b84aad62d13b8a9a1c498c61a9a1f2679fda7d25bf508536d38cded43520ed97524681dcfabe SHA512 8378154aa74c75a4d4533de673515298d8ada8377feb687694688bcf21fc5c2bcf856c2db7ce172cb038936b407e57a665ad6c3b9ce1a499a474e54c6bf119ff DIST python3-dll-a-0.2.12.crate 83731 BLAKE2B 2ae21b085e7a7aae2c17584fa5feacfe35e974f1bf96673027cb6b6f382241d115df7c9cd009b0346840b6366163c08a62e1695b0834385e182d250390e446e2 SHA512 4d9860f7ecf689b8e5c865f4f2d2486baae0d6765ecedef08234973e921461a3af56f007dce178de6539053eab28dec0870c9f110c3c66dbf7b076e18d2e1fd7 +DIST python3-dll-a-0.2.13.crate 85018 BLAKE2B 4531172b7e985041fe3cf7d164c67dc74e5974fbdbc80f1b7fb5e351d8115cda0a7a8f64c037ff7fcf4c20918fa2a53a29c8784035c571e0c46be39cdc7faff4 SHA512 01438c7af7a936ae6b95e1b81f4596627043a4b02eea85241a18ed137c23dff644f3e8d8eeb45b8e64ef1fd2693ab47fde47b6341dfc56f6c4eca032da46647c DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST redox_syscall-0.5.3.crate 23830 BLAKE2B 0a38235ec277144f0c3e7bcb1d273c7f357d85aef33dbd06328ef16bab7df0a07b523431590899ea58d55e8e1d84c32392478530200cca3a9483e8a47b29e233 SHA512 777d1208004b7756887d6c5745ea408972670e59430e1d299d01a463ae41b98e0920ee77aefef8755fc949d4799dca679afaaae9c1a7d060f76f69af5b90427e DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c DIST syn-2.0.60.crate 255808 BLAKE2B d7a8e415dd72267fd92da48ba8b3e6feb728f0639797db1aa74aeaa2a57935b7565eec37cbd32eec826154e2c54075b121737369eb15af36c322c34b3cfd7930 SHA512 20bfa02b03c193672a9922f9a5e196185341e082a262f7c00d7c2d467d9e2d77f4af3994634923cfaeee34aa9eab510415165f052ffd9b1ed0b1b581e272898d DIST target-lexicon-0.12.14.crate 25508 BLAKE2B 5ebb6b49e5c3b0057959557651287d4bf5ffe5b499340019ff64d5fc3b64e780e344982e358c94b1b25a20bf0f526a584aeecc704695b50a55cc268dd65edb97 SHA512 3410ecc0faf854f49c41c99f83972960e67065b1e0e78557a7c4996d996109bfd167d2121a019f5256f996c896cd45af032038ab7918fdcc6ee6311693ce951a +DIST target-lexicon-0.13.2.crate 27923 BLAKE2B 0761f0ffdc23b9c9df86b384d59611c7b8b5e29ff068f03367ad2fe84cfb6d11e1af149b9338236978e9566fedc51387db9f239d2a602db41045ac3db907faec SHA512 d25e3cc3d679cb6b6f24c03e0c24db9d6ca31b8ed42ac9531bd7637557fbba225a6c8ac4f68a8eaf3569195814d599e668a968afbc73b940a77cbc27552cc90a DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 DIST unindent-0.2.3.crate 7306 BLAKE2B a57407b117e99c230750c7d4a2a0899586c8271e4ba88ecb409c976905c014f42885372c234a75fbfbedf71dbed779f95f735975d150adacdcb61152a49db4c2 SHA512 2f1eb420ea3653b00d3e5fa0c2c105da8fd8a37cb3e699373c168604b799fccd5f0faf0cddce4212d119c2afb0c86b41efc3a50752b83ff7beda2bd84d360505 DIST walkdir-2.5.0.crate 23951 BLAKE2B a2d3a973f206e94699adec0263dd5e211347722cf3ab82536295019268b3125084da5dbcad818070bfdcb6a5de08da4eb483475bc225a829f58a1e3e040b5fba SHA512 da36a121dc6656942dc9cd9887fcf4f6eea7750354ef3f59c7c25d836e7afe06f33260b4d55d0d99421104ed4ce56ef2a1f0f4c3b713766fff90548c21793fad DIST wasi-0.11.0+wasi-snapshot-preview1.crate 28131 BLAKE2B fe501889f25d65e2d032f885cc50c4f8bf7dd70fd5cbc438de349838370d8699e9627b0a4fc76030ea9fe6d508f41d0c9928a875fdbc47e73bfb17241cf7b155 SHA512 043500ab28cd9cb779475255da5d109ebab7fccca72b64873dc28d77bc5a157ba8d96b9e8f05223b5b36c7089bb7b4ba87657fc69bac16b78972f897294a865f DIST watchfiles-1.0.4.gh.tar.gz 99947 BLAKE2B 94155b090a05f8aad33e6492c264dce4e8da20d8a0a48e314ce67566f523040ec7c14b7445331651dc24477defd3b76953ee6f9558c884aa22bf6d62e0ec6564 SHA512 8b8c0deb0e4a880d6762745fc306d1727df8010c629c2a8c96f44e0a5a2421569d71dc6464b8a340b3b21c22915d75900fe857c0e5d6a4af2db409af730b9938 +DIST watchfiles-1.0.5.gh.tar.gz 99925 BLAKE2B caa9accbea4b1501a9dcaec78213694fd69cdb04cc859085bf89bf55de471422507c7b8d499ee04c40c74a6f64e1b505ff98ffb78a0bec4246dcc6ac7f4ff6e5 SHA512 64f50c776b325f782b98ce640d73268faad09bf43743d482faf8be5b1dd0241ececc4048fb0a7b22dab6e3003075f059bfe39dccc7626414712d4d47d4c7ca53 DIST winapi-util-0.1.9.crate 12464 BLAKE2B 7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38 SHA512 c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9 DIST windows-sys-0.52.0.crate 2576877 BLAKE2B 69d6b560ccfc8f679e2678663ba606060d71fa28efa82c8aef8cceaa2c63b06f2052764d60163964f939649a26bbec6361ee4b094555e941fae92070db566980 SHA512 24ee0df246c2b456a4987a9124786a28acd358768cc7d1305bccd81bc5bb8822b81a03fb18d35174a520b911c6d9b685f81a34ab319fee13da3b985273584f03 DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d SHA512 d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061 diff --git a/dev-python/watchfiles/watchfiles-1.0.5.ebuild b/dev-python/watchfiles/watchfiles-1.0.5.ebuild new file mode 100644 index 000000000000..fd9c0093dcdf --- /dev/null +++ b/dev-python/watchfiles/watchfiles-1.0.5.ebuild @@ -0,0 +1,113 @@ +# Copyright 2022-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=" + autocfg@1.3.0 + bitflags@1.3.2 + bitflags@2.6.0 + cc@1.0.96 + cfg-if@1.0.0 + crossbeam-channel@0.5.12 + crossbeam-utils@0.8.19 + filetime@0.2.24 + fsevent-sys@4.1.0 + heck@0.5.0 + indoc@2.0.5 + inotify-sys@0.1.5 + inotify@0.10.2 + instant@0.1.13 + kqueue-sys@1.0.4 + kqueue@1.0.8 + libc@0.2.169 + libredox@0.1.3 + log@0.4.22 + memoffset@0.9.1 + mio@1.0.3 + notify-types@1.0.1 + notify@7.0.0 + once_cell@1.19.0 + portable-atomic@1.6.0 + proc-macro2@1.0.81 + pyo3-build-config@0.24.1 + pyo3-ffi@0.24.1 + pyo3-macros-backend@0.24.1 + pyo3-macros@0.24.1 + pyo3@0.24.1 + python3-dll-a@0.2.13 + quote@1.0.36 + redox_syscall@0.5.3 + same-file@1.0.6 + syn@2.0.60 + target-lexicon@0.13.2 + unicode-ident@1.0.12 + unindent@0.2.3 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-util@0.1.9 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.52.6 +" + +inherit cargo distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchfiles/ + https://github.com/samuelcolvin/watchfiles/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 ISC MIT Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/anyio-4.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] + test? ( + dev-python/dirty-equals[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +# enjoy Rust +QA_FLAGS_IGNORED=".*/_rust_notify.*" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # test broken with new anyio + # https://github.com/samuelcolvin/watchfiles/issues/254 + tests/test_watch.py::test_awatch_interrupt_raise + ) + + rm -rf watchfiles || die + epytest +} diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index ade4a826f25f..a53c5bc2c037 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1,2 +1,3 @@ DIST wheel-0.45.1.tar.gz 107545 BLAKE2B 13c8d60a2e39ded3d911c9e03915b01bda201f7e8cd6de456484ce6eeb2a990861a01f26e5d9f2ac4ca0ab2b6d0fea9db437d6f82cb39db9b1059c3c53202ec0 SHA512 df45f00e9eaeae2f27f813f31591590c961da2f6bff15bba6fb2a14d529c221f39b29894b8da408fe49cd4b760840a0e05c4baef377ccfacd9983c0bba83d6d8 DIST wheel-0.46.0.tar.gz 49842 BLAKE2B de27540cc6a31be0b834c28e3861040e8fe2949d4c5d048ce1c708cf17ffa8efbea48c00fb5429f7be32ab5ccd0ec0918c72f9e131250ceb3159c16a9f887ed7 SHA512 ca3632b03ffb4b23008c6e897a32993ef5926d34103fea9b978206bdeda573650678f1292c6d4f810390703f50012781a87482a732b14fd61bf292aa32e97357 +DIST wheel-0.46.1.tar.gz 54400 BLAKE2B 078ffb044d3c156e61081d0708d1f559f715a47d071f678af73cfdafe9e80a66121cd8f489783383de87a9963e377f05e60df6da27825d6e3ed0285fdeaa3030 SHA512 69219fb100d47da42999e0d0e4a023ac43489eb7f1755cb08f6d72a26bda1d435b3a9738340379b1a7f0054330711c7ca9865736cb0463a3f49004c25b61ebfe diff --git a/dev-python/wheel/wheel-0.46.1.ebuild b/dev-python/wheel/wheel-0.46.1.ebuild new file mode 100644 index 000000000000..2cd641d54cc0 --- /dev/null +++ b/dev-python/wheel/wheel-0.46.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A built-package format for Python" +HOMEPAGE=" + https://github.com/pypa/wheel/ + https://pypi.org/project/wheel/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + >=dev-python/packaging-24.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # fails if any setuptools plugin imported the module first + tests/test_bdist_wheel.py::test_deprecated_import +) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
