diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-03 22:21:55 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-03 22:21:55 +0000 |
| commit | 0949a35b020584a14ff753275f142f2d9b476a18 (patch) | |
| tree | b8579c95b05b3e1263e454b247e05bf39a04d975 /dev-python | |
| parent | e395226626082e9bdb6e560ead7a5cff3f8de063 (diff) | |
| download | baldeagleos-repo-0949a35b020584a14ff753275f142f2d9b476a18.tar.gz baldeagleos-repo-0949a35b020584a14ff753275f142f2d9b476a18.tar.xz baldeagleos-repo-0949a35b020584a14ff753275f142f2d9b476a18.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
60 files changed, 771 insertions, 380 deletions
diff --git a/dev-python/authlib/Manifest b/dev-python/authlib/Manifest index c2e0661a0abb..fba61ef4d72a 100644 --- a/dev-python/authlib/Manifest +++ b/dev-python/authlib/Manifest @@ -1,2 +1,2 @@ -DIST authlib-1.6.7.gh.tar.gz 329587 BLAKE2B 60ad24eebf39532c46eef23ad4ee57948d8ad4b2eb52fe9df53235bfd87a4ac64f9ebae9d482c873034ee7474630d4c7e5b17f2b7eb3edd41bce2aaf5f0dd593 SHA512 2de10426fc12fb7a7ab9d286e1aef3762511543df4da2454ecf350ab3d0aa8b05f0403297ce7e74fa769c21236a91188696ba1b89b80ecf56435f629c47255b9 DIST authlib-1.6.8.gh.tar.gz 329609 BLAKE2B e8972c212911408e7b85a8d57d2a862b0b7ee3c8fe696ca3aea968fd9e4ebc3449f09287c6f5a9539f3fd2679e5044a65205a8e31637f78d8d17c1849baabdfa SHA512 bfed444114e0a8ade24f554af29251c4fe257463c66e2d850106906f7507c9bf67925bd578beaa3e566d9c1a437e6622a2ceecb357d9b7c5b1a7adfaf6b51a12 +DIST authlib-1.6.9.gh.tar.gz 329652 BLAKE2B 0fed4ffffde554fac45519ced2ffe8d73343d9c52a3d177af5ba79714ca9bd80b08279c1f94c9521274fe994036e100d419a55acb1b86678e59a8f538f6aa82a SHA512 4e1ff409a1cae3dd6fdccd42411c832f44a1f00aaa60eb4dee77efc89b7a44813c3e674d3e785dd71d8090c29728590c7dce8073dd13c7c73569c78cdc47a3ff diff --git a/dev-python/authlib/authlib-1.6.7.ebuild b/dev-python/authlib/authlib-1.6.9.ebuild index 9403cc567cf3..9403cc567cf3 100644 --- a/dev-python/authlib/authlib-1.6.7.ebuild +++ b/dev-python/authlib/authlib-1.6.9.ebuild diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest index 8450f70eb1db..f40431c4474b 100644 --- a/dev-python/b2sdk/Manifest +++ b/dev-python/b2sdk/Manifest @@ -1,3 +1,2 @@ -DIST b2sdk-2.10.1.gh.tar.gz 423901 BLAKE2B 13695181133e0df9a313cc0352f10f3d7dd5b301c87f6edce1ef88292eee2fdf78a48d79a8a3690c43abeb6dac3193955371260aa126bb9b0bcd1f0a67f99f4c SHA512 c2c74bd1ae33801ef2f3a13781a423efd10843283a2b976ccbf4baac80a586be2b827f862fa1d0d8b7bdcd662c75a37b4687b162672421a040c74ca47fb272c5 -DIST b2sdk-2.10.2.gh.tar.gz 431919 BLAKE2B 5afc6b1d832b449551d1093e788c0ff518dc589c9d968555fa72ad4684d14f9f64681a6f78a55cc125aaf43416202b390eecbef246067d2bb948f730aa564e7f SHA512 633715c57bc61d1fa55bf86ab9ad838099f8670aab0b76a82c979ed79d2feac106daf8a067123733ff74c08f77d1cf35377057c18c29c0705d5f902b759a7b69 DIST b2sdk-2.10.3.gh.tar.gz 564677 BLAKE2B 7fdebd6ae25ef1dab33c1d2f8e223d7ac32d3d2551cc528ac63b09d4017cb4cad1900ebdb35bd736094372238dff70a6fe7d13c707193ee0086da16e5ed6b6d9 SHA512 fc2ce069f044c13e46899c4599ee4ab3b0859f0812938b5376ab35577e2cdfa575c7fd823d38b1ffdb681dd2a21122733dbe8ad033a6a958c386d77d8869a198 +DIST b2sdk-2.10.4.gh.tar.gz 564873 BLAKE2B a6b06e110d725907568e27e15e8ea76636632ad6f2ca36a45587fa8596c0bdcd387f631ea2c2289e8865e20a0d475bc2c278d9471d2e24a4303932c4bbee0dfa SHA512 9854882551d3a4adf558cf914f1afbdd50ca89ac33b3c89731474e78a55e34bbc7b0a2a23d1f794c55254b714cd6f50553dbb82dbdb2e9ccfaa8c61cb14c41ec diff --git a/dev-python/b2sdk/b2sdk-2.10.1.ebuild b/dev-python/b2sdk/b2sdk-2.10.1.ebuild deleted file mode 100644 index 72f958c39339..000000000000 --- a/dev-python/b2sdk/b2sdk-2.10.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Library to access Backblaze B2 cloud storage" -HOMEPAGE=" - https://github.com/Backblaze/b2-sdk-python - https://pypi.org/project/b2sdk/ -" -# No tests in sdist -SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}"/b2-sdk-python-${PV} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -# pydantic can be used but it has a fallback -RDEPEND=" - >=dev-python/annotated-types-0.5.0[${PYTHON_USEDEP}] - >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}] - >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] - >=dev-python/tenacity-9.1.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}] - >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}] - ) -" - -EPYTEST_IGNORE=( - # Requires network access and real API keys - test/integration/test_bucket.py - test/integration/test_download.py - test/integration/test_file_version_attributes.py - test/integration/test_sync.py - test/integration/test_upload.py - test/integration/test_raw_api.py - # ... and they fail to import w/ pytest-8.4.1 anyway because of - # pytest_plugins at non-top-level. - test/integration -) - -EPYTEST_PLUGINS=( pytest-{lazy-fixtures,mock,timeout} ) - -export PDM_BUILD_SCM_VERSION=${PV} - -distutils_enable_tests pytest - -python_test() { - if [[ ${EPYTHON} == python3.14 ]] ; then - local EPYTEST_DESELECT=( - # Error message differs w/ 3.14 - test/unit/scan/test_folder_traversal.py::TestFolderTraversal::test_dir_without_exec_permission - ) - fi - - epytest -} diff --git a/dev-python/b2sdk/b2sdk-2.10.2.ebuild b/dev-python/b2sdk/b2sdk-2.10.4.ebuild index bcedf2b14b92..2ceab9a34227 100644 --- a/dev-python/b2sdk/b2sdk-2.10.2.ebuild +++ b/dev-python/b2sdk/b2sdk-2.10.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 2025 Gentoo Authors +# Copyright 2025-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=pdm-backend +DISTUTILS_USE_PEP517=hatchling PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -29,7 +29,9 @@ RDEPEND=" >=dev-python/tenacity-9.1.2[${PYTHON_USEDEP}] " BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] test? ( + dev-python/responses[${PYTHON_USEDEP}] >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}] ) " @@ -42,23 +44,9 @@ EPYTEST_IGNORE=( test/integration/test_sync.py test/integration/test_upload.py test/integration/test_raw_api.py - # ... and they fail to import w/ pytest-8.4.1 anyway because of - # pytest_plugins at non-top-level. - test/integration ) EPYTEST_PLUGINS=( pytest-{lazy-fixtures,mock,timeout} ) distutils_enable_tests pytest -export PDM_BUILD_SCM_VERSION=${PV} - -python_test() { - if [[ ${EPYTHON} == python3.14 ]] ; then - local EPYTEST_DESELECT=( - # Error message differs w/ 3.14 - test/unit/scan/test_folder_traversal.py::TestFolderTraversal::test_dir_without_exec_permission - ) - fi - - epytest -} +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/cachetools/Manifest b/dev-python/cachetools/Manifest index 0c2eed9a2b22..182344a273e9 100644 --- a/dev-python/cachetools/Manifest +++ b/dev-python/cachetools/Manifest @@ -1,6 +1,5 @@ DIST cachetools-6.2.3.tar.gz 31641 BLAKE2B 8e440990180923934f496102293153ccfc43e6d448f78a9752de9cdd7ac5156cd6ff026265a5a35b230037e1d666b8b052407927a2e56cc39aef63617227f9fa SHA512 e9fdfbe59f405258d6f988b75f5f126cd4826a9bee37e34eb6677f774bc4c2598dadf9826a11e19bc1b6afcc61b931110586d1648a5f4fbf112a3b17427070b3 DIST cachetools-6.2.4.tar.gz 31731 BLAKE2B 26c78c82d14db69020077dd0432a40c25cd7686a5c19f5715ff049271066d11d50d5a83777f044f6e35e26fb1e10566a982c8c2b54ecf7b58e5d8904af739374 SHA512 5a7a37c023283f5622af9a041f629bac96cca3bda5af68dbb00325792fb3b8e9f7ecd24b0139470201f77c5bb2d2951bec8c91e20f6334ac28814e21fb8b2692 -DIST cachetools-6.2.5.tar.gz 32168 BLAKE2B 0fc72c6703e07f9b2a9df286a50cfd4e142f237c6fc4e4d34a46f9a8bd328661dd978b330bca64c9826785da309d85303efc2ad34239e0507792d355c39421e5 SHA512 443d66974938ecd4159792e05cef214ec472dea9f36728ce4e09ac9e9707ef78c8cfe1aae9eb4f4b23b559b1825a15bdc7e12f099d1e590a8bf3d83178dd53ec DIST cachetools-6.2.6.tar.gz 32363 BLAKE2B 0560af2d8ac1b3da6a831df3011457d329d6f500c0d46747747450929c96c9cc074f780bb2553d48837781a73fc5daf4a014d24fcc410aef3b71e1c96e71fe27 SHA512 99437623eb08b7a9cd135240ba257fd83d4b133d3da5b6676f578fa762020c2afa4f2f025513338718680be6d8b45a58c5d2381ce6791f0a7e5bcbdc548d43d4 -DIST cachetools-7.0.0.tar.gz 35796 BLAKE2B f5da6e9c0d060693add6f42245d5b2498d7a66b73f932ed19abfda5ea2eaf1ac58ad8df51e56ebf6983b9d6cd9bce151d81856b25c8e06ffbc59dfd47fbd0f93 SHA512 5cf5253239dfdef799e70ec7de966af0915ea15d8f21dd05526302f60caf50e682963c2499a6cce8dc87db7e4f862bc9ad1d16f993a64e1f2f7ff7f705d08156 DIST cachetools-7.0.1.tar.gz 36126 BLAKE2B 4e5456d28772f2e03d90bdc23c02c3194a2cef0f27585c563dcb27f77f8f126c36d3cc7592b5f49121ef685f3926eb4a7b56f5a2356b02eef5d8cee9570aa852 SHA512 b849c8dfd1ee6a24181c0eb634fe710052f9b464df75b527d25f9fabccb128f499d6ad5ba68c8c6d12fa5f708cd5206eed6db7791c75b33320990ba3ce48e312 +DIST cachetools-7.0.2.tar.gz 36983 BLAKE2B 369e200286fb4aaf8d5e0c7495dbcae5f1fd9cf3e9236f6d7b2fbdcccc7cb0c02ee7289285c11c9bd17b2ed331a3d8b569735f819fcd84ce8338fe7a84abff56 SHA512 a313ec8eddcd6956730f3156f59610d5f0351b7a5a82003954ad0e482e8b1f3d2d0aac670a4114eb76812719fb2b7a398c425405e8a30c40d493454bd82cb192 diff --git a/dev-python/cachetools/cachetools-7.0.0.ebuild b/dev-python/cachetools/cachetools-7.0.0.ebuild deleted file mode 100644 index ad2f2949a441..000000000000 --- a/dev-python/cachetools/cachetools-7.0.0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -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" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_test() { - local -x THREADING_TESTS=1 - epytest -} diff --git a/dev-python/cachetools/cachetools-6.2.5.ebuild b/dev-python/cachetools/cachetools-7.0.2.ebuild index ad2f2949a441..ad2f2949a441 100644 --- a/dev-python/cachetools/cachetools-6.2.5.ebuild +++ b/dev-python/cachetools/cachetools-7.0.2.ebuild diff --git a/dev-python/cfn-lint/Manifest b/dev-python/cfn-lint/Manifest index 2404dd24e30c..aa31d081449a 100644 --- a/dev-python/cfn-lint/Manifest +++ b/dev-python/cfn-lint/Manifest @@ -5,3 +5,4 @@ DIST cfn_lint-1.42.1.tar.gz 3728837 BLAKE2B 6ef135be851ca8ec17854074d8d3ad610b21 DIST cfn_lint-1.43.4.tar.gz 3464983 BLAKE2B af29adad5e8685704857394f0fc328bf4e5e103d4fc769399366d6924308a7ddb766261f30ace7968b33d6b7502056ec6286eb3c1d9824897b60b0bf4ef0c368 SHA512 fab0dee39468c0608594b979cfae45bd6a0c73ff2a0b29ad6bfc91f0ffd61dd44c0e804923d289423ca7e898d81256aa59bfdd2e2414ce8d54b3151b421a265f DIST cfn_lint-1.44.0.tar.gz 3498426 BLAKE2B ad8e4de6eef385f304bed7aa2a2c55d04c339507af9a6943772ef39b713b5f6f8bf1ec9d823e243cfc78f8af4b2eb1dc45c222ec5b7c7b990567bdbd875d3bd6 SHA512 321a61a2d79b2c46ab1a9f20d4b31a2093b8a15afd03c878901ee1c4548da163f7de65056a4c54ae16956d9a119c21a28e5dffd78ac1e8d609751e48a4c88bc3 DIST cfn_lint-1.45.0.tar.gz 3512104 BLAKE2B 2f6139e0a041a49a91c66fa8a959c2133cd9ea049a7f21586339bd79d21d3c0de7d02e7e7917fcf6e871c0ac355bc76aea36bbd1adc478e548c5f06d3052d53e SHA512 bb8c386529afa1e3e521792d4f3ee68c293d9736855dc2a84a5254c3f3087edecddffd43a9f8a8299190c9403938428ea73857471c777673664136c4769694c0 +DIST cfn_lint-1.46.0.tar.gz 3625615 BLAKE2B fcf5709311da21a69c222a0925efcb36b0bd5addf2d19e31c18d975c59546dda7e15c2e8ee32270b42f0f17dffb16c6124d7a800b2318762e780aeb25b6c90d1 SHA512 d8e4636f796736ba6eb0b959fee4df0b6454f972ca52bada956e76227bff7c0de539b7b1cbbd742123a0d1d308691f511ca4576dfcbc7bf2cafb73e4d5b8b689 diff --git a/dev-python/cfn-lint/cfn-lint-1.46.0.ebuild b/dev-python/cfn-lint/cfn-lint-1.46.0.ebuild new file mode 100644 index 000000000000..a4c0be4f9142 --- /dev/null +++ b/dev-python/cfn-lint/cfn-lint-1.46.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="CloudFormation Linter" +HOMEPAGE=" + https://github.com/aws-cloudformation/cfn-lint/ + https://pypi.org/project/cfn-lint/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-sam-translator-1.97.0[${PYTHON_USEDEP}] + dev-python/jsonpatch[${PYTHON_USEDEP}] + >=dev-python/jschema-to-python-1.2.3[${PYTHON_USEDEP}] + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0[${PYTHON_USEDEP}] + dev-python/junit-xml[${PYTHON_USEDEP}] + <dev-python/networkx-4[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + >=dev-python/regex-2021.7.1[${PYTHON_USEDEP}] + >=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}] + >=dev-python/sympy-1.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-77.0.3[${PYTHON_USEDEP}] + test? ( + dev-python/defusedxml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +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 + # TODO: suddenly started failing in older versions too + # https://github.com/aws-cloudformation/cfn-lint/issues/4207 + test/integration/test_good_templates.py + test/unit/module/override/test_exclude.py::TestExclude::test_success_run + test/unit/module/test_api.py::TestLintFile::test_good_template + test/unit/module/test_rules_collections.py::TestRulesCollection::test_success_run + ) + + # from tox.ini + local -x AWS_DEFAULT_REGION=us-east-1 + epytest +} diff --git a/dev-python/clang/Manifest b/dev-python/clang/Manifest index c6af677c12d3..840bbc627f0e 100644 --- a/dev-python/clang/Manifest +++ b/dev-python/clang/Manifest @@ -14,3 +14,4 @@ DIST llvm-project-21.1.8.src.tar.xz.sig 119 BLAKE2B cffc1825f5778a3e3c128ec3e856 DIST llvm-project-22.1.0.src.tar.xz 167040408 BLAKE2B c5e9971dd17f4b0508b85c9f247bebfcf9a9b4e282f65b09105549e7aef529ed25104458b83f5d7b152c4308df8ea2f8fdb7f479f4928d9b4360a3c326255647 SHA512 588753a26742cfc76ca179398eaac6a31e68b1fa5bfaf7300ce710a89bba1dc9bfe41229bb9277663a3cde4468e74922153e5d1529eb7c6fe4de5ba3cb62ba45 DIST llvm-project-22.1.0.src.tar.xz.sig 119 BLAKE2B d3190d9dbacedf9de0c6b3d5c7711ae3c57dd4dc8cd136bc27fe4901253ffbd6d21060c046d7bf69d3a9489b5704ab5337e6d26da8236966c609b2d0eb54db97 SHA512 6145bf769640a9c6546cb63fa82450b2985ab74b2180a735f709ed909998cfbc6781116354b8b819cefa0e87cd11d470ecc64cd758b4a703aa10ee7880315f42 DIST llvm-project-ab25249e63aba72be5365e5dc08c8d3c34d23276.tar.gz 262159561 BLAKE2B 2ba10498cb3003b17680e4eb9cfdd1e50a359f64d2a3319e5060d2efde2c4d62bfb406d72eb66a358de1a5587cd5dcd360211c8a06b6b5a891379f4a75ff7114 SHA512 fa269505d6ddb2e8f78a761e299bd8432b9340055833c7d50d5285febf785c03a144e35e3911f00a592e05bbefb9316cdc8d6e06b01e79c6d1542a8081b9b294 +DIST llvm-project-d908184487b9d99b249d4238453e91203492888a.tar.gz 263757577 BLAKE2B 594855e915286c5b356c80abab06639e8e032559b011d0eb634ea873f552e0cb0b922709b6efdadd40adac053f0aa2e52bd82352c49f56af6f7d1c7727cdf5f7 SHA512 5849d385010d1deefde647ada47687c5479fa2b052990e9aec7c051d066fa8842b4fd431a151e62b335d0b91f72a6869bd7181c8bee500e76d575e414e7d4605 diff --git a/dev-python/clang/clang-23.0.0_pre20260303.ebuild b/dev-python/clang/clang-23.0.0_pre20260303.ebuild new file mode 100644 index 000000000000..bdbb6bbefa8b --- /dev/null +++ b/dev-python/clang/clang-23.0.0_pre20260303.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for llvm-core/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=llvm-core/clang-${PV}:* + !llvm-core/llvm:0[clang(-),python(-)] + !llvm-core/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + llvm-core/clang:${LLVM_MAJOR} + ) +" + +LLVM_COMPONENTS=( clang/{bindings/python,include} ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${LLVM_MAJOR}/$(get_libdir) + local -x CLANG_NO_DEFAULT_CONFIG=1 + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/find-libpython/Manifest b/dev-python/find-libpython/Manifest index c6e6fb3c7814..190498cd1e7a 100644 --- a/dev-python/find-libpython/Manifest +++ b/dev-python/find-libpython/Manifest @@ -1 +1 @@ -DIST find_libpython-0.5.0.tar.gz 9364 BLAKE2B 0b8f065a38c8dbd08d757a439c1e1134c7727d326a96f1eaedc6dfc9a7169836dae86356afed5b9a56b9b57ece74ddd73fbaf407de71b013cffa10835713b186 SHA512 8745f17117b1beecb49a0c2c5eb755233de1e59a496867ed1b4d139d687a24351a655fc39d53093c41ba0444e444d01be9c0c91c75b3fe0539f721e0a6d85759 +DIST find_libpython-0.5.1.tar.gz 9402 BLAKE2B 70906d777808d2d8daa4210245d2ccb52d0cf560821bff40479e1eaac4aa4f848a8e84d1f38d5afbfa0660a5bf6b7f811f28d2688664a47f1d21786d11a51636 SHA512 59fc30e47a01be0c1d9c0462e91fe3894d3840763a99140eb5e45f02f896f7f2bf780e77d0aedfea2843732e5db4255b1dc1caeb1d63da1bae620051a82d9321 diff --git a/dev-python/find-libpython/find-libpython-0.5.0.ebuild b/dev-python/find-libpython/find-libpython-0.5.1.ebuild index b3b4debf8e3b..3c61224ada7b 100644 --- a/dev-python/find-libpython/find-libpython-0.5.0.ebuild +++ b/dev-python/find-libpython/find-libpython-0.5.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index f90868caca2c..4f1006895bda 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -7,3 +7,5 @@ DIST google_api_python_client-2.189.0.tar.gz 13979470 BLAKE2B aefc980b263c95fdf4 DIST google_api_python_client-2.189.0.tar.gz.provenance 5830 BLAKE2B 2d65d4b17fdb3e19d819fa757ca116bd67ecc6bc29ca40afa9170bdbf78dcefc2a13fd1590d54193b70aeefec10a872e4202a71b8945aeaaf6f60b4ec2821e8a SHA512 bb1a0dc8e823d43c1ba2930e10da639882e9e76a65258a8cfa071f3974748f7f5d0a8edc961b7490dc9487f85ccee27c659650bb6df4193314ab916ac85bbd4e DIST google_api_python_client-2.190.0.tar.gz 14111143 BLAKE2B 734257756de0e54dc620853c0bf4b269a66413292c89afe2b919c61d9d4a12b6336d12cb83bd10881b6a179b0e1a4fbcde50b617c3d1787cce5451cedeb494ed SHA512 81f914cf107f76770b34edaccb148b242fbf9391c538eba3ae4935f3acf33fe8b175e4e10b75456fec23262e4265b1e9532beae7a54e49798019eecbbde46900 DIST google_api_python_client-2.190.0.tar.gz.provenance 5783 BLAKE2B 943beebdb890cb953ca5bcb395b95493a3d7a75a5ff8744c5a6ad5780a3370c4f31bc742c9111354403dfcdaf5aaded7bfe8cdd6c8ed1dc198021c7dba33cef2 SHA512 2836262e5dd0fc41d380d92b9f64e4f7cf3f52885140d87034796d4763358ef07665f70eea176d46a56c7ebc701680224762e57ac70fcce9fd1d2694d8a9b416 +DIST google_api_python_client-2.191.0.tar.gz 14195310 BLAKE2B d531dbc113850f53ab1005c053e29e62abf8e7922abaeadf5746143e11c71618c566690b588e100e4d48ac18f479f23dd73051a53eb12c599bc20bad735007bf SHA512 dcd51eff5c833d02295f7caca5ef10922f5e4fd3ad6f0c3f79d1c5c28f0a026c70624de995434a81bc186e9d071631a2aa42215ae966b7117f00b321377eea96 +DIST google_api_python_client-2.191.0.tar.gz.provenance 5627 BLAKE2B 600bba0d44751ed269cb3403096c6e90bf22f5604df885fe79fab396017c31742bdf5c832ee32ba0c1adae6abcc59a8cf65d2c29ffa562bc75b694d34540e559 SHA512 c41c4d17a6a42e9f55bf9778642315277380e31e28443935f0f8ccf4d23ab29b28af9024fe8a86e631fe4f9700b9f043af9bd38f645d984a08dc7c2adc2b597c diff --git a/dev-python/google-api-python-client/google-api-python-client-2.191.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.191.0.ebuild new file mode 100644 index 000000000000..16e1402184da --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.191.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=gcp:google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google API Client for Python" +HOMEPAGE=" + https://github.com/googleapis/google-api-python-client/ + https://pypi.org/project/google-api-python-client/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/httplib2-0.15[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}] + >=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-5[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # require Internet access (and credentials) + tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive + tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object + tests/test_discovery.py::Universe::test_client_options_universe_configured_with_mtls + tests/test_discovery.py::Universe::test_universe_env_var_configured_with_mtls + ) + + epytest tests +} diff --git a/dev-python/imagesize/Manifest b/dev-python/imagesize/Manifest index 42b869645aa2..082c6aa7311e 100644 --- a/dev-python/imagesize/Manifest +++ b/dev-python/imagesize/Manifest @@ -1 +1,2 @@ DIST imagesize-1.4.1.tar.gz 1280026 BLAKE2B 9293f56277e40a1ad74a96b2857e46535fd5bd320ab7dee48432762206f29b4f78e64d8713e19ea26c3f405ab6905ded3b04273d04e781f512e981bfe83e3f8c SHA512 f191d7fe34a01ab21b0f4f6519df8ab2a53c1ca54956f4d825d9cec5bd5f4c569491bdc26cb36fcaad2c453c35e51f69379f091362e206453aaefbda4802daa4 +DIST imagesize-1.5.0.tar.gz 1281127 BLAKE2B bb1532b9a22c20e1441ce8cf74df8ae8a2a7a686ca91a852d10dbb17592801a77806d976fa2fee022c6c18c149860087d8419556c4268f2bbb3cf3b2225958ec SHA512 7834670b8e3aa1b81feb0041cf15af445f89c504175dce0257d67524f71841040d32e7fb9a657984ffdc9b947c7b3376b51cf3b33953c515650481f1ed62bf4e diff --git a/dev-python/imagesize/imagesize-1.5.0.ebuild b/dev-python/imagesize/imagesize-1.5.0.ebuild new file mode 100644 index 000000000000..0b3317a56239 --- /dev/null +++ b/dev-python/imagesize/imagesize-1.5.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pure Python module for getting image size from png/jpeg/jpeg2000/gif files" +HOMEPAGE=" + https://github.com/shibukawa/imagesize_py/ + https://pypi.org/project/imagesize/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # requires Internet + test/test_get_filelike.py::test_get_filelike +) diff --git a/dev-python/kconfiglib/kconfiglib-14.1.0-r1.ebuild b/dev-python/kconfiglib/kconfiglib-14.1.0-r1.ebuild index de8bba6a68d2..aec617b27ffa 100644 --- a/dev-python/kconfiglib/kconfiglib-14.1.0-r1.ebuild +++ b/dev-python/kconfiglib/kconfiglib-14.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ S=${WORKDIR}/${P^} LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" python_prepare_all() { distutils-r1_python_prepare_all diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest index d12ab8aeaca8..a11d7c268c91 100644 --- a/dev-python/langdetect/Manifest +++ b/dev-python/langdetect/Manifest @@ -1,3 +1 @@ DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db -EBUILD langdetect-1.0.9.ebuild 494 BLAKE2B 9cd8a2a93a8d45bf51fe2324402b175d641762ea591fcb99459427f977a95eccffa6ca4777ca4df39814eea6eac62711567faa654456d32f79023a4685804504 SHA512 d973b85ba1a44389a4275f02a779a93a005f7c2e096467b94b072862e4984d5b42cf33f9821ac68aa5b85b12c98983a90b96049989d8c84497969174b6bb838e -MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45 diff --git a/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch new file mode 100644 index 000000000000..637368d2f237 --- /dev/null +++ b/dev-python/langdetect/files/langdetect-1.0.9-explicit-config.patch @@ -0,0 +1,13 @@ +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 271137de443d..7100f5f39dd8 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 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,4 +19,6 @@ 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 020e07f2a3dd..c0f74ac187e2 100644 --- a/dev-python/langdetect/metadata.xml +++ b/dev-python/langdetect/metadata.xml @@ -2,11 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marcin.deranek@slonko.net</email> - <name>Marcin Deranek</name> + <email>pastalian46@gmail.com</email> + <name>Takuya Wakazono</name> </maintainer> - <upstream> - <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to> - </upstream> - <origin>slonko-overlay</origin> + + <origin>gentoo-guru-overlay</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/lit/Manifest b/dev-python/lit/Manifest index c6af677c12d3..840bbc627f0e 100644 --- a/dev-python/lit/Manifest +++ b/dev-python/lit/Manifest @@ -14,3 +14,4 @@ DIST llvm-project-21.1.8.src.tar.xz.sig 119 BLAKE2B cffc1825f5778a3e3c128ec3e856 DIST llvm-project-22.1.0.src.tar.xz 167040408 BLAKE2B c5e9971dd17f4b0508b85c9f247bebfcf9a9b4e282f65b09105549e7aef529ed25104458b83f5d7b152c4308df8ea2f8fdb7f479f4928d9b4360a3c326255647 SHA512 588753a26742cfc76ca179398eaac6a31e68b1fa5bfaf7300ce710a89bba1dc9bfe41229bb9277663a3cde4468e74922153e5d1529eb7c6fe4de5ba3cb62ba45 DIST llvm-project-22.1.0.src.tar.xz.sig 119 BLAKE2B d3190d9dbacedf9de0c6b3d5c7711ae3c57dd4dc8cd136bc27fe4901253ffbd6d21060c046d7bf69d3a9489b5704ab5337e6d26da8236966c609b2d0eb54db97 SHA512 6145bf769640a9c6546cb63fa82450b2985ab74b2180a735f709ed909998cfbc6781116354b8b819cefa0e87cd11d470ecc64cd758b4a703aa10ee7880315f42 DIST llvm-project-ab25249e63aba72be5365e5dc08c8d3c34d23276.tar.gz 262159561 BLAKE2B 2ba10498cb3003b17680e4eb9cfdd1e50a359f64d2a3319e5060d2efde2c4d62bfb406d72eb66a358de1a5587cd5dcd360211c8a06b6b5a891379f4a75ff7114 SHA512 fa269505d6ddb2e8f78a761e299bd8432b9340055833c7d50d5285febf785c03a144e35e3911f00a592e05bbefb9316cdc8d6e06b01e79c6d1542a8081b9b294 +DIST llvm-project-d908184487b9d99b249d4238453e91203492888a.tar.gz 263757577 BLAKE2B 594855e915286c5b356c80abab06639e8e032559b011d0eb634ea873f552e0cb0b922709b6efdadd40adac053f0aa2e52bd82352c49f56af6f7d1c7727cdf5f7 SHA512 5849d385010d1deefde647ada47687c5479fa2b052990e9aec7c051d066fa8842b4fd431a151e62b335d0b91f72a6869bd7181c8bee500e76d575e414e7d4605 diff --git a/dev-python/lit/lit-23.0.0_pre20260303.ebuild b/dev-python/lit/lit-23.0.0_pre20260303.ebuild new file mode 100644 index 000000000000..2cc4b6485aed --- /dev/null +++ b/dev-python/lit/lit-23.0.0_pre20260303.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 llvm.org + +DESCRIPTION="A stand-alone install of the LLVM suite testing tool" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Tests require 'FileCheck' and 'not' utilities (from llvm) +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + llvm-core/llvm + ) +" + +LLVM_COMPONENTS=( llvm/utils/lit ) +llvm.org_set_globals + +# TODO: move the manpage generation here (from llvm-core/llvm) + +src_prepare() { + # flaky test + # https://github.com/llvm/llvm-project/issues/72022 + rm tests/progress-bar.py || die + + cd "${WORKDIR}" || die + distutils-r1_src_prepare +} + +python_test() { + local -x LIT_PRESERVES_TMP=1 + local litflags=$(get_lit_flags) + ./lit.py ${litflags//;/ } tests || die +} diff --git a/dev-python/magic-wormhole-transit-relay/Manifest b/dev-python/magic-wormhole-transit-relay/Manifest index 9c80e395cc07..d78e0b916970 100644 --- a/dev-python/magic-wormhole-transit-relay/Manifest +++ b/dev-python/magic-wormhole-transit-relay/Manifest @@ -1 +1,2 @@ DIST magic-wormhole-transit-relay-0.4.0.gh.tar.gz 62333 BLAKE2B 16415af2b9927cf2717c1c38be4b498d666db271c4e7b907bcf0fae9d5d100ee341358d2f04e72ba1a7f930dbc4fd9e797b20d6915d21955ef6963520d9b406a SHA512 ee0f40460277abc1ad550e070d8b70329da8c1311852f7a2eaaef036cfee7fcf018be7e6bad6f416392a602326ac436c33039d577af8cee2cfb09736749e956d +DIST magic-wormhole-transit-relay-0.5.0.gh.tar.gz 65189 BLAKE2B 7c2e98de1042410558cd2a7e219f821c71fa7e90b84b7cae1498dc155baf36aeef4f0a907f9c2419175bbae0d28b8826c4d8f1a8ee41088b8dad36e21d884963 SHA512 13b2358ab7c076bb822cd9e2394ecdd6d30769a043ed2e2cf04b68f451cd28dbedbfbe329f945581e9c0a83b2bde7b1a2529d8d38ef29a66088190aedbcd7d1f diff --git a/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.5.0.ebuild b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.5.0.ebuild new file mode 100644 index 000000000000..592fc19a7496 --- /dev/null +++ b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.5.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Transit relay server for magic-wormhole" +HOMEPAGE=" + https://magic-wormhole.readthedocs.io/en/latest/ + https://github.com/magic-wormhole/magic-wormhole-transit-relay/ + https://pypi.org/project/magic-wormhole-transit-relay/ +" +SRC_URI=" + https://github.com/magic-wormhole/magic-wormhole-transit-relay/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/autobahn-21.3.1[${PYTHON_USEDEP}] + >=dev-python/twisted-21.2.0[ssl,${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/versioneer[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + rm versioneer.py || die +} + +python_test() { + local -x PATH=${T}/bin:${PATH} + mkdir -p "${T}"/bin || die + # the script is apparently run with PATH wiped, sigh + cat > "${T}"/bin/twistd <<-EOF || die + #!$(type -P python) + import sys + from twisted.scripts.twistd import run + sys.exit(run()) + EOF + chmod +x "${T}"/bin/twistd || die + + epytest + + find "${BUILD_DIR}/install" -name dropin.cache -delete || die +} + +pkg_postinst() { + python_foreach_impl twisted-regen-cache +} + +pkg_postrm() { + python_foreach_impl twisted-regen-cache +} diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest index 650602af477c..7ce0fe9c3054 100644 --- a/dev-python/markdown2/Manifest +++ b/dev-python/markdown2/Manifest @@ -1,2 +1,2 @@ -DIST markdown2-2.5.3.tar.gz 141676 BLAKE2B 11f8d9012a33b89d1c46a5072ed0c8c37553b38f40f38894e68d2a68450da9afbf4e5d6ae40253e9b2703494621c48b895f376501af28567310e2bad34e64805 SHA512 9d21cd4d39dc51554069845fa368e5a2e374b781fc5cf7fdf84f198971da6fa89ec6259b2541ca90ff6431a9727b5801c6ecca89ca63cf7b002975a573de5c47 DIST markdown2-2.5.4.tar.gz 145652 BLAKE2B d1deb1993b8aebfb4442a577ef46f78bb84075fee664efbbbae2144cfe0e511043306e518988ea7bcb70bad448a4600c70249a2d00a4a091acd1fd3d813a9dac SHA512 c118a7b12e29f44256386297847556c550fd927b4d7a00786f9e93a67b88870dbe52e0481f3af6368be619c5b6c93a061be33915038738876d0f4a6a6eb05b57 +DIST markdown2-2.5.5.tar.gz 157249 BLAKE2B a523366116a2fce3a82efd8d40d7d7fef1a7187c75396bdfb732a54a53047f2a1dade29ffed428f3b67ba21030137b480c1130e0db107da471b1ff9ad2b9a9d9 SHA512 acfa636ea17c41ac93bfe3e7a24e2e64e176a834ddd57ad29c0efd9c0a5c5cffac6c4eaf973892a016e32480fef343618f1000c860d591ee27de1b90e13afcf8 diff --git a/dev-python/markdown2/markdown2-2.5.3.ebuild b/dev-python/markdown2/markdown2-2.5.5-r1.ebuild index c017c03a018c..cd3102ed0ae6 100644 --- a/dev-python/markdown2/markdown2-2.5.3.ebuild +++ b/dev-python/markdown2/markdown2-2.5.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" >=dev-python/pygments-2.7.3[${PYTHON_USEDEP}] @@ -24,6 +24,13 @@ RDEPEND=" distutils_enable_tests unittest +src_prepare() { + distutils-r1_src_prepare + + # https://github.com/trentm/python-markdown2/pull/682 + sed -i -e '/data_files/d' setup.py || die +} + python_test() { cd test || die "${EPYTHON}" -m unittest test_markdown2.py -v || diff --git a/dev-python/openapi-schema-validator/Manifest b/dev-python/openapi-schema-validator/Manifest index 38c9f1184e46..04793bda017b 100644 --- a/dev-python/openapi-schema-validator/Manifest +++ b/dev-python/openapi-schema-validator/Manifest @@ -9,3 +9,5 @@ DIST openapi_schema_validator-0.7.3.tar.gz 20323 BLAKE2B cbbb7ed894a0ef88c619fbc DIST openapi_schema_validator-0.7.3.tar.gz.provenance 10012 BLAKE2B d89a0099a1e4b5b1b89caa6c925828a6a8fa7348627d4cdf16f8e90729aa8d559c57d4459a3fc4fdc5e0d8c03d0d47c7eb49782f1973d098a8b5734fcd0a6a90 SHA512 9a69e2766a2ce19a3f18972505b86e988ee960a7636345edfb019438e7904ce60e1e6054e3da834729fdc7a1195eab8465e5c0b811fef8b9bc764e41da886591 DIST openapi_schema_validator-0.8.0.tar.gz 20744 BLAKE2B 2833ea5c972bcc398daacd8f7c189760b69b7576b1a7e733c7d9173eecf8a9f69cf42b26b9141de1f3763fe6bb49979d34e9b61d25026a29151411545983193b SHA512 a8faa6bffbc3c94458a7ad346803d7b872036e1fed30df14ee8423378f0fed35cee1fc5db0fda8768b16d1807d588fd1ff45584e5359e0fb7db652ca0bd0a783 DIST openapi_schema_validator-0.8.0.tar.gz.provenance 10149 BLAKE2B c5c2779dfa3cad822b3a42d097db7590c1563499d825f3cce1f3dabb89a17cc431d7723e2a26c072a16ab38687a7e41ec714852ae327a893d73676aafe47b1d4 SHA512 148845ccabe0a8c89cc74ee6b80ffbd653b319552191caae9696db8cd44ead6b187efa338459b9c8542f8cc0c237ccb33f934f2d8f8e8a73101f29a7e7101b1a +DIST openapi_schema_validator-0.8.1.tar.gz 23134 BLAKE2B 0079494f6538f185eae8d3d3b16990c4e2660e402a7f243c471bc702ce2911f03bc72c3cd6ce9be55953a954eea288c67e665f802c78cb70d2ed2329cf2ee48a SHA512 7e163c215e201318e9a373b6d64defcacc956c45a6ef26cd478be92d2575e7b069f3b503694df09cdcd321fc3eed4361716d59023118775895479c573732f8ba +DIST openapi_schema_validator-0.8.1.tar.gz.provenance 9860 BLAKE2B d195c9ae268285d953577504877dbaec85f70ceacbefb3cecf4f3d4ebe2e786a590604a18c8556a62ff2dc28cbf7486ec13861cbd8515357b5be887499c85eae SHA512 ba24fe68e1b953c3844e0dd8933a1aee62e27399e9bd3ab4df05cc90afbd7d697f196a4dede1131aadffac1d092212815713879f40d7adc53e161837635d1bc5 diff --git a/dev-python/openapi-schema-validator/openapi-schema-validator-0.8.1.ebuild b/dev-python/openapi-schema-validator/openapi-schema-validator-0.8.1.ebuild new file mode 100644 index 000000000000..eab08db7be1f --- /dev/null +++ b/dev-python/openapi-schema-validator/openapi-schema-validator-0.8.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-openapi/openapi-schema-validator +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="OpenAPI schema validation for Python" +HOMEPAGE=" + https://github.com/python-openapi/openapi-schema-validator/ + https://pypi.org/project/openapi-schema-validator/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + <dev-python/jsonschema-5[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.19.1[${PYTHON_USEDEP}] + >=dev-python/jsonschema-specifications-2024.10.1[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}] + >=dev-python/referencing-0.37.0[${PYTHON_USEDEP}] + dev-python/regress[${PYTHON_USEDEP}] + dev-python/rfc3339-validator[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e '/--cov/d' -e 's:\^:>=:' pyproject.toml || die +} diff --git a/dev-python/plotly/Manifest b/dev-python/plotly/Manifest index e728f17891e7..7f2fa8112cf3 100644 --- a/dev-python/plotly/Manifest +++ b/dev-python/plotly/Manifest @@ -1,2 +1,2 @@ -DIST plotly.py-6.5.1.gh.tar.gz 10346912 BLAKE2B 04c7e580d1b0ae6265f5b60ef89c42c31137da3bd8f8125997ba6f8ea107745bedd755d495c9f5f10749dc8905a0f67863bab1460000ac3bebe2eb711ea4e974 SHA512 edccd0262fcd8795dbc3e6574d2fa6ce398b678abe6d25498831418bf4034f7ed01c46993e973524055987d68859c78c5f5b46c44984a7611791ba81fef87308 DIST plotly.py-6.5.2.gh.tar.gz 10353167 BLAKE2B 6664ce2aad054afd698b33d40a65f2187b1168c817fb40572bb90cecb23a91f0452c77c246ad5341eaf16067b878de27164cb10555404fd703769050e79e5df9 SHA512 962034b5d8b72ba6e19b1268493753a6f3affa40225f47bd2d6048e0d65803ac01f10164dc6098e09d0f4a8f5096223e8ebf012e7fb8fb50ec25453728500169 +DIST plotly.py-6.6.0.gh.tar.gz 10370904 BLAKE2B 871fc805cda64303ffd5a3aa65e35573941fd3222f64e4bb965362d03f8e8843144bd6e9975960d009ca20a9af9366433878edd1f2edd13bffd734882eaae93c SHA512 ba3dae0d18a24498b9362fa7eb1cbc0a635fc447dfc9ee087fc6d8efd31359a4eb2d7467729d283325e3325a9645fcc4b5bdf60f3ea873b3ead79f6612ed39bc diff --git a/dev-python/plotly/plotly-6.5.1.ebuild b/dev-python/plotly/plotly-6.6.0.ebuild index 4a72b977015d..4a72b977015d 100644 --- a/dev-python/plotly/plotly-6.5.1.ebuild +++ b/dev-python/plotly/plotly-6.6.0.ebuild diff --git a/dev-python/poetry/poetry-2.2.1-r1.ebuild b/dev-python/poetry/poetry-2.2.1-r2.ebuild index dad4e966ceca..ca697f0c6676 100644 --- a/dev-python/poetry/poetry-2.2.1-r1.ebuild +++ b/dev-python/poetry/poetry-2.2.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ SLOT="0" KEYWORDS="amd64 ~arm64 ~x86" RDEPEND=" - >=dev-python/poetry-core-${PV}[${PYTHON_USEDEP}] + =dev-python/poetry-core-$(ver_cut 1-2)*[${PYTHON_USEDEP}] >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] >=dev-python/build-1.2.1[${PYTHON_USEDEP}] >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] diff --git a/dev-python/poetry/poetry-2.3.2.ebuild b/dev-python/poetry/poetry-2.3.0-r1.ebuild index 4e9631aa2785..4cd2b6410df6 100644 --- a/dev-python/poetry/poetry-2.3.2.ebuild +++ b/dev-python/poetry/poetry-2.3.0-r1.ebuild @@ -21,7 +21,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" - =dev-python/poetry-core-2.3.1[${PYTHON_USEDEP}] + =dev-python/poetry-core-$(ver_cut 1-2)*[${PYTHON_USEDEP}] >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] >=dev-python/build-1.2.1[${PYTHON_USEDEP}] >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] @@ -46,10 +46,9 @@ RDEPEND=" BDEPEND=" test? ( >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] - >=dev-python/httpretty-1.1[${PYTHON_USEDEP}] >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] ) " @@ -65,15 +64,6 @@ EPYTEST_DESELECT=( # broken if poetry-plugin-export is installed 'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]' - - # TODO - tests/console/commands/env/test_activate.py::test_no_additional_output_in_verbose_mode - tests/installation/test_executor.py::test_executor_known_hashes - tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies - tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable - tests/utils/test_python_manager.py::test_python_get_preferred_default - 'tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[name]' - 'tests/console/commands/python/test_python_list.py::test_list_poetry_managed[False]' ) src_prepare() { diff --git a/dev-python/poetry/poetry-2.3.1.ebuild b/dev-python/poetry/poetry-2.3.1.ebuild index 87bd7179d2e8..4cd2b6410df6 100644 --- a/dev-python/poetry/poetry-2.3.1.ebuild +++ b/dev-python/poetry/poetry-2.3.1.ebuild @@ -46,10 +46,9 @@ RDEPEND=" BDEPEND=" test? ( >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] - >=dev-python/httpretty-1.1[${PYTHON_USEDEP}] >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] ) " @@ -65,15 +64,6 @@ EPYTEST_DESELECT=( # broken if poetry-plugin-export is installed 'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]' - - # TODO - tests/console/commands/env/test_activate.py::test_no_additional_output_in_verbose_mode - tests/installation/test_executor.py::test_executor_known_hashes - tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies - tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable - tests/utils/test_python_manager.py::test_python_get_preferred_default - 'tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[name]' - 'tests/console/commands/python/test_python_list.py::test_list_poetry_managed[False]' ) src_prepare() { diff --git a/dev-python/poetry/poetry-2.3.0.ebuild b/dev-python/poetry/poetry-2.3.2-r1.ebuild index a8aefe299d7f..4cd2b6410df6 100644 --- a/dev-python/poetry/poetry-2.3.0.ebuild +++ b/dev-python/poetry/poetry-2.3.2-r1.ebuild @@ -21,7 +21,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" - >=dev-python/poetry-core-${PV}[${PYTHON_USEDEP}] + =dev-python/poetry-core-$(ver_cut 1-2)*[${PYTHON_USEDEP}] >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] >=dev-python/build-1.2.1[${PYTHON_USEDEP}] >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] @@ -46,10 +46,9 @@ RDEPEND=" BDEPEND=" test? ( >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] - >=dev-python/httpretty-1.1[${PYTHON_USEDEP}] >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] ) " @@ -65,15 +64,6 @@ EPYTEST_DESELECT=( # broken if poetry-plugin-export is installed 'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]' - - # TODO - tests/console/commands/env/test_activate.py::test_no_additional_output_in_verbose_mode - tests/installation/test_executor.py::test_executor_known_hashes - tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies - tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable - tests/utils/test_python_manager.py::test_python_get_preferred_default - 'tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[name]' - 'tests/console/commands/python/test_python_list.py::test_list_poetry_managed[False]' ) src_prepare() { diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 0910d8bb18bb..ba4e7b63edf3 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -1,4 +1,5 @@ DIST pypdf-6.7.2.gh.tar.gz 8385062 BLAKE2B f2d11b6c3c0c47cc229f187ce962ea25d4d792bc6b934ce267ea7a7f950b7902f887a0e007cf591699314db81820e1e115c46fb017e2defc9ff25b6db7c50952 SHA512 fb9ea3da1c5de7e63d3872321df5f12f895f6cd3197161e49d8434ed07f4ea4e386e4dc367d20dcefdd1643a65c1b19342c72271ee5a9ef9b3af628847b9f561 DIST pypdf-6.7.3.gh.tar.gz 8385676 BLAKE2B 97e76e6c7f7ceaa278eb32ba47aef6801cb83adb3dbf6a90c1504c7aaff82ab3233edb5d49e0480b52d6679004d9eac2e7f19bde9d64ec70564c23c517be764f SHA512 0c9f6ae7b3796dc1cbd445605ca2dfe4ba5ca222c50cab7b817b361af3cc29dd27831c375132eb7bb17e6ef669ccf536ca5b566cc81c047d012bd11e81356c23 DIST pypdf-6.7.4.gh.tar.gz 8386627 BLAKE2B 91b9e5b2086ee9b56afe45c5d2e1b765d0860ab2cff367eb839b96074efc283734c90002210a98eb5289292002e984661a0fb7c2ac285f4aa3d3ab4b29d59235 SHA512 7b0e2417036cbf524bc31430b55f317b7d8efabdf7a96cab9c05a2fc6b5a3ca022a4b8e3bad71d259b5cb06e8eab058255dd84c972d6929820e0a3a151cd95b7 +DIST pypdf-6.7.5.gh.tar.gz 8386598 BLAKE2B e3b49c4a5f00769f89b4973677c798b6e00a6e3d2f47ccd4d2e89f21496fc24bac9a73a5c469f4ce9b50ab4ff3738f08710bef3f8ece44dbf75e23229618098f SHA512 1d33acc25027fae56e5a94ea496771cc033b5a42598b05f5d1bc28171974834f5ab2fe247c4da7d8917ade9b3640c2d615e5e3230b1cac64ba542683c743d9b9 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-6.7.5.ebuild b/dev-python/pypdf/pypdf-6.7.5.ebuild new file mode 100644 index 000000000000..2bd3de61de48 --- /dev/null +++ b/dev-python/pypdf/pypdf-6.7.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/jbig2dec[png] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index e03b9e840620..0d2d572d526f 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,2 +1 @@ -DIST pyqtgraph-0.13.7.gh.tar.gz 2364456 BLAKE2B 3ce1a3eb177a2a6328f1b7354bf9d4a87ffedcf4fa75fa407bd2df708b91fe98e2500364220ac7395745c69ac86f4830ea58999d05af49850edc723a6ccad5a1 SHA512 91e06e143fec4b1a6fae5cc7112a1fb6b7e74c7a38605172aacc5639eb220e30c54694e419313c7bb8368ea5c5f45f41d58e4510735e63a7d6ef03cdbb0f05e9 DIST pyqtgraph-0.14.0.gh.tar.gz 2397130 BLAKE2B 51cec6093e1061a62f8db1ba431a43a8fc4831c5b7e07c8c88bdf3bdcf615589375c2fae5927ca027ce0b77529b49ad232a60a2751948e8fe100fcddaff9805a SHA512 f9c973d5dbfd79ef34652a5eb8eadbc1b0215aa1c30773e5c58148bae6a6d79d3e21a904b1a6dd8ff6eb7fe15debf6c1d45c8a9cce96cbcc60495bc9814259f7 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.7-r2.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.7-r2.ebuild deleted file mode 100644 index a98cfbe71464..000000000000 --- a/dev-python/pyqtgraph/pyqtgraph-0.13.7-r2.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" -HOMEPAGE=" - https://www.pyqtgraph.org/ - https://github.com/pyqtgraph/pyqtgraph/ - https://pypi.org/project/pyqtgraph/ -" -SRC_URI=" - https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${PN}-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86" -IUSE="opengl svg qt5 +qt6" -REQUIRED_USE="test? ( opengl svg ) || ( qt5 qt6 )" - -RDEPEND=" - >=dev-python/numpy-1.22[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) - qt5? ( dev-python/pyqt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] ) - qt6? ( dev-python/pyqt6[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] ) -" -BDEPEND=" - test? ( - dev-python/h5py[${PYTHON_USEDEP}] - qt5? ( dev-python/pyqt5[testlib,${PYTHON_USEDEP}] ) - qt6? ( dev-python/pyqt6[testlib,${PYTHON_USEDEP}] ) - dev-python/pytest-xvfb[${PYTHON_USEDEP}] - dev-vcs/git - ) - sys-apps/gawk -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -python_prepare_all() { - distutils-r1_python_prepare_all - - if ! use opengl; then - rm -r pyqtgraph/opengl || die - fi - - # pyqtgraph will automatically use any QT bindings it finds, - # patch the supported Qt versions to only include the ones we have enabled - # This can be simplified to: - # `sed 's/QT_LIB = os.getenv('PYQTGRAPH_QT_LIB')/'QT_LIB = "PyQt6"/' -i pyqtgraph/Qt/__init__.py` - # when we only need to support pyqt6. - local upstream_supported_qt=( - PySide{,2,6} - PyQt{4,5,6} - ) - local gentoo_qt=() - local is_supported_impl use_qt qt - # pyqtgraph has conditionals that depend on these values; we can't just remove them. - # set deselected or unsupported to None to avoid more patching - for qt in "${upstream_supported_qt[@]}"; do - is_supported_impl=0 - case ${qt} in - PyQt5) is_supported_impl=1; use_qt=${qt:2} ;; - PyQt6) is_supported_impl=1; use_qt=${qt:2} ;; - esac - if [[ "${is_supported_impl}" -eq 0 ]]; then - gentoo_qt+=( "${qt^^} = None" ) - continue - fi - if use ${use_qt,,}; then - gentoo_qt+=( "${qt^^} = '${qt}'" ) - else - gentoo_qt+=( "${qt^^} = None" ) - fi - done - - gawk -v qt_string="$(printf "%s\n" "${gentoo_qt[@]}")" -i inplace ' - BEGIN { - i = 0 - split(qt_string, qt_array, "\n") - j = 1 - } - /PYSIDE = '"'"'PySide'"'"'/ { - i = 6 # length of upstream_supported_qt - for (k = 1; k <= length(qt_array); k++) { - print qt_array[k] - j++ - } - } - i > 0 { - i-- - next - } - { print } - ' pyqtgraph/Qt/__init__.py || die "Failed to patch supported Qt versions" - - # We also need to remove them from load order. - local liborder=() - local qt - # The order is important (we want to prefer the newest at runtime) - for qt in qt6 qt5; do - if use ${qt}; then - liborder+=( "PY${qt^^}" ) - fi - done - - gawk -v libOrder="$(printf "%s, " "${liborder[@]}")" -i inplace ' - BEGIN { - libOrder = "[" substr(libOrder, 1, length(libOrder) - 2) "]" - } - /libOrder = \[PYQT6, PYSIDE6, PYQT5, PYSIDE2\]/ { - sub(/\[PYQT6, PYSIDE6, PYQT5, PYSIDE2\]/, libOrder) - } - { print } - ' pyqtgraph/Qt/__init__.py || die "Failed to patch qt version order" - - # Finally update the list of supported frontends in test to never try unsupported or deselected - if use test; then - local frontends=() - for qt in qt5 qt6; do - if use ${qt}; then - frontends+=( "Qt.PY${qt^^}: False," ) - fi - done - gawk -v frontends="$(printf "%s\n" "${frontends[@]}")" -i inplace ' - BEGIN { - i = 0 - split(frontends, frontend_array, "\n") - j = 1 - } - /frontends = {/ { - i = 6 # length of frontends - - print "frontends = {" - for (k = 1; k <= length(frontend_array); k++) { - print " " frontend_array[k] - } - print "}" - } - i > 0 { - i-- - next - } - { print } - ' pyqtgraph/examples/test_examples.py || die "Failed to patch test frontends" - fi -} - -python_test() { - local EPYTEST_DESELECT=( - # apparently fragile - tests/test_reload.py::test_reload - - # TODO - tests/exporters/test_svg.py::test_plotscene - tests/graphicsItems/test_ROI.py::test_PolyLineROI - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p xvfb -} diff --git a/dev-python/pyspnego/Manifest b/dev-python/pyspnego/Manifest index becdb5458648..137e353cdbcb 100644 --- a/dev-python/pyspnego/Manifest +++ b/dev-python/pyspnego/Manifest @@ -1,2 +1,3 @@ -DIST pyspnego-0.11.2.tar.gz 225954 BLAKE2B 58a2f17a74805ae68cd49b382e2185b6d9e4920e8be7d672efff3258e37d2b8adb56092c5bfbcbb02b7106ad039e08394d60e389dac930a1fff7d4f85e353512 SHA512 6e2a16b538d5c078842db1629628b13257a900c51778b9186f4edff33b4e932eaff2a8ccad41b50a8a89118283059fc716cfc92dfe423ed1ead1a22e6a172a9c DIST pyspnego-0.12.0.tar.gz 225764 BLAKE2B 06abe5628ee0f92fb5b6a752d301a592639c3a1e6b33445465cba8cf42380adba6ceb1f47e11e1f48995b09874659e28d7db619d0eb13c1d3ab0a05948bc7c31 SHA512 0fb6d0c7f07a9ed0ab10ea5bf771acb7b99d91c6f3031faa5451520004fcc6868751f86725a3b8a75078d6396ffae60669a40fca46f24853587922d01ae76e52 +DIST pyspnego-0.12.1.tar.gz 226027 BLAKE2B 06652f516bc1a2a051ab45f60e21c3010ce77981f4803ca18d9c548261c18b777333882de885d9042be0cf7aa47b86f5c5a08d22772450892d723c2839f15f82 SHA512 a31cb6624262a4f0005a9eaa22d94e192a3577e9aaff26f6202a5da21c304b30e190278341162933b6dfe904f5fe6242ea8d81dae4a3bb1e7653172d9380d135 +DIST pyspnego-0.12.1.tar.gz.provenance 9136 BLAKE2B 5494e591b7cdd3dea6ccb9f1701f2c503a8a6094905611201ab6324d48c2e3392b2a33f826b65ea302206826a9b108e720a0a6ecb5c0790d315bbc8b5eee329c SHA512 77e8ff42e0e716dd029a3f399aa00dc0910eb706b57eb0717e3d7877233311ddcd7d3bb19b1e75489b46397c2eec3537d69ee073c4301cb010c55d392b6a2917 diff --git a/dev-python/pyspnego/pyspnego-0.11.2.ebuild b/dev-python/pyspnego/pyspnego-0.12.1.ebuild index 43ba9a0827b3..f508cbc6e4d1 100644 --- a/dev-python/pyspnego/pyspnego-0.11.2.ebuild +++ b/dev-python/pyspnego/pyspnego-0.12.1.ebuild @@ -1,9 +1,10 @@ -# Copyright 2021-2024 Gentoo Authors +# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/jborean93/pyspnego PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 optfeature pypi @@ -16,7 +17,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] @@ -25,11 +26,11 @@ BDEPEND=" test? ( dev-python/gssapi[${PYTHON_USEDEP}] >=dev-python/krb5-0.3.0[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/ruamel-yaml[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( pytest-mock ) distutils_enable_tests pytest pkg_postinst() { diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index 7000a5160f7b..a7006c1fafe3 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -1,3 +1,4 @@ DIST pytest_check-2.6.2.tar.gz 27988 BLAKE2B f6f3e7b5d49d10bb398d562899954f3b76271859057a8ee292506e6e117c9b54630c44b8037977234f8892b3a9727acdc5b2a7e32930d22ae42d774977f71e60 SHA512 7afd2fd0d578f0e0c027fcd2807a57e0fd8af65a88218e1e09882e06eb5108c4110359af6cc38a004bbad74753735b9f38542bb64cec949ea1138153d5145e42 DIST pytest_check-2.7.0.tar.gz 30153 BLAKE2B e5248dc993670ddebf92dbaeb12a71ec48128fbf96819e1ffa7705c60f7110d2525a7f758daacb4308ee1c76b3f351637137e4da7e68e60045bf7ca05d4c6a02 SHA512 54c1696d18feec5dee0e6875347266b4dd5cd2e12497cbda944b65c0dcc205c99dabe159462338641bf1abd1791e55fdc0a1943d2eec64ca5e9b5ff812297c26 DIST pytest_check-2.7.2.tar.gz 32694 BLAKE2B 77aca51ec63797ac43865ad3560fb8b3e12d91dd1ecff5cfc1b37eab949acbd90f8d944822656fc27385ae6315fbdebe17631fe12519adfb3a74f4e1d178909a SHA512 e63c3df5b232a3836ff0fdf27b3642cf1cfd8bb1c7e3572c898edd3654ff5e6fae421ca36f7c6a01130073820d69cba81fe16ab1b2062fc0942435ea139c7dd4 +DIST pytest_check-2.7.3.tar.gz 34421 BLAKE2B efecc2ce320bcb29a87034d6e9b85004aa398b6d367b86c96d0145afbcebbd9bf964f6984dc06943e0663e060046d8d522fe0b3d178f090c52d3dda81b45443f SHA512 408b299f3da6f8cffdfd51c56bc872c010c7416fc639e079faebe59b8ef2daa6a0146b91677d6d11f83471f2dacb456714121a08b134adae40f1addacd9fa74d diff --git a/dev-python/pytest-check/pytest-check-2.7.3.ebuild b/dev-python/pytest-check/pytest-check-2.7.3.ebuild new file mode 100644 index 000000000000..d2399b155e54 --- /dev/null +++ b/dev-python/pytest-check/pytest-check-2.7.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="pytest plugin that allows multiple failures per test" +HOMEPAGE=" + https://github.com/okken/pytest-check/ + https://pypi.org/project/pytest-check/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest diff --git a/dev-python/python-cinderclient/Manifest b/dev-python/python-cinderclient/Manifest index 59f2bb8cb16f..fb5dfdd9506e 100644 --- a/dev-python/python-cinderclient/Manifest +++ b/dev-python/python-cinderclient/Manifest @@ -1,2 +1,2 @@ -DIST python_cinderclient-9.7.0.tar.gz 236901 BLAKE2B 9cf188fd8960a99dfee68ec943b0e4124a78c2a8d9bc990f8bbe98646886e462e3bdd3449772492d07a1d8697423f57ae06d55daba5ce2ac44205407dc554d3b SHA512 b1a0222b7d67cda221086c469f76dc757905ca2b92645389603b0ba28c1a6b5eedd0049dbc09b6da1fc097e4ab7826c11927c88cf7c314757cdde1826cf55d1c DIST python_cinderclient-9.8.0.tar.gz 237057 BLAKE2B ade3ad6adddb11e5b82039228e2b1251d576bd4d5cda530dd8a3a44d58c04a1585afd17e53fe73281b9155584caf8ee6bda8f5f5826823c4872fd95e904f7878 SHA512 1bd29ad5a8ebd176a2d537d9935570676e8300bd4cbf38c61b16ac7d2b833a25a39467c1c659be48d22fbf8fcd6a514ab18733154a15ca6884df65a4d9f188e9 +DIST python_cinderclient-9.9.0.tar.gz 236806 BLAKE2B c4fe3f2b711e27defb2b585fe245e9b8f50eb68bc51ea2e2605e654983fc939fd1664e210f81a8ab264364150c7507d7046997477882a0584744f792a6ad5059 SHA512 7f3a8cdf6c3db29bf4e27cc63fbf7561e0edc5fab10faf0d03eef9993a902baf45a5fc5505af2bf03a971c2d73d2b42d6a4158e7ee2568be5fc3b30573e05e91 diff --git a/dev-python/python-cinderclient/files/python-cinderclient-9.7.0-py313.patch b/dev-python/python-cinderclient/files/python-cinderclient-9.7.0-py313.patch deleted file mode 100644 index 0cfc8df62cd5..000000000000 --- a/dev-python/python-cinderclient/files/python-cinderclient-9.7.0-py313.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/cinderclient/tests/unit/test_shell.py b/cinderclient/tests/unit/test_shell.py -index c5d64af..6b67a8e 100644 ---- a/cinderclient/tests/unit/test_shell.py -+++ b/cinderclient/tests/unit/test_shell.py -@@ -437,12 +437,14 @@ - expected_help = ("help message (Supported by API versions " - "%(start)s - %(end)s)") % { - 'start': '3.0', 'end': '3.3'} -- expected_desc = ("help message\n\n " -- "This will not show up in help message\n ") -+ self.assertIn('help message', -+ mock_add_parser.call_args_list[0][1]['description']) -+ self.assertIn('This will not show up in help message', -+ mock_add_parser.call_args_list[0][1]['description']) - mock_add_parser.assert_any_call( - 'fake-action', - help=expected_help, -- description=expected_desc, -+ description=mock.ANY, - add_help=False, - formatter_class=cinderclient.shell.OpenStackHelpFormatter) - diff --git a/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild b/dev-python/python-cinderclient/python-cinderclient-9.9.0.ebuild index c58270bb53e4..7c5941ab7c71 100644 --- a/dev-python/python-cinderclient/python-cinderclient-9.7.0.ebuild +++ b/dev-python/python-cinderclient/python-cinderclient-9.9.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=setuptools +DISTUTILS_USE_PEP517=pbr PYTHON_COMPAT=( python3_{10..14} ) inherit distutils-r1 pypi @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/keystoneauth1-5.9.0[${PYTHON_USEDEP}] @@ -29,7 +29,6 @@ RDEPEND=" >=dev-python/stevedore-3.3.0[${PYTHON_USEDEP}] " BDEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] test? ( dev-python/ddt[${PYTHON_USEDEP}] dev-python/fixtures[${PYTHON_USEDEP}] @@ -41,11 +40,6 @@ BDEPEND=" distutils_enable_tests unittest -PATCHES=( - # https://review.opendev.org/c/openstack/python-cinderclient/+/930218/1 - "${FILESDIR}/${P}-py313.patch" -) - python_test() { # functional tests require cloud instance access eunittest -b cinderclient/tests/unit diff --git a/dev-python/python-tests/Manifest b/dev-python/python-tests/Manifest index 5fe0b8efefbc..d2b5cea0fb4d 100644 --- a/dev-python/python-tests/Manifest +++ b/dev-python/python-tests/Manifest @@ -1,5 +1,7 @@ DIST Python-3.11.14.tar.xz 20326860 BLAKE2B d0db72842e46fd2b95d245e8fe4550a52ad2eabcb95900d8beb2f871ed25494dba395bf30e93591ecc42b99cd587c6ecb06578d1232fe51a04e37bf00dec307d SHA512 8b5aa917fe67dbaa3c306239ed56c16cd7a3b4b701fab0b3dc0d342d60176c75440713bcab0c59a3289ac4a0f06103bd31140c492556e1937fcdbd990675f9e5 DIST Python-3.11.14.tar.xz.asc 833 BLAKE2B 5b32ac50e6e725d9949bb6e89179d1c06c4e7d04ea82f6b80b64573c7e05b94da12de5738d0d7a5b73ad8d4cf1a5b35c5738c9e5a4ef93f97bb660f6f8b7cfc7 SHA512 d0049fd6f6d06ae5d86b3587080be060d522dd52e7e56270125541d5617582ea3977b75c7e585da005694665cfc5657e39033a730187c506edc252965f4df769 +DIST Python-3.11.15.tar.xz 20332596 BLAKE2B 8be4dd30aff7a2615fd37754dc6ed1caede1507ef7716e500a2e1d1aa421668e810a2c13dfc743bcd47576a7715588476bd8c3d42275a24215a85109d6da7062 SHA512 1667f4839acfd23d05917a12993983b7dc3ab4438a37c72496fd040ac6981f4dea9dc95461ca701a6862beedb56c423fb83398b8b18e39e1efe12f539fced1c1 +DIST Python-3.11.15.tar.xz.asc 833 BLAKE2B dd4134701ef36d22c7bca8ea16794d3e85dc2a2b6323b2babfdeb2652ade1db8b7d4256cb68a40ee1c1a2b5885666e25791c1e4d6c044cc8d49f68693ec65887 SHA512 673822ca037acb521bf7d3e7433f83cc2d60c8d102cfbf6695234e2a50ce12a7003040ad4017438510ebbb1ff0ba6727253fae250b07bc0e3d24b5578e80be52 DIST Python-3.12.12.tar.xz 20798712 BLAKE2B 3ce140b5b2c5e3b055118c8595385c7d79582c64cd8dfe9dbd062f8e38a7a995bf51f7c61e1faa768bd36c315c3493d27cd81c7425c7416454f41f77431eac0f SHA512 4b99d240dd96a6e154909dcffe87f8bb38193d634cd80a1c3d9e819b7a63af2afa46d5e6423e81f00dd388840dc29a4a71580f6aa1ce9a12e559c1d63f65a205 DIST Python-3.12.12.tar.xz.asc 963 BLAKE2B 243d7e8000768b562ff771ec8dd8fdc6be2bc36174a1f0f8b00038df2264c9d1c8a14913d07df2826fead822a16db18ef08b40d553f6a9bdc0ea39645d6d798a SHA512 32c10fd427c6f9f11595493d1b4d4c3cade85bffd439fe11e8b0b2c619e06734097b6aaedfdb4fe035b7fdd7196714dba77cdc806923e4454d5bcf60056991a0 DIST Python-3.13.11.tar.xz 22704352 BLAKE2B 6c9c4dddcda36a0210155b759c01101b0429b17622d76a50881533b454335298e9f71ba300710afea2039425a08e4e1ea7eab27a18dc871950c3a32ad93ce663 SHA512 11a910785bb3edeb3888331f29d2514d539f08b07d3125186364ab0e261dab29c7e7c70fe08d89718c38b6053cbe932ac4a6062ac291871e6f4173d29425264a @@ -16,6 +18,7 @@ DIST Python-3.14.3.tar.xz 23778568 BLAKE2B 9312d28b8bd44c642eeb2d608827984610154 DIST Python-3.14.3.tar.xz.sigstore 5215 BLAKE2B bb6b0aae97c9b7312b7a6f6bf3fc200a95432ae28d49e6b8bbf2ff97d6c6c65f3a60d3adad96eee3bf5f18163dda0a46768f22c6cf18b3be83fda536d73ac048 SHA512 0eda4ba0e9920ef927882507dc41e5bb35758ada6b5d54d312715ffd258a281edd776695109577f8ec54c915b5d4dcf19c2ba79efc2cb3dc3b3d85c82acf49f0 DIST python-gentoo-patches-3.11.11.tar.xz 10604 BLAKE2B 6be4c66b0458f7a7085aef976cff3dcb4d114ac0b64fb27327a5693e8d41a77f7eeed718b9c5a1b1961278235ee4cd43497aa3dc27e6e6bed65804b95f667a15 SHA512 ab8113a94949cead34d976179f80c3e0a6686bf2476079a74f97b4d08c24a237500dc7ee09dc3b0ec98d2fbcb138397c73d7e2252e617a957a13999e59115158 DIST python-gentoo-patches-3.11.14.tar.xz 15968 BLAKE2B 5bd091046feee03afd59a87b72c44b3a0874b23f89eb98020cc057f5651d31857721eb095bd056dae8bef85220dbe5aff2900cf8411dceb14e8775a4a2f09a93 SHA512 760df16f98c1a91164b43c13eb36073c74169321569791125fdad8682419b818736fe02e40c1aa1232a11081b1007c923a8fd2afd002eb4fdff0800da92d03e2 +DIST python-gentoo-patches-3.11.15.tar.xz 15988 BLAKE2B 16e98450749ebd1c617acbb9aba380fff50a8f7dba19f3f99edd3bd387c1a5d61d78cbf493cf003dfe03d2be59374ad89077b39fe203059bbbb881ae02a72ea5 SHA512 b705c72a585e315eb3ba69ffbf2a80836f0fc894fa8ae2c22768e6aa8ac2a23aada5def3d2635193793f58e3da81f0f10281c47bd8e129e1fd2c9167d292265b DIST python-gentoo-patches-3.12.10.tar.xz 10744 BLAKE2B 2abf4874018156d6735cf8604c410dc4726ac9365bc7500abe6b82472aad100aac7268957256692f4275b02965773e58178519ed8038e121f1ffa3c53770d238 SHA512 62066405aa00f46f9645e9c747d53bb93bf510fc791d14d49e00edfd79981778e6c8e07bfa7bac88d76407a0ffd8f7321dea89f81d90b01dbf13f4d381b6a1a3 DIST python-gentoo-patches-3.12.12.tar.xz 12012 BLAKE2B 4a030f976e73160f74dd760a8cac55a5889bf821e998b717962aac8b79780c314dfbabf93a6919daa75565c3ef31dcf6af87f3ec6768db0ff02154c4c112ab08 SHA512 d5ee32b93fb4a1910a8e3aa0486ae284885c05bd03ada3540f4990b4f12c837cd154e76511db663542dde74d652c3d1d279098319dcc991e7195e8db5befea12 DIST python-gentoo-patches-3.13.11.tar.xz 8948 BLAKE2B bb6402400f931fed5d0fa2530f816ba78d7f6aff766e72692884a391929df76cedcc9a9b7a709d8ebffb38fe9256dd78a2b668d49951e07bf61a5388bce49b34 SHA512 f184a682a888a8781aa1a4eb3983d5861d4eec2d0c0729ab95f867aa4a901c65865cc429e9b871c62d5d113509c3f621c7c81d7c7e4600b8a712a8ec256270a9 diff --git a/dev-python/python-tests/python-tests-3.11.15.ebuild b/dev-python/python-tests/python-tests-3.11.15.ebuild new file mode 100644 index 000000000000..0ba531cd9a5c --- /dev/null +++ b/dev-python/python-tests/python-tests-3.11.15.ebuild @@ -0,0 +1,76 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) + +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" +# enable by default to help CI handle it (we have no additional deps) +IUSE="+python_targets_${PYTHON_COMPAT[0]}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + ~dev-lang/python-${PV}:${PYVER} + !<dev-lang/python-3.11.9_p2-r1:${PYVER} +" +BDEPEND=" + ${PYTHON_DEPS} + 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/pyvisa/Manifest b/dev-python/pyvisa/Manifest index 2ff8a6bfb1bd..22f0cb2de26e 100644 --- a/dev-python/pyvisa/Manifest +++ b/dev-python/pyvisa/Manifest @@ -1 +1 @@ -DIST pyvisa-1.16.1.tar.gz 238621 BLAKE2B ad1bddc9092bdb47d9b7c12450e5e213af86794c65c8f7e6b41f688ffc9b7fa509247378dbee868be202994640760c8a9dfcab13f4d96d8644a33c158b462413 SHA512 e505cfa4a14bdf8c3177f06c4126c90361d4badffac03eca3fea46c2b235b946739eb4b098e78ab62a72269f57b49cfc93cc08d807373f29f2c98e9eb6017f6d +DIST pyvisa-1.16.2.tar.gz 238729 BLAKE2B 1d5fdb052a8fec9bd30f8177d1fb9c129bfb00d8a425970aaefad5bb96e86057771a2752644de8fb0347623f08fb3002fcff936d446365dc9f0a91ddbcd0837c SHA512 fa4fb9358e52eac623e0abccd99706ba0a17d2d667d5899f20eef1f86055977d416b158e51ad5179af7bea02b6f62b57cd06fd470a7d2f3b0d64e8883f89c432 diff --git a/dev-python/pyvisa/pyvisa-1.16.1.ebuild b/dev-python/pyvisa/pyvisa-1.16.2.ebuild index b6d3bf8fb4c4..b6d3bf8fb4c4 100644 --- a/dev-python/pyvisa/pyvisa-1.16.1.ebuild +++ b/dev-python/pyvisa/pyvisa-1.16.2.ebuild diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index db883f9c00b7..14c7e86c10a4 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -8,3 +8,5 @@ DIST sphinx_autodoc_typehints-3.8.0.tar.gz 59672 BLAKE2B 05bf3eff2eb1f4a66b151e8 DIST sphinx_autodoc_typehints-3.8.0.tar.gz.provenance 9964 BLAKE2B b1a4800a4778509bb2af2f3350b4e0213a1f3cc34f3636a9505ec07be7c5eea8d431ffee3796597d4ffbc4218b85f4aff5b4fe1809f7dae25189b6f18faebc6b SHA512 7f630714ab8461ab4449e839d2fabb0633f24490b1c4851600cb94407051e4ad7862870e9b382c4bfb4d8dbc34a080a84ce6abf63c1944d7656ab629d918448b DIST sphinx_autodoc_typehints-3.9.2.tar.gz 62101 BLAKE2B 81f0e15974b583aa836022380d1d661fe8757afb2a4a53585451aa9719d5918c223059a72b4878148a4f1854c18fb2ddfae869b07f16d8b101c7201100ec0fbc SHA512 dc9c3be509ec2f226ab79c8e581c2318348780dc27b69decc75fcab361a74d707332ce748b72422965e517d557cd0aef39109d010cd72378d013a22564207d56 DIST sphinx_autodoc_typehints-3.9.2.tar.gz.provenance 9793 BLAKE2B 12d1542ad6bb7209e15b8b646ba768a3a5e65451103a3a63eb8381cc60e91a063ea384f47338e67953f059735c61094abad2152d2915fc9ed0d453b83541f877 SHA512 57d7c685ff15e2fea0e88ac6a16db72f2a7d92f339ac6badf54712d4186325d5d94ca126e30ed5f1eb62e013b605a6127c25c05166ebc0adf2e8a5d9538c0161 +DIST sphinx_autodoc_typehints-3.9.5.tar.gz 63249 BLAKE2B 198ed592499814f2bb9cf6b4e01783a8181b8bc9432de8645697e60baab6e9ecf918c39270cacd6e1a25128f2a6f93f629c99d0755a44dcedfe72508a7dae8e4 SHA512 c06d91686d4281f6b6171ce49b4355a53e47b9c6a2fe8f71f03418a3043230c592575106c784ed44c393ae1e770c603888c4224e4d4ca5bc076610e761dc03e3 +DIST sphinx_autodoc_typehints-3.9.5.tar.gz.provenance 9965 BLAKE2B 5a3a5c9f6787b73a0ae93dca4cc1025dad95599c474e2724621caa453f330be2607c7f763a57083e3c991da044cd22425e1b9ec273ba6d3ffddbdfbc70da184e SHA512 155b95c6e276c9a599864c89d838326d1cb06cc028e6633794e606bfa903f43ff23ad60a7fc119900317b2682518851a76dc662378e22ac6ecafbec7304954c8 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.9.5.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.9.5.ebuild new file mode 100644 index 000000000000..a0ad03fedabb --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.9.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/sphinx-autodoc-typehints +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Type hints support for the Sphinx autodoc extension" +HOMEPAGE=" + https://github.com/tox-dev/sphinx-autodoc-typehints/ + https://pypi.org/project/sphinx-autodoc-typehints/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/sphinx-9.0.4[${PYTHON_USEDEP}] +" +# skipping optional test dep on dev-python/nptyping as that package +# is horribly broken and on its way out +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/attrs-25.4[${PYTHON_USEDEP}] + >=dev-python/numpydoc-1.10[${PYTHON_USEDEP}] + >=dev-python/sphobjinv-2.3.1[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internet + tests/test_annotations.py::test_format_annotation + tests/test_resolver/test_stubs.py::test_sphinx_build_stub_types_produce_crossrefs +) diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index 4653402a83e1..cef581861c42 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -2,4 +2,5 @@ DIST sqlalchemy-1.4.54.tar.gz 8470350 BLAKE2B 0d97beb4edde38455c03dfc1238655d1cb DIST sqlalchemy-2.0.45.tar.gz 9869912 BLAKE2B 8d58d90067736d9c4d5cc6167a24cc3193620c3735873713406bcc500b7918aeb59ccc7101c3ed669f81ad6d9af633c40fdc56a0924cfba132d897f561dd9cdb SHA512 f7e603a893273c6bbd4f266bf186a1a043e329a695333a17147a68dadec54bf6b2fad7b11e3534bf6ce4c0e7bed3ad5ebe7a3bae01102258458a6ec33944c4a2 DIST sqlalchemy-2.0.46.tar.gz 9865393 BLAKE2B c8b88889b0b4a4d5dff467b1e4c3820a8b7aea058e87991a661cf87113205b0c9a117f030bc7801d88a562e4f98a678cb54c3185ea64b4e8951d0b7fa781d767 SHA512 bc1fb1983207384e109c27c09eddbbfd96c80324349d93f084c922f5d1fc82c8f3ec63d9e9f10bdccc3a8ee902aa517adc1cc2db0d05302a52b0425ebbbc3aa7 DIST sqlalchemy-2.0.47.tar.gz 9886323 BLAKE2B 62d6813b0144fed83c12eb3a7bcf197276e7cbdf2ea23a08688751d3ae8264c3c4f1f76b332486f4ef948d652b05b86be4757e45e540477f849a66f1d67d1cfe SHA512 aa2030e769e2010a475cb1572df5b38cddf17f4cc1a8b268254682d1844089154b7cc3c548ff2d609aa4473c384c1f69409318bb5b81c13a55d1c08a2e592e96 +DIST sqlalchemy-2.0.48.tar.gz 9886075 BLAKE2B fae9446bffad0135fe89c91aa81fd18b9c63a08fc84a6865bb92b9fbc08439c3ff7b06bba209ef2f935b12e0ac8c5473e85a4f8242d22650c8145768cc47ab8a SHA512 ec108625627b6f2611d55786e5d4079954fea1ba46e923d19d0f33a98ca6a2a4eac605d3d09746defd6a8eb9defd577097df98eff1b64c7c2d6d5647ac1122fe DIST sqlalchemy-2.1.0b1.tar.gz 10135160 BLAKE2B 03f682f3d8476816784c35f0a5547608dcbece3c8d5fd1b750cf92f82c28f9041e35e02484714fd5680708515c14a2f99731586801a74d7b791d4174e45ba943 SHA512 3aa2b0967a56869e9582691aa7d6279a3a3801f4c5310d68f4ae3bc194d90a686c4667f119db7643bc08436d5982598e04646df1fe640a4bfda448af8791564d diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.48.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.48.ebuild new file mode 100644 index 000000000000..7f020e25bfe9 --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.48.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=SQLAlchemy +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE=" + https://www.sqlalchemy.org/ + https://pypi.org/project/SQLAlchemy/ + https://github.com/sqlalchemy/sqlalchemy/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +RDEPEND=" + >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/greenlet/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + test/ext/mypy/test_mypy_plugin_py3k.py + test/typing/test_mypy.py + # hardcode call counts specific to Python versions + test/aaa_profiling + ) + local EPYTEST_DESELECT=( + # warning tests are unreliable + test/base/test_warnings.py + # TODO: flaky? xdist? + test/base/test_concurrency_py3k.py::TestAsyncioCompat::test_await_fallback_no_greenlet + ) + local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # TODO: looks like cursor cleanup failure + "test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_${sqlite_version//./_}" + # mismatched exception messages + "test/dialect/sqlite/test_types.py::TestTypes_sqlite+pysqlite_${sqlite_version//./_}::test_cant_parse_datetime_message" + test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_multi_elem_varg + test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_one_elem_varg + test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access + test/engine/test_processors.py::PyDateProcessorTest::test_time_invalid_string + # TODO + test/orm/test_utils.py::ContextualWarningsTest::test_autoflush_implicit + test/orm/test_utils.py::ContextualWarningsTest::test_configure_mappers_explicit + "test/sql/test_resultset.py::CursorResultTest_sqlite+pysqlite_${sqlite_version//./_}::test_new_row_no_dict_behaviors" + "test/sql/test_compare.py::HasCacheKeySubclass::test_init_args_in_traversal[_MemoizedSelectEntities]" + test/sql/test_lambdas.py::LambdaElementTest::test_bindparam_not_cached + test/sql/test_compare.py::CompareAndCopyTest::test_all_present + "test/dialect/sqlite/test_on_conflict.py::OnConflictTest_sqlite+pysqlite_${sqlite_version//./_}::test_on_conflict_do_update_bindparam" + ) + ;; + esac + if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[has_terminate-is_asyncio]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[not_has_terminate-is_asyncio]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True]" + ) + fi + + # upstream's test suite is horribly hacky; it relies on disabling + # the warnings plugin and turning warnings into errors; this also + # means that any DeprecationWarnings from third-party plugins cause + # everything to explode + epytest --reruns-delay=2 -m "not gc_intensive and not timing_intensive and not mypy" +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "asyncio support" dev-python/greenlet + optfeature "MySQL support" \ + dev-python/mysqlclient \ + dev-python/pymysql + optfeature "postgresql support" dev-python/psycopg:2 +} diff --git a/dev-python/toml-fmt-common/Manifest b/dev-python/toml-fmt-common/Manifest index f07ca1a42917..649d60aad611 100644 --- a/dev-python/toml-fmt-common/Manifest +++ b/dev-python/toml-fmt-common/Manifest @@ -1,3 +1,5 @@ DIST toml_fmt_common-1.1.0.tar.gz 9643 BLAKE2B 346139038c34229e9cda6c38fc2c881abe9f926d59d516abd785006f5d1d95b1e8f61a2229413a34f441024db36a904a625571a0b88c736f7cd4ee56584e693f SHA512 ec1e39b1ac47593ae6e72a6e74ebe192c410e9f440511343079e7407435a75e43f1e59db07504fa29e586803d851a763a82db4730428cf826a038d8b54c2f14c DIST toml_fmt_common-1.2.0.tar.gz 9735 BLAKE2B e1fb4d1de2cfd75bc4a8f903d25f16fed9c85dfa456b583f401f719d7bb43d64a8948dfcc7d4e358e391401d82800dabea3af497b4cc1b83f867a949981328f9 SHA512 00268bab8ef4f9dc8dc8ce9a456de568e8d17e60fc62780bd72609c4feeb95a0db9d81761bd03ff0529b4934fa021557f60fa89240180f9defb01258ca167d50 DIST toml_fmt_common-1.2.0.tar.gz.provenance 9375 BLAKE2B c2d3f591c937792e6cb57d2c9a0714e4238fa9b79bf38cb8cee17c36e2059d3f629423707fc928862cefc6732c3ab81492533e5587df4e49ea0fa24e17470cbc SHA512 fce08940c3f521dd899484d2a46fa5bb0a6a8af845a5d4c4c56a2c4d8b3cabf407bb5dec11a67787b99d0cb2a4156ba14d4aa2b3809e07e1ceedab45db3b4a98 +DIST toml_fmt_common-1.3.1.tar.gz 7433 BLAKE2B fa22614c0c367ac593ea702cf9e01b243671f379614429bb6db6c95d4b164cd7c51935d46a5f31305a39ab8f5e41481dccc969a3f9a1c7212f2c993144c71ae9 SHA512 6c51a15ab946f74a09ad1f5c5e92d19bfb5ebef1d8588314f9639801a5787a0f80da8a7e5348cbdeea85f89dd2e01ebb4dbc3dcdd3a0a270244f4fc7d3e7f6e3 +DIST toml_fmt_common-1.3.1.tar.gz.provenance 9554 BLAKE2B eb5ce8c94bc5fd78fdf868445540b36fcd8d0d9d2d1d1552f6680a00f08ab5d0b33ec271c2db2025bd21bec663e7ee6ab90e86c9a482f81fc5458447d27c58ce SHA512 51e771065f1e28b887579167f908b59fecbfcd5f4722c81f5da1bf4fb07d68c5c3dcc3ce10f0f15a165750358083f06fa3dc94f01800512353d737e890676331 diff --git a/dev-python/toml-fmt-common/toml-fmt-common-1.3.1.ebuild b/dev-python/toml-fmt-common/toml-fmt-common-1.3.1.ebuild new file mode 100644 index 000000000000..70cc8967e274 --- /dev/null +++ b/dev-python/toml-fmt-common/toml-fmt-common-1.3.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=uv-build +PYPI_VERIFY_REPO=https://github.com/tox-dev/toml-fmt +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Common logic to the TOML formatter" +HOMEPAGE=" + https://github.com/tox-dev/toml-fmt-common/ + https://pypi.org/project/toml-fmt-common/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest diff --git a/dev-python/uv-build/uv-build-0.10.7.ebuild b/dev-python/uv-build/uv-build-0.10.7.ebuild index 639745396c25..2ab229426f84 100644 --- a/dev-python/uv-build/uv-build-0.10.7.ebuild +++ b/dev-python/uv-build/uv-build-0.10.7.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="|| ( Apache-2.0 MIT )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/uv/uv-0.10.7.ebuild b/dev-python/uv/uv-0.10.7.ebuild index 73993f9a17fd..d044d10907ce 100644 --- a/dev-python/uv/uv-0.10.7.ebuild +++ b/dev-python/uv/uv-0.10.7.ebuild @@ -39,7 +39,7 @@ LICENSE+=" # ring crate LICENSE+=" openssl" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" IUSE="test" RESTRICT="test" PROPERTIES="test_network" |
