mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
dev-python/pyproject-fmt: Bump to 2.11.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
b4837d3222
commit
67ea2ddc68
@ -69,6 +69,7 @@ DIST pyo3-macros-0.26.0.crate 8906 BLAKE2B 60eef72d27b5bc922b75f71ae24bb6f380288
|
||||
DIST pyo3-macros-backend-0.25.0.crate 75089 BLAKE2B ea4d87e16616782c60f46f97d87a002ea2873a2ab6f7335da68bab32d636988fa30834c946943d4c56c6e5992c78ba6dc2cf8b613c2a402218599ef3e7a6c5be SHA512 dc2e567a09e746893d7cea57aa456124df31b1e3cb25f5b1fabdc97cd2ae73eea1d57aa642268bdbef3dc1ba0e383893d1b5dfd9cf1f3e818f77b9fc0ef2c486
|
||||
DIST pyo3-macros-backend-0.26.0.crate 81809 BLAKE2B 73885035855daf00b001e97e0a5ebe09412d212c8f01aa4db6638ef09990bf1bccbacf2e5a7e6ec21929bb1c2beba06587ecdb6ee954eda9e9c51c6c276cea95 SHA512 4146011a8ef18ecaa44b425eebe6e5e1370945063b98aaa83452e57b66aefbf5d483367b1d4d44aa5091303c4ba7f568c6428ecec0cfa6c90ba41631d4e99367
|
||||
DIST pyproject_fmt-2.10.0.tar.gz 45764 BLAKE2B 488f5115681de9015a9e22834e4ecf407720707fd532da7ed8122740e3071d433e9542b919391a4a04fc2ea31f17c07996db25b91ff210832a84ce630ce6bf1d SHA512 d966ba619fa8f7e8e28666ea9c2ee24f75b239af85ba37ebf269552296dcf93beedd64c40756aa11b07036e609709dca5b4268f8b061c4ff0a0f8da43f30c064
|
||||
DIST pyproject_fmt-2.11.0.tar.gz 46894 BLAKE2B 66a289b54d5ebfccd4dc978e38a2532670e290ec730dd4d611540383fa59b74b30d440375f7c5e6457bf28f5726fd2ad3594cb3baa6afd9f687e5f750b7813bd SHA512 7ba73ad4445249c02359a534c1cac83130b6d7633223ef3466072253ae184fd80d484eb8a0be61c94f313652fa80badeecb4af5baa9aadf209d19d804a47b2e7
|
||||
DIST pyproject_fmt-2.6.0.tar.gz 43484 BLAKE2B 06091446129ef75ad4b41249d4ef9f89965007dfd48bfbdad581fe295021fef06297fc4944f413f353aabf290fb695d09e2878a340129f853c2594a21865f40c SHA512 cfd8a1dcf149895adeced72dcd7036b6f18498f05f55c8148234c95f52868276e4cf1fa1453353ecc311c478321903a577f6056b756b469f52210d9ba3016bfc
|
||||
DIST pyproject_fmt-2.7.0.tar.gz 45559 BLAKE2B 9d7defa66c7bbb0399476cf3303e0bfd3cfcfb312c8a11d50cbfd6ab0eff2163b2e35fec2eb9467a729a218386526f5b1e307fc7e9d306c33dd9f35939a5fd06 SHA512 3fa88282b4ef28031d2f1b6c2891bb84cc6a1631875938b6a0268a8cd13e37cf04379e2ac29182ae86afdb86d3eb2d81c3da7fe1d23a1fe8ec278a1f16eb5cd9
|
||||
DIST pyproject_fmt-2.9.0.tar.gz 45704 BLAKE2B 80ba12a6fc90ad9baffe00f7b0ad3380a520bd9db54c0192021be9d92c65f1fdedb73ae5f2f18835bd7f5fe4120ba7504cf3fbeb8f0795236adc378399e89b06 SHA512 a55b869589d127c488469408cb0e8837d7ecf7e9b73f39d22953a050828cdaa1ce66d61088dd7148168ddb989150a0b560f7a622ca6ee78b29c2e00d1483e535
|
||||
|
||||
150
dev-python/pyproject-fmt/pyproject-fmt-2.11.0.ebuild
Normal file
150
dev-python/pyproject-fmt/pyproject-fmt-2.11.0.ebuild
Normal file
@ -0,0 +1,150 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=maturin
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
RUST_MIN_VER="1.77.0"
|
||||
CRATES="
|
||||
ahash@0.8.12
|
||||
aho-corasick@1.1.3
|
||||
any_ascii@0.1.7
|
||||
arc-swap@1.7.1
|
||||
autocfg@1.4.0
|
||||
beef@0.5.2
|
||||
bitflags@2.9.1
|
||||
bstr@1.12.0
|
||||
cfg-if@1.0.0
|
||||
countme@3.0.1
|
||||
deranged@0.4.0
|
||||
either@1.15.0
|
||||
equivalent@1.0.2
|
||||
fnv@1.0.7
|
||||
futures-core@0.3.31
|
||||
futures-macro@0.3.31
|
||||
futures-task@0.3.31
|
||||
futures-timer@3.0.3
|
||||
futures-util@0.3.31
|
||||
getrandom@0.3.3
|
||||
glob@0.3.2
|
||||
globset@0.4.16
|
||||
hashbrown@0.14.5
|
||||
hashbrown@0.15.3
|
||||
heck@0.5.0
|
||||
indexmap@2.9.0
|
||||
indoc@2.0.6
|
||||
itertools@0.10.5
|
||||
itoa@1.0.15
|
||||
lexical-sort@0.3.1
|
||||
libc@0.2.172
|
||||
log@0.4.27
|
||||
logos-derive@0.12.1
|
||||
logos@0.12.1
|
||||
memchr@2.7.4
|
||||
memoffset@0.9.1
|
||||
num-conv@0.1.0
|
||||
once_cell@1.21.3
|
||||
pin-project-lite@0.2.16
|
||||
pin-utils@0.1.0
|
||||
portable-atomic@1.11.0
|
||||
powerfmt@0.2.0
|
||||
proc-macro-crate@3.3.0
|
||||
proc-macro2@1.0.95
|
||||
pyo3-build-config@0.26.0
|
||||
pyo3-ffi@0.26.0
|
||||
pyo3-macros-backend@0.26.0
|
||||
pyo3-macros@0.26.0
|
||||
pyo3@0.26.0
|
||||
quote@1.0.40
|
||||
r-efi@5.2.0
|
||||
regex-automata@0.4.9
|
||||
regex-syntax@0.6.29
|
||||
regex-syntax@0.8.5
|
||||
regex@1.11.1
|
||||
relative-path@1.9.3
|
||||
rowan@0.15.16
|
||||
rstest@0.26.1
|
||||
rstest_macros@0.26.1
|
||||
rustc-hash@1.1.0
|
||||
rustc_version@0.4.1
|
||||
ryu@1.0.20
|
||||
semver@1.0.26
|
||||
serde@1.0.219
|
||||
serde_derive@1.0.219
|
||||
serde_json@1.0.140
|
||||
slab@0.4.9
|
||||
syn@1.0.109
|
||||
syn@2.0.101
|
||||
taplo@0.14.0
|
||||
target-lexicon@0.13.2
|
||||
text-size@1.1.1
|
||||
thiserror-impl@1.0.69
|
||||
thiserror@1.0.69
|
||||
time-core@0.1.4
|
||||
time-macros@0.2.22
|
||||
time@0.3.41
|
||||
toml_datetime@0.6.9
|
||||
toml_edit@0.22.26
|
||||
tracing-attributes@0.1.28
|
||||
tracing-core@0.1.33
|
||||
tracing@0.1.41
|
||||
unicode-ident@1.0.18
|
||||
unindent@0.2.4
|
||||
version_check@0.9.5
|
||||
wasi@0.14.2+wasi-0.2.4
|
||||
winnow@0.7.10
|
||||
wit-bindgen-rt@0.39.0
|
||||
zerocopy-derive@0.8.25
|
||||
zerocopy@0.8.25
|
||||
"
|
||||
|
||||
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}
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0-with-LLVM-exceptions ISC MIT Unicode-3.0
|
||||
|| ( Apache-2.0 Boost-1.0 )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
~dev-python/toml-fmt-common-1.0.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
# tox is called as a subprocess, to get targets from tox.ini
|
||||
BDEPEND="
|
||||
dev-python/hatch-vcs[${PYTHON_USEDEP}]
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user