commit: eadfb44159d7b9fd56d0336f1d15a52d0607cd30 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Feb 10 06:52:49 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Feb 10 07:08:25 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eadfb441
dev-python/pyproject-fmt: Bump to 2.15.1 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pyproject-fmt/Manifest | 4 + .../pyproject-fmt/pyproject-fmt-2.15.1.ebuild | 96 ++++++++++++++++++++++ 2 files changed, 100 insertions(+) diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 81471e93bf77..0a3e7c2d0dfc 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -54,6 +54,8 @@ DIST pyproject_fmt-2.11.1.tar.gz 47310 BLAKE2B f066e5222da660e988abc1abf9425eb54 DIST pyproject_fmt-2.12.1.tar.gz 83062 BLAKE2B 4011b76e449c833653d7e366c5bd9c95b95a79a26ce66c18b5eda623d9df698787cf62c33b0364d03fb52e4cba5790248d010172ae101122b8a8613fb740e429 SHA512 bebc73b705c02df6667a18b3e2c625362d395cffe8aa8423747d42d8fdda8e7c7cfc3994e2edd904c2682d9aa5cf845d3528b6d85c895848a4926aac5b645915 DIST pyproject_fmt-2.14.0.tar.gz 109775 BLAKE2B 7417d3a08af776339056d2fd4b2abb087b901ab3f840b5527251c643ac605d009c4645f3dbf3f8b779c9856957e26d53bcf13e6d30d45d9b03c883fd13ebfe11 SHA512 30d0330c3a45f115d378bdec0497ea1aed1090fdb8a2bb2aa3f59c7f871584222af530f4c8d3bdca9562119330b6b2fc94a6591a79ad5c64c82c81846518820f DIST pyproject_fmt-2.14.1.tar.gz 118476 BLAKE2B 4d1045f4744fac803bb3c72efe51ec6ed36d0f67ad3115a0e28c17e59d6525c75c0010b4728269f7e6c01307c4fcc9f3d014ff5c12786c41f5e6c1c1999e348e SHA512 0a58e5bdafb161fcf19b179a60829e032c8ee94a4461571dd5daff8a0a2e1e3c2bac6ab78388e2d5f666b52793b2055ae84fb0d8f57bbae44bb0d6573683f499 +DIST pyproject_fmt-2.15.1.tar.gz 125598 BLAKE2B af12d3a62b558a3ac7edcaf67db7d2ee2a69f09cfe3968cb977e57b636b230c2356c2ffa03ba11a829447bec2e852b56b54b030e02e8fb19bbf542f093db327e SHA512 2caf5d3c79453692b7f1c971c3404de3647c37a794db404d283f64d6b8dbac917ac20dd8d50105f80c0cbdb75ae73b17e06022094759ef74b88283203d8ea468 +DIST pyproject_fmt-2.15.1.tar.gz.provenance 9836 BLAKE2B 48af8cf30ac4490c5f3b0e4b59347159f61b9c7e5dab43f00b577635e5e5b8a4b4458c9c023f7d7288ca7399128dcdf3e62ef7e7807dc43fdac221ddad3cf5ec SHA512 0ad754761cbb46ea58b1034aa8b9e0310bbed4e6eea3a285628ced9952127877834696c0042df1cf4ce1f71476e7c54ff56058d1cc98814f165740621e3a04b8 DIST quote-1.0.40.crate 31063 BLAKE2B 09036ff3e5ebbd775c466bb936de91d4c070481eb4b98c62a4cddcda57cd7b67d63f979b321f6ec64aabee3f5da6c28e7a3efb83f4647768ba578f1bd0bd0bdb SHA512 45a76e22a2b0bec47e4ba73c3b73cc41d821dfcce9876134c5d8eed514da214aee4ce7612e372c8709f888c0d8b9b7e5442f27adb7a59f3571f0339ed7e2ac99 DIST r-efi-5.2.0.crate 64764 BLAKE2B ee17fae983b2c39137cb75698062a3bf8edb4bc680b04900797730618b54298e2f1d13ceab6b660f7a1799f6fc4113ca15d4320b1b95fc42913e0930f3aa16f8 SHA512 80f89d467b482297ec2c13cb0dc8e310442495483e25c33bb523f1cb66d6ce01fee4a57b36880a4f51c0e9f20eb3f993a5bc0a13224d52693dbc81b97c630158 DIST regex-1.11.1.crate 254170 BLAKE2B 5cf41012fc2ba8a006c0eb4a922cbbf1614bf300be361c9e2d98956a9a5e9b140e37bea09132fab7bfb633d4439158723624bcf45e8c619c4061b399253c1b82 SHA512 d065f6dc405771518260425f39a5eaaf8cab62e78c91ceed3b3994a9a121674d2484cadaaf816bdad89c87a40550d57b66a3d9de6618a7119a658301ce7e67d8 @@ -88,8 +90,10 @@ DIST time-core-0.1.4.crate 8422 BLAKE2B 3c9fd96b77b2d405ef696d62d18639945b81d1c8 DIST time-macros-0.2.22.crate 24604 BLAKE2B a511923e4c8d790ed422e4635244796154b6893a3dfdd32e9b960fe0a12749a23656335573b42c1245984988382e6991e242830c770378580a61e9f451bd06a5 SHA512 7633ea40338364add29e7cf6beb7f2e9c441a8fd6079fba9b9fd13dcda6537c2ccbc3091cb6551715649d13080567fa26ed6db4e4b3402736105f526da2f45bc DIST tombi-45fd7d87b0e081ac3c29b207d4ccf89dc0a7ab97.gh.tar.gz 10358694 BLAKE2B 5c9d9372094dd730a5868b48d5536734b9127b34c416f5cfbb4d2bfeb26446e167fd5b26be06bffa8e774a52a6ef333b603e761033dd5c169c7575d6eead86d7 SHA512 eb4d3f2d51569dac76fc073459b4f24a91089011412353510050e533701fd38c4369003fdc005cc742e9e8ee3fe8b40b4a3c4afd44587dee8892a335e107c277 DIST tombi-73d0800f0cf60e04fea74992d7abb6fcac435749.gh.tar.gz 10358630 BLAKE2B b71e4b99b74341e21539310bcfa7859cafc5e37a92ecc09b7772a12fcdb0ea21650313deaa37de42bbfbc5dc814092d09a4544113432a623fd96387488a5dd9d SHA512 268cb8ce9f09e727e59a108e8c233bf97abaea4b5472dcfd66f9b9d9c77dcab3ad1479665b47b2ccb9a4dc02f0cc1821673bd71b9e39d97d106be7c130d6b6ba +DIST tombi-749df5d762ec02cc6d960f37dbaeaf060ebaf1d5.gh.tar.gz 10358474 BLAKE2B 8be3c90eafd12905f2104ca937e239b30f0c8e3c5cd124e401412c70755daea06f09d7e794f4d6910c6065fdc37c4ab5c3500e3594a9fc747669ace95f8f3a81 SHA512 5b8be960e387af08af4d381958dce6e71319f8022093c2279281e5449e5737d0c6843c1a5b7568076d4f72d86bc06021a5cc8b221af90adc95100c96388eda05 DIST toml-fmt-pyproject-fmt-2.14.0-crates.tar.xz 17729776 BLAKE2B 00b4918b86c3c35d1a0574348ad6f4559b33e06553e25906da65971d33a428c4a2842b07ff551e823800a3b10682fe1c607cd412f0468ac209c68b73d90ac26e SHA512 63b69d0dc643915ff8930dc8a367f7e66ce6034e20a269482cd152ef88dcbd1ccfb2664a291d1881a47eee4b36c1458e3d1f869ea60f1d1d6119deb0fe9ed561 DIST toml-fmt-pyproject-fmt-2.14.1-crates.tar.xz 17945184 BLAKE2B 8e8e9b9713aaac87efcc128f194217c0f662e947d6011d675fe789594ca689ed947f71999a1f2e59ae7afb59cdbb76be1bb96a2a1f54c8a917115ef0a1ef088b SHA512 7d4eec57f8f1733bdbb86fa75ef198a45f9c56e93feff96c3e12c7747f637ffacd55a71f999ec3b34a48ee08e8772e5f858d56bd243b8a003861d504f2edcb8b +DIST toml-fmt-pyproject-fmt-2.15.1-crates.tar.xz 17961528 BLAKE2B 2bb9ec28695cae8feed6166291c82eed4e25e0653046e05b32dfd9fa3d8fec0d4702025c7a13fc8c9b963d8bea3cc2d44b627220b69e000cd64f05b91c236f7d SHA512 f7bf4d6aa77d84016be40a4fc6f4368a425011e285ecb69e9a32188a41141a081d49723974a97128f159767690359ece1a26a3eba94de9c7b5a9b73abf0912b3 DIST toml_datetime-0.6.9.crate 12622 BLAKE2B 0362fbee2359fb7388bd679ccf114e554234294437dd3aa26b0e969aadd0e0fb76ad89eb33e0c4a2b50883764f64708fad2e265562feba13688fdd07623e18af SHA512 8409a902d7f6c22a8837cb71fd0e4fbb40b34c1608c3e858f4f5268c34948b94e9f9dae9e6f3ba73c78e3db14754fcec0b22081160acb228ae366aeafaaead9c DIST toml_edit-0.22.26.crate 121714 BLAKE2B c1e39ec75d3d34e038d7a7e3af4d74b1a53010ed2d837a3643f08e459231ec7f15c149910dbc5294187601e342b0ba03fa8129dbc879b326841a32513ed7fdd2 SHA512 8cad3472f790e3423dadb34da76f77fd122721daa1c855a749699ac0af8e39c2453ed47369b14e8603204acb896a966ea98857118003a5d75cc48ca5e28ecff7 DIST tracing-0.1.41.crate 82448 BLAKE2B c056d938e001654e03efaec7a11eb8ecfbdfe9af2099271fcefa43f4f4683b40c59f7111fdf7f27df4da38bcbe94f1b2ac0abb6ec3d6e6a0d165b9fbb14da3a3 SHA512 dffb8d3a1375f1b9d5418550a46cb7b1d92b2cc8ffbccb430a38f7731547960775bb42798074186711847d256eee30fb3e74078b69cb36f28c07d9f231dbf96c diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.15.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.15.1.ebuild new file mode 100644 index 000000000000..7dbb87b4aa98 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.15.1.ebuild @@ -0,0 +1,96 @@ +# 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 +PYPI_VERIFY_REPO=https://github.com/tox-dev/pyproject-fmt +PYTHON_COMPAT=( python3_{11..14} ) + +RUST_MIN_VER="1.87.0" +CRATES=" +" + +declare -A GIT_CRATES=( + [tombi-accessor]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-accessor' + [tombi-ast-editor]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-ast-editor' + [tombi-ast]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-ast' + [tombi-cache]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-cache' + [tombi-comment-directive-serde]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-comment-directive-serde' + [tombi-comment-directive-store]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-comment-directive-store' + [tombi-comment-directive]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-comment-directive' + [tombi-config]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-config' + [tombi-date-time]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-date-time' + [tombi-diagnostic]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-diagnostic' + [tombi-document-tree]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-document-tree' + [tombi-document]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-document' + [tombi-formatter]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-formatter' + [tombi-future]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-future' + [tombi-json-lexer]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-json-lexer' + [tombi-json-syntax]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-json-syntax' + [tombi-json-value]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-json-value' + [tombi-json]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-json' + [tombi-lexer]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-lexer' + [tombi-parser]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-parser' + [tombi-regex]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-regex' + [tombi-rg-tree]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-rg-tree' + [tombi-schema-store]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-schema-store' + [tombi-severity-level]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-severity-level' + [tombi-syntax]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-syntax' + [tombi-text]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-text' + [tombi-toml-text]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-toml-text' + [tombi-toml-version]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-toml-version' + [tombi-uri]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-uri' + [tombi-validator]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-validator' + [tombi-version-sort]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-version-sort' + [tombi-x-keyword]='https://github.com/tombi-toml/tombi;749df5d762ec02cc6d960f37dbaeaf060ebaf1d5;tombi-%commit%/crates/tombi-x-keyword' +) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + ~dev-python/toml-fmt-common-1.2.0[${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_prepare() { + distutils-r1_src_prepare + sed -i -e '/strip/d' pyproject.toml || die +} + +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 +}
