diff options
Diffstat (limited to 'dev-python')
23 files changed, 661 insertions, 1 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index b61759e40937..58115d763012 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1 +1,2 @@ DIST alembic-1.18.4.tar.gz 2056725 BLAKE2B 5de761b6dc383a4f44532bcbeeb6520836cae8992a09c24a5e268d05c835caa5d5e395873c97b650942fe94b995cc995dae8f8c57278d28aa3d1c0987830e5f1 SHA512 ae38b0551858573b6b602b56537a518c7169d4fadef7b11d8112b2427402b745ea5e3cd4387c2b49fec8158cf505de7206919caa10d73445446bb53e264fd448 +DIST alembic-1.18.5.tar.gz 2060480 BLAKE2B cc85b5ebd73920c8f0afe2b9884aab1f30718b94a7ccb4b117186a9088b4141dce27dd505ce5c3015f3b93cabc837ad33e0905117ceee34fde77782b45875a6b SHA512 41d9675e2c99d339e2aa92e670acc0d562ab6a23d2006f2180478fa912ede643be959ca89713678adffe37deb20118a0d67ea7c023b2dea15d3acb5be18721fc diff --git a/dev-python/alembic/alembic-1.18.5.ebuild b/dev-python/alembic/alembic-1.18.5.ebuild new file mode 100644 index 000000000000..891ac6691bb2 --- /dev/null +++ b/dev-python/alembic/alembic-1.18.5.ebuild @@ -0,0 +1,57 @@ +# 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_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE=" + https://github.com/sqlalchemy/alembic/ + https://pypi.org/project/alembic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + sys-libs/timezone-data + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + if ! has_version "dev-python/black[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_post_write.py::RunHookTest::test_module + tests/test_post_write.py::RunHookTest::test_module_black_with_cwd + tests/test_post_write.py::RunHookTest::test_module_filename_interpolation + tests/test_post_write.py::RunHookTest::test_module_path_in_config + ) + fi + + # setup.cfg contains -p no:warnings in addopts which triggers + # datetime.utcfromtimestamp() deprecation warning as an error in py3.12 + epytest -o addopts= +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/google-api-python-client/Manifest b/dev-python/google-api-python-client/Manifest index 4c43bf1abb6e..3c8bdbb3b38d 100644 --- a/dev-python/google-api-python-client/Manifest +++ b/dev-python/google-api-python-client/Manifest @@ -2,3 +2,5 @@ DIST google_api_python_client-2.196.0.tar.gz 14628129 BLAKE2B 009ce49622479b8c29 DIST google_api_python_client-2.196.0.tar.gz.provenance 5646 BLAKE2B ef634fe2f2b7319f85e43288c537d7f40f5c3f25d32a2c65f793eea41cd91466e750ff4f77bdc86c1b10b0b15555fceceb61de74240ae2ad49bba7ab80596f98 SHA512 e7411c26e2d2f31b957e0443bf2ccd73a6615c421ea7ecde8c215cc1d12287772c5c8c0b12abab90ecd790486b0fec90675d19d4765d7fc56fb5580e5cf708b0 DIST google_api_python_client-2.197.0.tar.gz 14707398 BLAKE2B e0eaf69bbf4ca9d16140fb7934d9c508c0a47b768a4499060a3a7a1760534d07ea3a4c899a24f3f36ac2ffaf58ea57397a43f65209f5fb3f97a463f6a49a8e8c SHA512 d6d81bcd8ceb5374bc05efc42e4a1a992e9ccd7558a7cdd35e41b5fc80938cb4d5394950d464630d858297f4637223ceae40f78e1d979328d1f8619e92f396c3 DIST google_api_python_client-2.197.0.tar.gz.provenance 6025 BLAKE2B 239668d4bd09fdd19cca73102d587e6f3a3e79f782643c429328a4b331d8787f15b497f955b29781d122c934844c33a0223cd313df159a5117dd34ab17eaf8bf SHA512 c2b66ff7523b9047b2c387fb005c17936b4c0e683f62940ef4150461e5ac6379d2fee3a6d3f78e1e50567a493ee31229ccd4f33eef97fb186ef90507318e1759 +DIST google_api_python_client-2.198.0.tar.gz 15060142 BLAKE2B 07d58c36776971c6a6af2fef7da81744b1358a72ef774f0353c296da76059aff3fe48a4f3a5abc1f7517902ee873d6917396776abc0852801b32d9a119409577 SHA512 ffaef84d039d8e2b57e29d599a133c6dfe5d5bc3450a2d940c8a4381f4ca22fb7e6625e9b8521be981f58a59cd1302b714a1df6eea40a49e5f830c01f7f684a9 +DIST google_api_python_client-2.198.0.tar.gz.provenance 6072 BLAKE2B f7957dc0989d77820a9e2d148af898fb042db7fcc32683d9b502068756cb53f4339288246e55822cd5f3bd52c1e7fd227cd2692752899966b1942886079352ed SHA512 d382b0d170c115202e286befada8bbac7f53c4c99cb8705501f3d17ca15e928d7aba184259df70540d2266f0575817ee4dbd9ec462144ba33c14c22a00f891a5 diff --git a/dev-python/google-api-python-client/google-api-python-client-2.198.0.ebuild b/dev-python/google-api-python-client/google-api-python-client-2.198.0.ebuild new file mode 100644 index 000000000000..3512667538c8 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-2.198.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_{13..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/google-auth/Manifest b/dev-python/google-auth/Manifest index cc94027fd034..39d5dc940e22 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -4,3 +4,5 @@ DIST google_auth-2.54.0.tar.gz 343161 BLAKE2B 69268cb3678e3ec09380936e4d5aa1d3ea DIST google_auth-2.54.0.tar.gz.provenance 5950 BLAKE2B 08c92d3ea4e325b0ffa9cd63747ed54915cc482b34aed06904de44e27d82639f279751a42f9930115e76fadaf157d53fda0c31abaec87709ad18e69b69fbf45b SHA512 11a6a3f0db49560a74bd791f3811fdacd1bddf1f8d2b165b72447f3969b720850ed5187d6fd16a2dd8b14499f4432b5bd752f3deda480b42ec5a4ecbccd7d851 DIST google_auth-2.55.0.tar.gz 349379 BLAKE2B 9f990ddee219af69fb3c7596fe3ef6ea878c699f4c09bee660d782bc5452ae06da8752b7e95b023014daf3f9486673a809da74b2c0e032992d8248f8ae61d71b SHA512 923e043d59a406eaf297b03ed865d67d25ab7f938684d4c4c55523d7dbb90699edd4ce206a3f3670cf9e6ba6939195f9f668c9fa2d9a8e8dee23fb8acafd4e35 DIST google_auth-2.55.0.tar.gz.provenance 5852 BLAKE2B eae13be386a314dcb388906e7911f01238246da96338153bf59c906917bb25fc05855cd769669490a91c42a56dfbd9659c76324e5bd3611069b2fabd9b4f64f8 SHA512 e413a49690520b5a20ef12cec8d41ddc08ac023130aa384c85f7648f4dfdb3e910ed3f5c5ae1efc962960ba5d5769df5d6160536b04d8efa0bdc53dfb43ce5ea +DIST google_auth-2.55.1.tar.gz 349527 BLAKE2B 63466a5e3b347b2c8dd9ad36a6c46992e72056b6814d516800369174cee5cf67b0500d60dc61e5468aa265c417ac83881df3f02cbe3211426e5c0a65ce6ac31d SHA512 e1ef8d20d877b702bb48354bf0a83b4c0edc25cba33e17401cc78866a5e508c3c381d58f2bf0ad46e9d9385cf3dcd534c21dd43ed19a5aaea1e385a29f2b1953 +DIST google_auth-2.55.1.tar.gz.provenance 5852 BLAKE2B 44dae6c0bba2e644e0fd8b7d3ddf9baaccdef2c472fe8b51f63ef09fdbaf6cca8b2228e5a627b53bdcd4920fdcc433d72075d1321eff9bc5e9034182d01ee8ba SHA512 cea2f3a8a0608c1f63904d8b70d2e942808176cf994355785c3e3ddab8281a9cef88f34880f6eba9728ae54cd485477f42618d96a483aa90cd0afcac5e732a0a diff --git a/dev-python/google-auth/google-auth-2.55.1.ebuild b/dev-python/google-auth/google-auth-2.55.1.ebuild new file mode 100644 index 000000000000..d5de668c806b --- /dev/null +++ b/dev-python/google-auth/google-auth-2.55.1.ebuild @@ -0,0 +1,64 @@ +# 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_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Google Authentication Library" +HOMEPAGE=" + https://github.com/googleapis/google-auth-library-python/ + https://pypi.org/project/google-auth/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +# TODO: rsa is now optional +RDEPEND=" + >=dev-python/cryptography-38.0.3[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/aioresponses[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.0[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pyu2f[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,localserver} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # tests are broken with up-to-date pyopenssl + tests/transport/test__mtls_helper.py::TestDecryptPrivateKey::test_success + # modern aiohttp + tests/transport/aio/test_aiohttp.py::TestRequest::test_request_clone_with_active_session +) + +EPYTEST_IGNORE=( + # these are compatibility tests with oauth2client + # disable them to unblock removal of that package + tests/test__oauth2client.py +) + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.]*::' setup.py || die +} diff --git a/dev-python/pygraphviz/Manifest b/dev-python/pygraphviz/Manifest index 474b5a37cf39..0693a13b3e7f 100644 --- a/dev-python/pygraphviz/Manifest +++ b/dev-python/pygraphviz/Manifest @@ -1 +1,3 @@ DIST pygraphviz-1.14.tar.gz 106003 BLAKE2B d56b16c6cc0fefeb258f6071424e20e38277bf76a8750ecbc1d9e2e8af5737ff79c78436bdf0d09c0e785e3b1bf90519b9bfd7014cf8373280c58e7057e2ba19 SHA512 867346303d560be21a37080e6d3ce0afe42119ee373f8cd872e853fee611d2c4cb56cc057023230fcf8ffbf03053ea92b9fc2ec6d5e682d6c6667b6727d87899 +DIST pygraphviz-2.0.tar.gz 81321 BLAKE2B 0aff92b7c0882921d2a9f1741a5d3585931270d53d67d7f2972912a38160d47e045ceb345d35c79181edb54ae3118bde1859b7b4149ad033dfdfabc861197511 SHA512 4aa37d84287bb2d777f6967fa79f4598ac8cd218ba473ac5f7a13d2e82d91257719909391a91217663af31d97c3cb28acedc3105590e66f09d0889bc281cffd0 +DIST pygraphviz-2.0.tar.gz.provenance 10171 BLAKE2B 04e7633641ea7018876edcb9ecb8296e44a973c311e5c90a8a75942d4b0b8ec006ddc9145d0c65c9edf2ceec14ff6cfa0dc80fcaeb66112d30933fb9eaa53dd6 SHA512 37ff64f7b0815ee4dcf8898c4b8b4b6471f78dbd4d1f9fe980fa5ac52206391c28bfae13a77ebcb154108d43b84ab39db912b4a5929426bbd347c3939f41ce32 diff --git a/dev-python/pygraphviz/pygraphviz-2.0.ebuild b/dev-python/pygraphviz/pygraphviz-2.0.ebuild new file mode 100644 index 000000000000..8442c87b7652 --- /dev/null +++ b/dev-python/pygraphviz/pygraphviz-2.0.ebuild @@ -0,0 +1,48 @@ +# 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_VERIFY_REPO=https://github.com/pygraphviz/pygraphviz +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" +HOMEPAGE=" + https://pygraphviz.github.io/ + https://github.com/pygraphviz/pygraphviz/ + https://pypi.org/project/pygraphviz/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos" + +# Note: only C API of graphviz is used, PYTHON_USEDEP unnecessary. +DEPEND=" + media-gfx/graphviz:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-lang/swig:0 +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + rm -rf pygraphviz || die + epytest --pyargs pygraphviz +} + +python_install_all() { + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + + distutils-r1_python_install_all +} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 186955417c85..f06ad72e18ba 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -6,6 +6,8 @@ DIST pyproject_fmt-2.24.1.tar.gz 280585 BLAKE2B 76dbf5443a7ff7215437b6b4d4a2cb9f DIST pyproject_fmt-2.24.1.tar.gz.provenance 10064 BLAKE2B ec74f53fae059829f6e44434666d196b5ea92b787d80fe04d6a001e93f1563be978c6771918a3fe7af19ef1a41cc8ce04d21ef0f15ce9e7af39b3cbfe2af00b2 SHA512 4220f4b3fd4372dc0593da35341255778f25c4386eca6007f6e49252cccc861df75980ab74fc437ca26105687198c8b0bfad81579ef4341fd0e97c4ee3a9e79a DIST pyproject_fmt-2.25.0.tar.gz 292640 BLAKE2B a6d65982bd0591966a09218b74032e7da1aff8f99406bfdad405b10203a14096f6ebca761ec97861edbd5115845a75fcbf3ade1201a26f0f6d2a0dd717c3837f SHA512 d1fa497bd7fe76e6b3fae996cec29cf1a29fe3484a7b43dd81fbc50e3d1ee50eb096e891624d4942991cbb2ccf414d099a88b1649c5481d2bd3e26ddbd2e8348 DIST pyproject_fmt-2.25.0.tar.gz.provenance 9829 BLAKE2B f6632a9b29fa43159badefe9a16355bc22b09b0a17bdb08fcc41ae89d3ff62cc5d2e79b5b4e996c794d863535b3cebf909e7cbc6abde8bcc28f1f09ee55b0bec SHA512 bb6e171ce072c8eb1a92127993e284a45414a54639a7f88478d6f0b09efa8db02fd93e2ddd9ee3e986567c26512de8ee2517f4770cd3ee0b72f09ae6bde10dc3 +DIST pyproject_fmt-2.25.1.tar.gz 290943 BLAKE2B 02390a55ca82ea869429302298aa9831bc3c9c1078fdb8abf05ddfc4607a8ee1847e9b71fdeeef93028e5f68d2aa5d55f86be183a694596e0590dcf8edaea8f7 SHA512 b12d3e2ce29ac6a0a94b54d20008f873a9306fcb2442a27cb0c8bbe369a676b3c6279c4ba738650da24087e2c61ed6edbba49b8d74f4e4698893dc4ac0dc4a67 +DIST pyproject_fmt-2.25.1.tar.gz.provenance 10064 BLAKE2B b9446853d04e357be741bf3e45464ab44c93b7da5bbf297b32c7175a683d8e9efceb2db9532fedcdc5221214027edc0bba1decc24ee3fee00a5d6d69bcfe7fbc SHA512 8410f5c4a6c9d88b7a1eaa17fbacc308deac3a6970f6d9868a7176ea2c279ebcde8d4e560c5f88d66466b02bf5179552890b9dee5c3c6bce26638ae7f3c18186 DIST tombi-0d64bd3bd8a5ddcaafdfc7b114e3b73ada0b325b.gh.tar.gz 10564681 BLAKE2B 1cc4e307d89ae978c8022aed63ad7a7c08e71f810e42743589a6bf44499051250102ca3a60aa2cea65292dfd187240da96f6fb963511b6d4c06559c20bbc67a3 SHA512 e398e14c9b092f2378dfa848c697ea5cb0af705bcb801f288d2ca98b8c0d4aa3abf7a71f2f5a10a4a6a77e1e8d1f7089a0359b2a3ec9b226a19bbb40f0aa0a14 DIST tombi-362cafbd685311cb659ec0a422ebecc1eb332952.gh.tar.gz 10612816 BLAKE2B 8c1ada6d32c3b400110303243dc8f2070a395254a52f57cb4dff9bf788c43bf0491950cc563b2e9e19645a6fe785fbbafc61684446889e3d9b2a18f025d91b3e SHA512 e54f04e5bab4fcba6fa5562746c61a63f94954d5d46781277a9e83645182916c9131e4d09429e12e2dca7369947d68cb13d0cafea10cfbddecac85419f3f6031 DIST tombi-d5056f9743d7e3f194158e125b90d7294aa59ad7.gh.tar.gz 10475854 BLAKE2B 6a629d533e576930e8e988662e3d350137d32ce9b517578f4ee5f20437b75d31300568adf4a4fae2e9fc7a033af1031d4fbcaafa51656a3af2b8a7e03365495e SHA512 74aa91819f15420207850951d0d6b41d61dadf3bdb38406299ae1126bb9ae597a7eb9b69a4485165bf465eb10384b67c73b0e231ce22e1910bc2db448c4eb626 @@ -14,3 +16,4 @@ DIST toml-fmt-pyproject-fmt-2.21.1-crates.tar.xz 18661404 BLAKE2B cb19d8ebbb7d4f DIST toml-fmt-pyproject-fmt-2.21.2-crates.tar.xz 18776904 BLAKE2B ae748ae98a2769a78b34a2051e3237c40bc6714d88c58a22aec5af85caa86e4690e9749ddd1f87d2ebe0908a1a3f24a01a48e4abcf107fcdbd5d8322a0738c6a SHA512 474d707babc9a3f98a933ae645ffb951062491158c6863ff9dea7fee065b19f440501e092fbc28e62e4e67dce435689096a27b96c6acde3b8128b76b5890ca3e DIST toml-fmt-pyproject-fmt-2.24.1-crates.tar.xz 18725980 BLAKE2B 75f6c4a07b14fc60cd3b7a00e902c2b37fe79ea3d03172e7271300d5ea5bd0bf9b7727c4af7e47e82d28424f677235a6e9c1d22ad3314210be93170d9f36ff76 SHA512 88da1827c097f712489276c48fbf10e4c61ef92b877cd8eb7f34eeb1e289ce0362661d3b01bf34c23c1f4cc67e23b05462773407eba7d17814c96d7885f23bd9 DIST toml-fmt-pyproject-fmt-2.25.0-crates.tar.xz 18742060 BLAKE2B 5cc45568d2981e1804e8800b6d7da203eee70f022b86dff671580e91be90b6627bac38d58f3ba50d138dbe6a905b6a21b324c3fc6114b7a0de11fb6078dd4ef2 SHA512 27986f6f647b3e50d0de5ce3acd7b3b089db896b5560f15b9d7d11c98e4a9b9d5adea566034e533de177fd9e2c08f46f760f9bf73d39910dd2d0ddf85c526832 +DIST toml-fmt-pyproject-fmt-2.25.1-crates.tar.xz 18742060 BLAKE2B 5cc45568d2981e1804e8800b6d7da203eee70f022b86dff671580e91be90b6627bac38d58f3ba50d138dbe6a905b6a21b324c3fc6114b7a0de11fb6078dd4ef2 SHA512 27986f6f647b3e50d0de5ce3acd7b3b089db896b5560f15b9d7d11c98e4a9b9d5adea566034e533de177fd9e2c08f46f760f9bf73d39910dd2d0ddf85c526832 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.25.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.25.1.ebuild new file mode 100644 index 000000000000..f561b008d7e3 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.25.1.ebuild @@ -0,0 +1,113 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +DISTUTILS_UPSTREAM_PEP517=standalone +PYPI_VERIFY_REPO=https://github.com/tox-dev/toml-fmt +PYTHON_COMPAT=( python3_{13..14} ) + +RUST_MIN_VER="1.87.0" +CRATES=" +" + +declare -A GIT_CRATES=( + [tombi-accessor]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-accessor' + [tombi-ast-editor]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-ast-editor' + [tombi-ast]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-ast' + [tombi-cache]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-cache' + [tombi-comment-directive-serde]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-comment-directive-serde' + [tombi-comment-directive-store]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-comment-directive-store' + [tombi-comment-directive]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-comment-directive' + [tombi-config]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-config' + [tombi-date-time]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-date-time' + [tombi-diagnostic]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-diagnostic' + [tombi-document-tree]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-document-tree' + [tombi-document]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-document' + [tombi-formatter]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-formatter' + [tombi-future]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-future' + [tombi-hashmap]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-hashmap' + [tombi-json-lexer]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-json-lexer' + [tombi-json-syntax]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-json-syntax' + [tombi-json-value]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-json-value' + [tombi-json]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-json' + [tombi-lexer]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-lexer' + [tombi-parser]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-parser' + [tombi-regex]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-regex' + [tombi-rg-tree]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-rg-tree' + [tombi-schema-store]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-schema-store' + [tombi-severity-level]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-severity-level' + [tombi-syntax]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-syntax' + [tombi-text]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-text' + [tombi-toml-text]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-toml-text' + [tombi-toml-version]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-toml-version' + [tombi-uri]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-uri' + [tombi-validator]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-validator' + [tombi-version-sort]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-version-sort' + [tombi-x-keyword]='https://github.com/tombi-toml/tombi;362cafbd685311cb659ec0a422ebecc1eb332952;tombi-%commit%/crates/tombi-x-keyword' +) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/toml-fmt/ + https://pypi.org/project/pyproject-fmt/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} + https://github.com/gentoo-crate-dist/toml-fmt/releases/download/pyproject-fmt%2F${PV}/toml-fmt-${P}-crates.tar.xz +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 + Unicode-3.0 ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/toml-fmt-common[${PYTHON_USEDEP}] +" +# tox is called as a subprocess, to get targets from tox.ini +BDEPEND=" + test? ( + dev-python/tox + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt/_lib.*.so" + +src_unpack() { + pypi_src_unpack + cargo_src_unpack +} + +src_prepare() { + distutils-r1_src_prepare + sed -i -e '/strip/d' pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # something about ANSI codes, no clue + pyproject-fmt/tests/test_main.py::test_main[format-absolute-no_check-in_place] + pyproject-fmt/tests/test_main.py::test_main[format-cwd-no_check-in_place] + ) + + epytest pyproject-fmt +} + +python_test_all() { + # default features cause linking errors because they make pyo3 + # wrongly assume it's compiling a Python extension + # https://github.com/tox-dev/toml-fmt/issues/23 + cargo_src_test --no-default-features +} diff --git a/dev-python/setuptools-scm/Manifest b/dev-python/setuptools-scm/Manifest index f98653edf14e..ba7650b237ed 100644 --- a/dev-python/setuptools-scm/Manifest +++ b/dev-python/setuptools-scm/Manifest @@ -4,5 +4,7 @@ DIST setuptools_scm-10.1.1.tar.gz 66514 BLAKE2B 5f683dd881bbb69bec3fbcefb9688df7 DIST setuptools_scm-10.1.1.tar.gz.provenance 10393 BLAKE2B bd079e3696abc42694f5a01a3495e79839403a08a47ec3bfd89e3e18f9331e79df92bffe890591f77ebb2a932ff797f60d87468745f2fc123292d3481ebe7647 SHA512 674a3342aef170ecb88afafdd3464e7ad13ea949399742ba9fde3536029c1cea24b9c8821abb77e9fdb6c4653e5ba04472d8b9cb2bb0446640cb863213aaa14a DIST setuptools_scm-10.1.2.tar.gz 66674 BLAKE2B 236058e5c0ba6299757e3e4693e51ea004eb06d4159a4c4dfc3a1f8af59344772a01ba4dc32cd0e3763e5f55943effd393ccae51901693eb85f8eff891c76d3b SHA512 0791ab22419ef79e5aac1ebb5958a831f08ce0834d5ceab2ec0bdf085c73060d75e81cd6dfce7b29a317a68e444be681465662406247ac3e572a5bf100000362 DIST setuptools_scm-10.1.2.tar.gz.provenance 10213 BLAKE2B 96096834a2f4cf59f557c7b813adaa4f77f6d9aaacf1695cebeb4a84fe7ff7f26a2c37c20f678fbc8f7bbdb42c255abd6b903310d6369dd36c5429f4513e94b4 SHA512 fa8855840d287a382ecbb8c6292824b11e62640155ffddd178804a0e06374d78b81e6699623fd26613c21f84b47d21a6947f5985b3b2b28be04836c8118b66df +DIST setuptools_scm-10.2.0.tar.gz 67319 BLAKE2B 1dec0a216528126a9bc0179a5e103602bb37b25c7122238024137236908f6148c81b0f1f020cb60bf134e1a4623df3c4a780e7aebd4e61e6633a21a7b9b9da04 SHA512 682c69594b49e4fd6f20c886553a531ef90622ccd82978c0c3b7db240d9f183bd0942cf635cc35d972411fbcb0a22929bbc592bb30959b3370a2a6a7d5e8a7b2 +DIST setuptools_scm-10.2.0.tar.gz.provenance 10276 BLAKE2B eb102a3ed345c201ba583cd6659f24f02fc7bab51c3fe91653e1478f153d88df9e27995f3a4c0bd70cf74958bd42e98f503fcfe8f5817d73978783b0d62c2e59 SHA512 b2d4335e1ec1145f33b89058eda0af7045f8e81c9e84a969ad13c1a5bd76fdb8fd73f270d8edc516771e8e39d959d42b44a1dfadcda4e35897e5a1a49917601e DIST setuptools_scm-9.2.2.tar.gz 203385 BLAKE2B 8577c4c6265ae851212be04b245b3da8b49d541174f5e675dea916c76b3cba5b5ab9f6264a97904e2d5ca02dee4e3f8eb88c9e8badbba2ed53bed531fe9f6b6c SHA512 757ca11a3d13601606b6914ea70e3d271d287f26ada976ec77334fc0f611208669585d2580994f1ddff830cd698a837d3e882dd5cdccdaf9f8eba34fdd8cb708 DIST setuptools_scm-9.2.2.tar.gz.provenance 9705 BLAKE2B b710df7f8cbb324aa2927243ab0416869319813016d64f589b7a9f565576fff58c1aee18da4ea9bc3fb5a969cf74c1fcaa1332812bf88267ec9f2bf437876e53 SHA512 6ac563d0ab5f1afce28976eb030364a451508ec7d47b6e99668c37b8ba09e3b56500b104d62ad6047fad9f6be0b2b6ebea66b561041485b9d15b84c39fe92313 diff --git a/dev-python/setuptools-scm/setuptools-scm-10.2.0.ebuild b/dev-python/setuptools-scm/setuptools-scm-10.2.0.ebuild new file mode 100644 index 000000000000..0cc799b4b877 --- /dev/null +++ b/dev-python/setuptools-scm/setuptools-scm-10.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 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=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-64[${PYTHON_USEDEP}] + =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] + >=dev-python/vcs-versioning-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] + >=dev-python/vcs-versioning-2.2[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + testing_scm/test_functions.py::test_dump_version_mypy + testing_scm/test_integration.py::test_xmlsec_download_regression + testing_scm/test_regressions.py::test_pip_download + ) + + if ! has_version "dev-python/pip[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + testing_scm/test_integration.py::test_editable_install_without_env_var + testing_scm/test_integration.py::test_editable_install_version_file + ) + fi + + epytest +} diff --git a/dev-python/sphinx-autodoc-typehints/Manifest b/dev-python/sphinx-autodoc-typehints/Manifest index 198744ee705b..f1891d4587c7 100644 --- a/dev-python/sphinx-autodoc-typehints/Manifest +++ b/dev-python/sphinx-autodoc-typehints/Manifest @@ -10,3 +10,5 @@ DIST sphinx_autodoc_typehints-3.10.6.tar.gz 80926 BLAKE2B bddd84c630da77a66ab70a DIST sphinx_autodoc_typehints-3.10.6.tar.gz.provenance 10284 BLAKE2B b7341d815e653acfd4f5f82f14b6f33b27501a32bdcc0a1a18eaa75facf3db7527c9f3396e4032a2cb5c9fe20a5e34faebe048c879651114b58f6cff0aa0d7a8 SHA512 2da7939129b668ec2899a52d161c9375e09d6def0c9bd49752f43355d113d088c5b080faa5a18b2d4dfcfbaba88d9954764c5ff1350fd21ddefcdd680dda0aa3 DIST sphinx_autodoc_typehints-3.11.0.tar.gz 82518 BLAKE2B 3021c92ae92e8ad2dbcec1e6a4f936a9b6cd49ef8b6254ecaabcb7d3a9d53feba57a4130195ceac463bd53b3fc604be74057ee552dabbefed2e61350d181fe81 SHA512 bb20c5f81723250dc4ef1eb8be4f9ca649de77e405f80bb95110ae14d563e614f7712eaa1c165d614c257faeb4e70e64b3ca15fb8208ddf240eb93cc6704e24b DIST sphinx_autodoc_typehints-3.11.0.tar.gz.provenance 10139 BLAKE2B 0eea213b241e1ac188205e4707f9db1cd1907efb94cdd8dd34aba0bfce7564714df65249b63d577d335d0bb63ca3306c5ddce131a9cd52dad42c12a26fd6fcc8 SHA512 063cb60182b133d9f627871a60e749743bacf29d7728504b6abb8d21b80f30b1bff02c5d5afb5150e0b332802a558480c81f3a4c73a5e57d1f7bf9bde38f109d +DIST sphinx_autodoc_typehints-3.12.0.tar.gz 83874 BLAKE2B d50d52d5a5af977d7251fb44f4017fedb7d85e81f494e2a7e135739894334d4998b8c240e1a733d30309d1045e397420038b265d95d5b4571430581b50070719 SHA512 764982f514244132595a0d2d42d29ab6c40a3c6fe083551d4cf259be16a3abd7cbdc6cd252fbef3eb08d9a90d6276e5377ce499dfc709987d4c9c372d9dd6c0e +DIST sphinx_autodoc_typehints-3.12.0.tar.gz.provenance 10272 BLAKE2B e2c05d79d5a33b84fa90eb67461f826cec47c33c8906a529cbbfaa947d7cb78458d581d4cebc4edda1c85e60175c232d69c51a6bf78107116e03cdec32314e94 SHA512 ab956266e98adf4cef989b41c00c85c8eea50c66a9171483d06ecf7543bb7867e074faafa2175ddedaac80d4d44fc17d6b590c72b9d1db87a30d9f3a1597e895 diff --git a/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.12.0.ebuild b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.12.0.ebuild new file mode 100644 index 000000000000..238733c448a1 --- /dev/null +++ b/dev-python/sphinx-autodoc-typehints/sphinx-autodoc-typehints-3.12.0.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_{13..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/tox/Manifest b/dev-python/tox/Manifest index 79b1f26c0b8b..4a94ee4e0818 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -4,3 +4,5 @@ DIST tox-4.55.1.tar.gz 280676 BLAKE2B ccbf018634d708ba00710ea1c15fa1328acf402f02 DIST tox-4.55.1.tar.gz.provenance 9530 BLAKE2B 6a8de7003c54e6c388154619fc5900bd968e72862267615f67157e4b4c1294cd1d70dfcb02189788bb415ef84e07775acf08c38fa66113f850c78b00a28f2b68 SHA512 c8773255b47b7078b80c179dff30b0a51a1ec3e0b2576377c377aec87fefa74383e14e4a9c19a067b9eadd45e8611e6d0c2eddbd60b774ac91fbb62abf803e56 DIST tox-4.56.0.tar.gz 282319 BLAKE2B 249d44656daa4ff9e75fed48765f83367572dc69faa27890b1dbad817baa2e6a7e5d3f2d1dd20856023d86e81e96343ae32db96453d8699de731c6739460c67d SHA512 f7f81161f85986e20c05d96de4555cf7349792383bc4bf9800d43c5ca7642a0395cce61b9d9d07c91c70331f40f725ca9167cbc83409da9baf8e90b9b736fd2c DIST tox-4.56.0.tar.gz.provenance 9624 BLAKE2B 5ae867da302c83d469372412a849a6f6d68b87832a9f8e31ddb6822763308051dc698c9987c1344cc938685da127da5302b421f0d9c701d81915325461eee03e SHA512 9f5ba8f0f48b2ede83366f6cffd015a5a6ac68a8d3fe4863cd495b0a5abcf1710e5e86d4ca871b8ecc976bd81e261121e292e97eee11d41c9e7b20a84f415362 +DIST tox-4.56.1.tar.gz 283155 BLAKE2B 069d9d91af3d667a4eb52cea7b7aa74fde60504d5894a327b33090881646d314536fe7a48febb5474a2d2ed21d6125bce80862be5150956aa8204666907043fd SHA512 ca5f785d54977e291f06094e00dbce99e75c56c0678aa62b3007f690376810d2ce0074f34996e49bd976e405d5b1d9e3404802d59a00bb98084cbf1de369f28a +DIST tox-4.56.1.tar.gz.provenance 9765 BLAKE2B 82bb31e94025f83f587457cb6215b7177c82172d86f2e6513dd3e5042eda921fb532ee6f88e2adf8cb29ee53af0d1de31986d3590ed9b9f906390e72e85cead1 SHA512 7d9a39c7a78e7947a15caec9528fda34ccb9e8652d3d5b62e66d302c9e00179d2f90ccf8de44253373133cb48e4d2516abf618f71f9f60e89a8a26ce7cb179ee diff --git a/dev-python/tox/tox-4.56.1.ebuild b/dev-python/tox/tox-4.56.1.ebuild new file mode 100644 index 000000000000..23fd6cf278e6 --- /dev/null +++ b/dev-python/tox/tox-4.56.1.ebuild @@ -0,0 +1,80 @@ +# 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/tox +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE=" + https://tox.readthedocs.io/ + https://github.com/tox-dev/tox/ + https://pypi.org/project/tox/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pluggy[${PYTHON_USEDEP}] + dev-python/pyproject-api[${PYTHON_USEDEP}] + dev-python/python-discovery[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/build[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures,timeout,xdist} time-machine ) +# upstream timeouts are quite short +: ${EPYTEST_TIMEOUT:=180} +# xdist seems to mess up state between successive implementation runs +distutils_enable_tests pytest + +src_prepare() { + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*::' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + # devpi_process is not packaged, and has lots of dependencies + cat > "${T}"/devpi_process.py <<-EOF || die + def IndexServer(*args, **kwargs): raise NotImplementedError() + EOF + + local -x PYTHONPATH=${T}:${PYTHONPATH} + local EPYTEST_DESELECT=( + # Internet + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_build_wheel_external + tests/tox_env/python/virtual_env/package/test_package_cmd_builder.py::test_run_installpkg_targz + tests/tox_env/python/virtual_env/package/test_package_pyproject.py::test_pyproject_installpkg_pep517_envs + # require tombi + tests/session/cmd/test_schema.py::test_schema_tombi_lint + ) + local EPYTEST_IGNORE=( + # requires devpi* + tests/test_provision.py + ) + + epytest -o addopts= +} diff --git a/dev-python/urwid-readline/urwid-readline-0.15.1.ebuild b/dev-python/urwid-readline/urwid-readline-0.15.1.ebuild index 33c73da65628..df32af6d9ece 100644 --- a/dev-python/urwid-readline/urwid-readline-0.15.1.ebuild +++ b/dev-python/urwid-readline/urwid-readline-0.15.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2025 Gentoo Authors +# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,4 +28,5 @@ RDEPEND=" dev-python/urwid[${PYTHON_USEDEP}] " +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest index 3e3d35a6fc02..7154403b717d 100644 --- a/dev-python/urwid/Manifest +++ b/dev-python/urwid/Manifest @@ -4,3 +4,5 @@ DIST urwid-4.0.1.tar.gz 859593 BLAKE2B 9bb60c1e75e211932f7dba091bd6869fbdf9a43a4 DIST urwid-4.0.1.tar.gz.provenance 9297 BLAKE2B 5319623b9212e6e6939117195c95155a56076e22cb3414d9ccc17bebcd51866fe1bca2161f500d6ce65d52505701629260cac126b8454d8ab815899c0122c4f9 SHA512 5c7fdbb6685d6582e91a3136b3e0adc25a94a12cd85d4c7ee441484d974fe0b586bde07f244773b625f5125206ece40335b45eb92038c22e8d77e9b5f77b203d DIST urwid-4.0.2.tar.gz 861918 BLAKE2B 9b549d6e5c16e34b20f30646489d0ef0732c2ef8fe0464d8425d3e90d55a7f8abb602cd25b2b605ac2a74291882c0443c002204a7fbd1534e921556468e6b9c1 SHA512 a1611414eb26fdb15773fb2a4fa78bc6c886b26c8940ff422b38d2d772d81e58ff8ed284c858e848819d6e7fc983286a2d263845a1730304eaf36322a288f2d2 DIST urwid-4.0.2.tar.gz.provenance 9434 BLAKE2B 3b97cfdccb84e4c2436cde05a0d0019d8498fcc87a67047ab0e84bf2b9f7646684be46c78eed31d2567f0fc139a07683200746a8614e1c18949010a48223cadd SHA512 220ddb6d1ba3a8d4504612a4195e7e4b417d26564d5e64239aa71b087151fc4ef9e42755ed3edad9b404440d98d481b1334423b6ab6f256c73e75017363cfb00 +DIST urwid-4.0.3.tar.gz 868487 BLAKE2B 5687138af349dc0fa80be8fbf6fcc91f51d15debb3ec6c2f2c9a72bd5019944e98d3706fa09cce361702d2c4508cbcec387f1620d0173ddfd7e4bda1433faaeb SHA512 b3d76e97944b8d46bfe88840b84f251a9acb5e6787e55ae35fa6a18a9425648ef24b6989c6235a8ecf1dc924b185fa4e2ceaeae3f666cc8d4dc3211ba17a91f0 +DIST urwid-4.0.3.tar.gz.provenance 9634 BLAKE2B 8c66d760e1bd5bfa507007d5e496b0999d8c99e9d10edb0be752b5615108126ccda910a34f4b55099069692fa305c6c05ca575b610c41b3631977f5672431230 SHA512 a90d927273337bd8afe5b944792d2484dfc335103fe1c33e2fb73cf518e162101171d791256af50baec1d436a4022a10a8cf8176c8cc28338e9e66640b714693 diff --git a/dev-python/urwid/urwid-4.0.3.ebuild b/dev-python/urwid/urwid-4.0.3.ebuild new file mode 100644 index 000000000000..5b5dd3099430 --- /dev/null +++ b/dev-python/urwid/urwid-4.0.3.ebuild @@ -0,0 +1,42 @@ +# 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=https://github.com/urwid/urwid +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Curses-based user interface library for Python" +HOMEPAGE=" + https://urwid.org/ + https://pypi.org/project/urwid/ + https://github.com/urwid/urwid/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples" + +RDEPEND=" + dev-python/typing-extensions[${PYTHON_USEDEP}] + >=dev-python/wcwidth-0.4[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Trio event loop" "dev-python/trio" +} diff --git a/dev-python/vcs-versioning/Manifest b/dev-python/vcs-versioning/Manifest index 0168172157e0..76b33b5e01a8 100644 --- a/dev-python/vcs-versioning/Manifest +++ b/dev-python/vcs-versioning/Manifest @@ -4,3 +4,5 @@ DIST vcs_versioning-2.1.0.tar.gz 130507 BLAKE2B 94a0b4e1e9ca3421a6476f818b057dac DIST vcs_versioning-2.1.0.tar.gz.provenance 10150 BLAKE2B f3969455387d463b95892ec51667ace679918a8bb2d72605c92d61f7da9117f516c0d17c770b01b5bd4c8c760e33c26c761b2bc1a0f97806fd9b5c25346b9171 SHA512 da43973d6f3e7f02559cf659a7628404e927438890faa9387c6694ee62428f10165c4c3ec1984c6e546aa5b664c1bc47acbd32fc9791758c3cb210ac3f0bf36a DIST vcs_versioning-2.1.2.tar.gz 131716 BLAKE2B cc71ee0509b92af3d859d85d226e4bc52ebfd17c09eb9e215caf01e92131f57741fa996af184a70ce7040ba3d3607c31af9e3cde0fbf9b986b869d64eb6c847e SHA512 12fa4b10ebe8aa7014fbf9e96e607224f886d4f72ee2b09a346ba25e0ddcf09cc67f38807472d94dfb9ff94bd7462f06669b88c91dc6e68ee177b338265bc501 DIST vcs_versioning-2.1.2.tar.gz.provenance 10346 BLAKE2B 9d7c828b593a69dc7a1c2544e3e57b5b0652436c00c77d57fbff5fcef45b1f10df0758d500efde0e1b5c8fbfd7bbff64fe3a0206434b77370bcfc0637b57df1d SHA512 571095ceeaeadae96d6a5b9182789be52ed8d889b239b164afd1af62f5fd3702b8ed0a219b4d685449a205293eaaa1cadd6b188eff37ece68a9987e51444a84d +DIST vcs_versioning-2.2.0.tar.gz 132140 BLAKE2B 006dc96b4bf4d6e60a6f38ae2714bf193392531bdfae2d1a284e5237b1dad604200f373330efef3f659a2ea373712f5cca27bac8584f43688323e23cab884199 SHA512 a99d49bf1db43acd9cd397c07a187522dca13bb02cd239e7c96b4c1e1ad1e8f70256e5e997639f8753cfc1f02de5a3a0ada7ac007698605bb1ce65a172c142a6 +DIST vcs_versioning-2.2.0.tar.gz.provenance 10146 BLAKE2B 934131b93e900c4806ba9efbfb6f34ffeacee5d889227b350a73dc720eb24b708a1321f2052352b29cb5201396c08a66a7a5bf308047f1c0fe9c63bab8871c95 SHA512 f4f47b53516c9868152417c28bf59f5bc42fe2d218113fc4986c655b7a1795afd84f06ddf3995ae1ad555a4d438315f0acbbed3b245ccfaf700055ba1025f658 diff --git a/dev-python/vcs-versioning/vcs-versioning-2.2.0.ebuild b/dev-python/vcs-versioning/vcs-versioning-2.2.0.ebuild new file mode 100644 index 000000000000..2270f7da84e5 --- /dev/null +++ b/dev-python/vcs-versioning/vcs-versioning-2.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 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/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core VCS versioning functionality from setuptools-scm" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/vcs-versioning/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing_vcs/test_git.py::test_git_getdate_signed_commit +) diff --git a/dev-python/wand/Manifest b/dev-python/wand/Manifest index ec89b1442560..cf43f5ce20b6 100644 --- a/dev-python/wand/Manifest +++ b/dev-python/wand/Manifest @@ -1,2 +1,3 @@ DIST wand-0.7.0.tar.gz 11888946 BLAKE2B 65b43db844833badfcd66d5abca95fc7bf643f3618d13dee8c1da0c679b9424b69fcc9eff6aeef6c2d32b0c8a346017cb6a4309559e0d09b298fb72840ef21a8 SHA512 edf107b0ea89774fa7440707ae00a6bb649a41156086ee8a4ef6d668ebd3df39d2336ec8ed89c0f4e156f793e52ea3efff958b3dd8cdb38cbb00d21fb35ed8fe DIST wand-0.7.1.tar.gz 11889653 BLAKE2B 6a128a68875787688d6db7bf2ab7a96c9101588dfe57d97a1083b40132ed5a97d477b82457c1086f21d04e04832563dc3067feee171b62dff89e987e764d8907 SHA512 d30a05b199d6a63d12869b5f8f7fc8d0646a0a65d18f718a561c7f31718d16362aee544966c88a3367903268065524202ffd03bcb7b6f6e5dd5d89145a6f4345 +DIST wand-0.7.2.tar.gz 11889993 BLAKE2B 7dd7757d4cb7e28ab6a6dd1b472aea6f874ce25e22171cbda86d0f45a4c899463535755de768ed4c0f20e19a2bef2b0107b03bb42622e2627a03898f979d9027 SHA512 d7d8e226eb83f8737464fd45dc5924c40a3fc9a15c0a9a3c42394cf5d8cddcea1b747ca9b226786829fb4774fc6dd4f33f0ac04d05a1109cc353c87b35d8d8a6 diff --git a/dev-python/wand/wand-0.7.2.ebuild b/dev-python/wand/wand-0.7.2.ebuild new file mode 100644 index 000000000000..87561d7d15cd --- /dev/null +++ b/dev-python/wand/wand-0.7.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Ctypes-based simple ImageMagick binding for Python" +HOMEPAGE=" + https://docs.wand-py.org/ + https://github.com/emcconville/wand/ + https://pypi.org/project/Wand/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + media-gfx/imagemagick +" +BDEPEND=" + test? ( + media-gfx/imagemagick[fftw,jpeg,png,truetype,xml] + ) +" + +distutils_enable_sphinx docs +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + # PDF support is blocked by the default ImageMagick security policy + epytest --skip-pdf +} |
