summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-18 05:22:36 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-18 05:22:36 +0200
commitf7d3265a3f85780584333d314a72d6fe0fc5dae4 (patch)
tree58b7f7eda786a50c4bb9a7cca7d00279c2cba203 /dev-python/pyproject-fmt
parentdev-python/botocore: Bump to 1.35.43 (diff)
downloadgentoo-f7d3265a3f85780584333d314a72d6fe0fc5dae4.tar.gz
gentoo-f7d3265a3f85780584333d314a72d6fe0fc5dae4.tar.bz2
gentoo-f7d3265a3f85780584333d314a72d6fe0fc5dae4.zip
dev-python/pyproject-fmt: Bump to 2.4.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyproject-fmt')
-rw-r--r--dev-python/pyproject-fmt/Manifest1
-rw-r--r--dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild165
2 files changed, 166 insertions, 0 deletions
diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest
index 9b5369842877..9d5ac6bc7d06 100644
--- a/dev-python/pyproject-fmt/Manifest
+++ b/dev-python/pyproject-fmt/Manifest
@@ -61,6 +61,7 @@ DIST pyproject_fmt-2.1.3.tar.gz 9016 BLAKE2B 742d29283f883f36a6705b7461345593205
DIST pyproject_fmt-2.2.4.tar.gz 9140 BLAKE2B 19397db0f7e2a51391f99824645c73361eaa60e2430fe22f9aec85b7273d232ae8aab8d96e1276f93c7fa8612a768fa7bf66f207c4bf73e92e69d3f0f62c8b22 SHA512 54dd02060c93040ef09f23751e0ef6c853a892df077ca012717b4586dede5081365ee4df1daaf98095af364a0e9406e9a5afde74158d5dc6715425bed58db254
DIST pyproject_fmt-2.3.1.tar.gz 9139 BLAKE2B 461dbf2d0c81dd679fb7432daa25f862990fb5255206549cde8ab7e3a02f8ddacc9ce0ffb4d78476887e302d096a8f364ea269b75eed5c6a61a15471c38adada SHA512 289bae8ee8c2adb9a78294ac1c1b569aec7fe73a9400ef43ac6ed684e26c76c921f342b4236654951c40bfb5e9e72092dd9cc7d32252f1e81902e398ae7a84ee
DIST pyproject_fmt-2.4.2.tar.gz 44169 BLAKE2B e7c369044a2ce2e9bd1c8109a3f7719e0260dc8b307f3c135f6bbd896628d08ea9db38361b6c1436d78286347e605f9050f1790b55b10ffdfd741e1a8db97a89 SHA512 44d3d09f881a1e873ff7386c6d52d97acd8737d689058925caed8bbdf05f118d99c88461cfd931bb0b93fc3c8211f73c84871892bff181cd8ccaaf2ee331adb8
+DIST pyproject_fmt-2.4.3.tar.gz 44238 BLAKE2B 23c6103beb572d0dc5c025a086204130b93a49b9525ae683a3374d0b72ef8065f0875f46225f651cf51ac11b9f8f229254eb50fdde3a007230f32a6982c80157 SHA512 e114d8cff0345ae95104ee8984d2ef2119126be8ce36542b24c14000f9fc9d23f4b3983b7820bd4f8cb1cb05bca779d7b0635afc1317cad89fee30bb49fc5591
DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05
DIST regex-1.11.0.crate 254059 BLAKE2B 9450e54b522c3f12e4f1d814025c3037f8373b9e1feaf2028756b573335cb7f22400b0925e3ceb0716d72aeb19b02b4bcf70b0b435a0252d0d52a7028d95308c SHA512 16c066664ae87497f9880a52222301fb0d44053ae2d6861ea21dc59cab82bd1ab8ac407f9e77228a21a586ee745b02f9eb10e7b9b30df2f3aad73633270bf73d
DIST regex-automata-0.4.8.crate 617784 BLAKE2B 7535c79f6ddf1b1225e21171921594dcf32fc3afd47519d2067b2047b19070cb7e6fdfd1563b884fec6f91dd568522fc95d85bf095c11f8c02daeac128c45020 SHA512 278e3e2ab230ed5fa7d4837e8ea879fae68ebf35c2da5cc3a67f46b7d593abbcf71e6326a0cf34e38edc0f3f2166ff42a4fcc17a400d9604429aa5b4be075a3f
diff --git a/dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild
new file mode 100644
index 000000000000..f1cc388d223d
--- /dev/null
+++ b/dev-python/pyproject-fmt/pyproject-fmt-2.4.3.ebuild
@@ -0,0 +1,165 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+CRATES="
+ ahash@0.8.11
+ aho-corasick@1.1.3
+ any_ascii@0.1.7
+ arc-swap@1.7.1
+ autocfg@1.4.0
+ beef@0.5.2
+ bstr@1.10.0
+ cfg-if@1.0.0
+ countme@3.0.1
+ deranged@0.3.11
+ derivative@2.2.0
+ either@1.13.0
+ equivalent@1.0.1
+ fnv@1.0.7
+ form_urlencoded@1.2.1
+ futures-channel@0.3.31
+ futures-core@0.3.31
+ futures-executor@0.3.31
+ futures-io@0.3.31
+ futures-macro@0.3.31
+ futures-sink@0.3.31
+ futures-task@0.3.31
+ futures-timer@3.0.3
+ futures-util@0.3.31
+ futures@0.3.31
+ getrandom@0.2.15
+ glob@0.3.1
+ globset@0.4.15
+ hashbrown@0.14.5
+ hashbrown@0.15.0
+ heck@0.5.0
+ idna@0.5.0
+ indexmap@2.6.0
+ indoc@2.0.5
+ itertools@0.10.5
+ itoa@1.0.11
+ lexical-sort@0.3.1
+ libc@0.2.159
+ log@0.4.22
+ 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.20.2
+ pep440_rs@0.6.6
+ pep508_rs@0.6.1
+ percent-encoding@2.3.1
+ pin-project-lite@0.2.14
+ pin-utils@0.1.0
+ portable-atomic@1.9.0
+ powerfmt@0.2.0
+ proc-macro-crate@3.2.0
+ proc-macro2@1.0.87
+ pyo3-build-config@0.22.5
+ pyo3-ffi@0.22.5
+ pyo3-macros-backend@0.22.5
+ pyo3-macros@0.22.5
+ pyo3@0.22.5
+ quote@1.0.37
+ regex-automata@0.4.8
+ regex-syntax@0.6.29
+ regex-syntax@0.8.5
+ regex@1.11.0
+ relative-path@1.9.3
+ rowan@0.15.16
+ rstest@0.23.0
+ rstest_macros@0.23.0
+ rustc-hash@1.1.0
+ rustc_version@0.4.1
+ ryu@1.0.18
+ semver@1.0.23
+ serde@1.0.210
+ serde_derive@1.0.210
+ serde_json@1.0.128
+ slab@0.4.9
+ syn@1.0.109
+ syn@2.0.79
+ taplo@0.13.2
+ target-lexicon@0.12.16
+ text-size@1.1.1
+ thiserror-impl@1.0.64
+ thiserror@1.0.64
+ time-core@0.1.2
+ time-macros@0.2.18
+ time@0.3.36
+ tinyvec@1.8.0
+ tinyvec_macros@0.1.1
+ toml_datetime@0.6.8
+ toml_edit@0.22.22
+ tracing-attributes@0.1.27
+ tracing-core@0.1.32
+ tracing@0.1.40
+ unicode-bidi@0.3.17
+ unicode-ident@1.0.13
+ unicode-normalization@0.1.24
+ unicode-width@0.1.14
+ unindent@0.2.3
+ unscanny@0.1.0
+ url@2.5.2
+ urlencoding@2.1.3
+ version_check@0.9.5
+ wasi@0.11.0+wasi-snapshot-preview1
+ winnow@0.6.20
+ zerocopy-derive@0.7.35
+ zerocopy@0.7.35
+"
+
+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-DFS-2016
+ || ( Apache-2.0 BSD-2 )
+ || ( Apache-2.0 Boost-1.0 )
+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ >=dev-python/tomli-2.0.2[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+# tox is called as a subprocess, to get targets from tox.ini
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}]
+ dev-python/tox
+ )
+"
+
+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() {
+ cargo_src_test
+}