commit: c0e95063f380cdcad24f076df716346298d43a00 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Feb 12 05:08:39 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Feb 12 05:46:55 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e95063
dev-python/pyproject-fmt: Bump to 2.15.3 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pyproject-fmt/Manifest | 3 + .../pyproject-fmt/pyproject-fmt-2.15.3.ebuild | 101 +++++++++++++++++++++ 2 files changed, 104 insertions(+) diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index de9d8db9e8f2..cd44beea2340 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -58,6 +58,8 @@ DIST pyproject_fmt-2.15.1.tar.gz 125598 BLAKE2B af12d3a62b558a3ac7edcaf67db7d2ee DIST pyproject_fmt-2.15.1.tar.gz.provenance 9836 BLAKE2B 48af8cf30ac4490c5f3b0e4b59347159f61b9c7e5dab43f00b577635e5e5b8a4b4458c9c023f7d7288ca7399128dcdf3e62ef7e7807dc43fdac221ddad3cf5ec SHA512 0ad754761cbb46ea58b1034aa8b9e0310bbed4e6eea3a285628ced9952127877834696c0042df1cf4ce1f71476e7c54ff56058d1cc98814f165740621e3a04b8 DIST pyproject_fmt-2.15.2.tar.gz 126980 BLAKE2B 1fdc3eca2b225d0815c7a176084f808e92292f2bef7fcd8cf9ddc55af7a2ca441a0d744036c40af7bc4859983e5f292f18b76febffb6e4888238d2793c0bf69d SHA512 843310fad343f6a568b4ef6fdf5b1cefca1d2d1559238619e4e64679ff3902a8c3c614fd88114675fa76d4632b3d48db545d6cfb2cc840344eb37afef7a8925b DIST pyproject_fmt-2.15.2.tar.gz.provenance 9699 BLAKE2B cc707839cd17d2cd44468b4887fb0ce6a42278132faf03e7176be372a6da623a8716c327bf2464be0fe544921c8db7cf8b7b555e51d1028a15084b464839e427 SHA512 ab4ab30ea7d632d66bf004642efa25351463a8296e00c8af2b6d95994d7a97b7cf749fe2e229bbfe50f919efd5f95a97df200a39479ccd64e3030caa35a9018d +DIST pyproject_fmt-2.15.3.tar.gz 130178 BLAKE2B d4436dfa377a414b4ef61e9894d49a3fd50eda219d21e1b0aa769c0f6e2d6bf0a7de5b4cc7b370c429c6654ff9025abb21d3a6e2d2ffa9c75442f6e60115f37e SHA512 f39ef98888a489738a75a740811e5874d91689bbf2cc20d8d69031afe73e1105f57b2d9d146748cb72dcafb68942f6a6920c17241032084243ac5425db784339 +DIST pyproject_fmt-2.15.3.tar.gz.provenance 9605 BLAKE2B 6fabf8beb107b5491bab47ca5dda2d6662071620960dc8cfced75d9bffde8a71dd1ac21036ac4f2b490a6a37ad74084e31163a156bf980b9ad8512934d5e7f2b SHA512 0d4cd504f7fd5f72c6591afdf3cf53d84cced4f8d2369e9fa7c7297e06b98602a8ca7ad2fe83b8103cce95e8b5aa7d4c2ca215ffd985b78c28db93632cabac69 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 @@ -97,6 +99,7 @@ DIST toml-fmt-pyproject-fmt-2.14.0-crates.tar.xz 17729776 BLAKE2B 00b4918b86c3c3 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-fmt-pyproject-fmt-2.15.2-crates.tar.xz 18692916 BLAKE2B a48520f1fefbf64a3b7d8f9244a1dcec0c0d5875fedfd1923b399cf36f2ffaa59d5f3ee162c292242254b9464dde9bb3317f416a2650532b3f17f34cd816b5bd SHA512 3d27f4d184f9eee50322f207516d6f5b33226694e159ee06520f21dd316e177775edf7ef36c991cf65598f3bcf46030e2546e62eb5d06d353b6bb13767af86f5 +DIST toml-fmt-pyproject-fmt-2.15.3-crates.tar.xz 18703880 BLAKE2B 49ba7c43f6585b05248632fd96db4db96960930c2190f16008bb2a2490ea334f345623ebb29d9f827bbc41400239652d4e37092e494eb01a8f989c4b183ca0ae SHA512 77ba1a5cdefaadf643601867b5ed4be7c0879831fba67cf579d71d68ec71cbc3c765ae4e0103b93f5170c69f0fdc4e7c6f166e2fe53a38bff70d4f899b817263 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.3.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.15.3.ebuild new file mode 100644 index 000000000000..d0c0f06b4fa1 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-2.15.3.ebuild @@ -0,0 +1,101 @@ +# 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/toml-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/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 ~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_unpack() { + pypi_src_unpack + cargo_src_unpack +} + +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 +}
