diff options
Diffstat (limited to 'dev-python/pyproject-fmt-rust')
-rw-r--r-- | dev-python/pyproject-fmt-rust/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.0.6.ebuild | 159 |
2 files changed, 162 insertions, 0 deletions
diff --git a/dev-python/pyproject-fmt-rust/Manifest b/dev-python/pyproject-fmt-rust/Manifest index bc5acb9be7e9..5a3a8894edcc 100644 --- a/dev-python/pyproject-fmt-rust/Manifest +++ b/dev-python/pyproject-fmt-rust/Manifest @@ -46,6 +46,7 @@ DIST parking_lot-0.12.1.crate 40967 BLAKE2B 940a112a066e3cbd15e2f6df89bfff37e4ec DIST parking_lot_core-0.9.9.crate 32445 BLAKE2B 811d8de671bf6e0911cf0df7dcaee4fb03a3b223173a3bb8cee65a28724eeb7bac87f62aa7b1df5ea3fc93af3cee3ef30b83d06c6773d6b856a7e6fa5fa197ea SHA512 7f0df70f9f1ca8d3da0b9dcc96e49daf05d95c3a995289266b5333f68818d686d32b0c733dfe3a0f62da78fa45caa843a963923b2d0c80899c33413dc749c032 DIST pep440_rs-0.6.0.crate 42496 BLAKE2B 46d1ce98ab48233799acca4e1aab1d4837ad0c4814cafe6d971a39c5d1fefe034896ce1d468ffe77b9a61f3c52fe7a1ee05e590eb4c67c718356e54da9349d50 SHA512 4c50012b5d04227d0dc8cd919b10b774d7c1abcc08bc5d0f9e7817c846ae906b9cb60cf2b0d65c9ca37d3b5b592e50d5847aebbf136366b4032105b287167b8a DIST pep508_rs-0.5.0.crate 33793 BLAKE2B 9f2b0b9897f96e006cae66c2e145ba5c8cabc6dc2edb0e203dd3ab2215e2227e4830209a92d0999d8d7024fc9dfaf858e94a52bc0efda989df2e19dcdc8375fe SHA512 6a9a04afb75fd3799b9bb59102d1be0e0bb506926c5733d724c99b882261bdb126e586157672cbd96be5daf827d50834516e25467f3632962a61f2e4322f714c +DIST pep508_rs-0.6.0.crate 34138 BLAKE2B 3eed7514426f0aa1a17be19727cd0dff745a6f2caaca2beaa29a4a4070722bb7e5aae72d9aa0ff8642e927fa5ba6801cb680f875c9ad5c55b648b503b7f998cc SHA512 fe7acd77ea677b7bf2096d7f9eeddd89478becf87b05bba604344c1ecff876a7c7feb75ac2e1ab1d39b2165905b206fa3877269e69aa6eabf3cf6db1427dbeea DIST percent-encoding-2.3.1.crate 10235 BLAKE2B cf8e2fd7b359a05b7bdaf731f9ae84c7fe6f468a53482eb2db7f93dfdaab64ac812b3664899db260055a93449462e6d219c695942fc5b030517b197b4df9b95f SHA512 5951ea8315e52cf3acfbaa023cb9e13a136b114c54a7da0bd44619ae24cd2159d4a96469d7572a2fdabd94e19513a033387117d7ca81d0eb409fb383e4acda44 DIST pin-project-lite-0.2.14.crate 28817 BLAKE2B 8e9875967059faff399fbffff82cf8835982c46ea8df942acf50b038e3f500e04d3d8cde39da5a71ebcc38b869553f8c49830e484d1109b353247a4cfdeda89e SHA512 f90a6b9f5ab8701718f72677a4f3597c1b9f32e5fa53198b47a94696227ea37815997599abaa6058b217c5b32a94602582c6b13fdb66e2d683bc98921de95293 DIST pin-utils-0.1.0.crate 7580 BLAKE2B 457e1287202f16d1873b24bf4f1de1828300128c4ba3131758e64f9784d36d47365f22d85493c3a85d854f0d8dbb4c6cef3a0f5b064014dc03943e58b7ba9178 SHA512 828422b8440cc82ac6b0743e0112fa7540d437aed457564999092b1462cd7672cd6b1f0201b67075431aeedd3d9c5127468a3dd028744109944f7f023c82fd70 @@ -59,6 +60,7 @@ DIST pyo3-macros-0.21.2.crate 7920 BLAKE2B 60ceb626fd1ffeca7e81ebc721bb4cfebd99b DIST pyo3-macros-backend-0.21.2.crate 58088 BLAKE2B 05dd49983c8aeddc47cd94f6cd58f10e41ad6f4ec57006908cde4fe3edbcf6814058d7843a88c9dbeb0824f840ad3509414c52e47fffe5ad4b730f791c9a3f19 SHA512 f8488ba0a68f1ae20d053e2323d065f03b40c24231a50b05205b100e973ae50bc7bb9c25e4d37df56f4cfa73d2001655ce9685078d1017a4a90bd7945c01b833 DIST pyproject_fmt_rust-1.0.1.tar.gz 28922 BLAKE2B e2ba8580a4b64f6ae4e0608ebc9f7e7f5b7fa736b64fab199eaeed1c3e1453d4fb12c17d1e3a924191c023550b704dc6ea12fcf739c4c22f6987f952c0a3dd4d SHA512 f14629a95c22bc1469c198f90c7da80e88a82251b8a25c013748a2f0c32041cf9462ea728a5e5e440757b272d48b0396fc8fe67fe852effbfd769d50fe24f16d DIST pyproject_fmt_rust-1.0.4.tar.gz 28896 BLAKE2B d2a8520cda6f155dc0d8090f40466f2edb72f329f3c6c22bdd6a202b09297e3160b6aa54360cb77d68b797a767a2fda08a7cb296f25c4770959f3a114a22e323 SHA512 d41d3e3cba0ec83c23071291270376ed835f05dcb7759ac4e88208c5eebd3e040b0226aa833fdf3ca25e60ddb6c3a932196e30d51ddca05771b6e20440d1406c +DIST pyproject_fmt_rust-1.0.6.tar.gz 29264 BLAKE2B 1d3e2636f09b376590450573d9e7c6e2892b8d495674e08af5a84f7a08cd644550f5fa4d2c3133286b38086a6c08d335a0b3cb67bf6bbaf1a139f21fafc7cb2c SHA512 cca3244d63f5082bf3f3b54982af2f5b0a0bba5c5e768552a3f079fa647a5aa9682038fec0ee55ff6c67efaa13e728d74821dee6229a6217bdf6ab055b887c70 DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST regex-1.10.4.crate 253191 BLAKE2B 08bdb925efbea1ee9f885a89ec6b4692e39d7b17039f788e5b3c1dbfb7847d4f53b67f0c61e4085af7ef4901e67e33ea94948668bf706fef19b4102a06ef0447 SHA512 88ef121a51759f418d5dc01607a6e02651bd00343dae92962c02a80f30343d3f079a0375457780ce46bf205ca38f279b03989154638199fe2fcede10554bf21b @@ -116,4 +118,5 @@ DIST zerocopy-0.7.32.crate 151096 BLAKE2B 12c7c329ec0e0865467af08306ff4b55ce1e39 DIST zerocopy-derive-0.7.32.crate 37623 BLAKE2B 8b583d39d7bf9c3dbbba578120751c664f87363c5ba3fc45f6506a4059b9e599c43d9fc7bd498a257ff7c9d872af77d39bebdb0e65fb8009eaa2ae9903dece46 SHA512 3ce8528871fd18d6abe92b98503927451d25791c9c4af0ba39a3b6ba2006030bdc137084d080e9b1ac8b5ddf5f2121e0a3ef34bb2033a040f2c72c8149a9fc0d EBUILD pyproject-fmt-rust-1.0.1.ebuild 3079 BLAKE2B 6c84b2ca4dd01940a6a97dbd18a3cfa3ed08fa8cacb1d9f41a379ab6b6167e024be8085bb03b9f830eafca76a71e44ce54a3b0d4dfc62a281ea9d08283f2203c SHA512 4742198d00149c90fbfef0c6109820a298e90239cb716eb48d38b4440b26f7e4cc061c01dfdbff10099e29704a7fb13f6703223114810d8a506e27f652694415 EBUILD pyproject-fmt-rust-1.0.4.ebuild 3067 BLAKE2B 81ae5de7ac1920f08d5e318cac9254c35dedce2ca258bc9f6314bde66652fafca2a8fd62b15788c8ed4e2dadcdba4c2f632e1f42215868830a3e905ef728890d SHA512 c99d1b8f4d41c7a9b1f06daadfbf32d66924aa1a1d2ed8fb45e3350ac7e1ea822e3c10757420b13cae5c45f955678112adce85da576241b0f29d9065b2a64cd1 +EBUILD pyproject-fmt-rust-1.0.6.ebuild 3067 BLAKE2B efec070e16c15694b90f0eb13118d1d6767b66b88fc16644fdc62c9ce251860d59ed8e7fa2fb1fef75eefbc78a9b1e7ec675cd60a98b85a360cff85d6e13dbb8 SHA512 71a2154a7f6338931e037c18656b2cacf872e4943925c30f0f2fffced5d2f708865f8656b94a084e57424f0ed006719bd9acc8e0503721c59619b8a9774b58b9 MISC metadata.xml 366 BLAKE2B 89345e39c30912e60dc066b2e40292a496f5e862a3ec290718d86c82061700f70655de8f856aceeb646476665a459f79f3af928d15652adc156a66ac4e316cbc SHA512 4581ece4e387e0497963ff90f5b434edc7f7aa93e624e757bf67bce929d826949c6f1aadae68ad8999bce4f4fbfa3d6208a0d79b4b8c6940e7f36772c7dd89ed diff --git a/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.0.6.ebuild b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.0.6.ebuild new file mode 100644 index 000000000000..1255b5969e06 --- /dev/null +++ b/dev-python/pyproject-fmt-rust/pyproject-fmt-rust-1.0.6.ebuild @@ -0,0 +1,159 @@ +# Copyright 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.2.0 + beef@0.5.2 + bitflags@1.3.2 + bstr@1.9.1 + cfg-if@1.0.0 + countme@3.0.1 + deranged@0.3.11 + derivative@2.2.0 + either@1.11.0 + fnv@1.0.7 + form_urlencoded@1.2.1 + futures-channel@0.3.30 + futures-core@0.3.30 + futures-executor@0.3.30 + futures-io@0.3.30 + futures-macro@0.3.30 + futures-sink@0.3.30 + futures-task@0.3.30 + futures-timer@3.0.3 + futures-util@0.3.30 + futures@0.3.30 + getrandom@0.2.14 + glob@0.3.1 + globset@0.4.14 + hashbrown@0.14.3 + heck@0.4.1 + idna@0.5.0 + indoc@2.0.5 + itertools@0.10.5 + itoa@1.0.11 + lexical-sort@0.3.1 + libc@0.2.153 + lock_api@0.4.11 + log@0.4.21 + logos-derive@0.12.1 + logos@0.12.1 + memchr@2.7.2 + memoffset@0.9.1 + num-conv@0.1.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + pep440_rs@0.6.0 + pep508_rs@0.6.0 + percent-encoding@2.3.1 + pin-project-lite@0.2.14 + pin-utils@0.1.0 + portable-atomic@1.6.0 + powerfmt@0.2.0 + proc-macro2@1.0.81 + pyo3-build-config@0.21.2 + pyo3-ffi@0.21.2 + pyo3-macros-backend@0.21.2 + pyo3-macros@0.21.2 + pyo3@0.21.2 + quote@1.0.36 + redox_syscall@0.4.1 + regex-automata@0.4.6 + regex-syntax@0.6.29 + regex-syntax@0.8.3 + regex@1.10.4 + relative-path@1.9.2 + rowan@0.15.15 + rstest@0.19.0 + rstest_macros@0.19.0 + rustc-hash@1.1.0 + rustc_version@0.4.0 + ryu@1.0.17 + scopeguard@1.2.0 + semver@1.0.22 + serde@1.0.198 + serde_derive@1.0.198 + serde_json@1.0.116 + slab@0.4.9 + smallvec@1.13.2 + syn@1.0.109 + syn@2.0.60 + taplo@0.13.0 + target-lexicon@0.12.14 + text-size@1.1.1 + thiserror-impl@1.0.59 + thiserror@1.0.59 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing@0.1.40 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-width@0.1.12 + unindent@0.2.3 + unscanny@0.1.0 + url@2.5.0 + urlencoding@2.1.3 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 + zerocopy-derive@0.7.32 + zerocopy@0.7.32 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Format your pyproject.toml file (Rust extension)" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt-rust/ + https://pypi.org/project/pyproject-fmt-rust/ +" +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 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib/py.*/site-packages/pyproject_fmt_rust/_lib.*.so" + +src_prepare() { + sed -i -e '/strip/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test_all() { + cargo_src_test +} |