diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 65086 -> 65102 bytes | |||
-rw-r--r-- | dev-util/gitlab-cli/Manifest | 2 | ||||
-rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild | 5 | ||||
-rw-r--r-- | dev-util/maturin/Manifest | 2 | ||||
-rw-r--r-- | dev-util/maturin/maturin-1.7.3.ebuild | 576 | ||||
-rw-r--r-- | dev-util/qbs/Manifest | 2 | ||||
-rw-r--r-- | dev-util/qbs/qbs-2.4.1-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-util/ruff/Manifest | 2 | ||||
-rw-r--r-- | dev-util/ruff/ruff-0.6.7.ebuild | 491 |
9 files changed, 1077 insertions, 5 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 36b856ba8446..e3d16ffea2ff 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest index 5b5768dc08b2..1c0af949dee3 100644 --- a/dev-util/gitlab-cli/Manifest +++ b/dev-util/gitlab-cli/Manifest @@ -3,5 +3,5 @@ DIST gitlab-cli-1.44.1.tar.bz2 16841236 BLAKE2B 3a9ab7b0ca02c6a4a0652a268364785a DIST gitlab-cli-1.46.0-deps.tar.xz 21625028 BLAKE2B c4c5c38f505e0812e2ab5490d5064815fb6b8b2d65fe21016db886959b6dee2c5ed3e2abf51a00a40b70927a9d4562e4330075809e0c2d413652f5cc33ba4be2 SHA512 9a04a6ba82c8c00124b53adfefaf4b22dbd59d085823ed44e26d7a0436c359b2e966987258206030881373302627a40b800675efbf05ed4c3558f20830aabe94 DIST gitlab-cli-1.46.0.tar.bz2 16845037 BLAKE2B b1bbfffb0968b5245fae91a7ba0c29f7c278de06006a79f8d5b9c64acb577b5cead2a3587eb770a35d5b0fd75fc9917c078918cb51541e677b739d38ec9510e3 SHA512 c6a1a854019f21cb172dba1ce01c8a4e94d6af7ada52c1bf182bb3444fcb8f7d593eb009a2c89c078f09f7abde57443a95d2a81aa11619ebecb75bfb5ace6ada EBUILD gitlab-cli-1.44.1.ebuild 767 BLAKE2B 8c3e8b2f4c1617b017c6ef7c5ae268a4adf9942391e842c58cb33dab451d524c11c5f63e1a64395bb021779f2cde5522d0cba936bc636cee903ae8f49fa70847 SHA512 60dd05ce01c09c092ac7ad2a289603b10867d61566abc639958aee7d04a00a83a4f9bef4de8fd01bd3a942c2301d2cea4e19fc0dd3d7cef1248bca70838617c5 -EBUILD gitlab-cli-1.46.0.ebuild 766 BLAKE2B e891109d24fcc9984207679502e12456defe96d399a31c8eed8f01397d2f0a3f56aa0839af19009f206aa9c7c174887190821af2ed754316731051672c13de34 SHA512 1aced28b1fe6ccb1cf0adc667a6970ddfc8be4d72fb8e45303cbd17909418e2efa4dcb6d7d3cc400a1838a5138e97dd286e03a7c6c8d784b1ba0d71b5ebb5a9c +EBUILD gitlab-cli-1.46.0.ebuild 797 BLAKE2B d83cf7f6f12935723e14c9ccff511be663df028e70feb7955d0d5770ddab849254732afa74058c062e810024b3b31f56b62da5660c6bb76886425bd43df847b4 SHA512 3d8acce055170ce3f26c8c928a320e3351948cd58f01b254e02c0f67609f273a48fe45a689f5d4c9dfeeebe2d2c2fdb44bd732dc78bb819da41ece3c7b320872 MISC metadata.xml 328 BLAKE2B c15cee65978853695fcc911a6beb02ac29f8e82d7a82417989e497a0c014a2c5c2c22503cf2c099600e0885399496d0e7ce3b3590c8b8cfa0f6ecc6a63988d46 SHA512 4df241882ef7e722711132110271b672ef49913a92e9d70972857968e7d12a8403f5b19b5079fd78f3f08fb4aab8e615b51a6073db2c460aa2ae3ec31d8e3a28 diff --git a/dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild index 4a336d97ac9f..34441e2b6f86 100644 --- a/dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild +++ b/dev-util/gitlab-cli/gitlab-cli-1.46.0.ebuild @@ -9,16 +9,17 @@ DESCRIPTION="the official gitlab command line interface" HOMEPAGE="https://gitlab.com/gitlab-org/cli" SRC_URI="https://gitlab.com/gitlab-org/cli/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" +S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" +BDEPEND=">=dev-lang/go-1.23.0" + # tests communicate with gitlab.com and require a personal access token RESTRICT="test" -S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}" - src_compile() { emake \ GLAB_VERSION=v${PV} \ diff --git a/dev-util/maturin/Manifest b/dev-util/maturin/Manifest index 9fae8ff264ac..e6365f5f7d48 100644 --- a/dev-util/maturin/Manifest +++ b/dev-util/maturin/Manifest @@ -256,6 +256,7 @@ DIST matchers-0.1.0.crate 6948 BLAKE2B ec3a5d01d2fedbb4dbf5bb185afbb9401410463a6 DIST maturin-1.6.0.gh.tar.gz 464510 BLAKE2B dc40df2ae593d57dd8d52526734cf6e8cf01c42de4cd92b5ee0d4a20168367bef6b6fe783dd7e2ba51d96b91510699a207ada15c69f97cc832d34eb5f1028ae2 SHA512 de67ce91200fb17ffe40587ae66b9a39db53ba74512354aa632631097926833be01dd685eefcfc95e9f13535c73ba1dcd166b2111d987769aa109f4a7f8e2c09 DIST maturin-1.7.1.gh.tar.gz 505952 BLAKE2B 0b1294277e3e203a38d904782fb9e9fbc8336f50670abd1c68b8c8c2ff2a7dfdcd8fa6e98dfb4b43c625349d01f6b89826b8c9740e7660629671ad4c07ee0fd7 SHA512 7022cb87d5710807f1b8e4e858d19e2dc2e07b02d7f47e9bc6a322686dce90c7aeb8c2f5caf7b5da4ca61cadbede7daf84728ae9f341c38384231872c9be5cb2 DIST maturin-1.7.2.gh.tar.gz 511124 BLAKE2B 1b2e4f91f4148772c5944bf8ca2decf050deb07fd1275bf660ad19fec6470f4aee34fcc8e827da42c9d1667aaf4a3e575903341bcfb5ce39773be007b0de6aa7 SHA512 ec3bce5aea7c82c3bb241c24eeee1479aaa7f1e36b6e093b9ea260cbc127db17f92d0d3a4ac301f20e94ced9d3bf7ef3dafa42658a2de7f8e56356ee9b87a5fe +DIST maturin-1.7.3.gh.tar.gz 511217 BLAKE2B ae2a001f2ba34da7d249ab7f7a441703e35a2068e5ffbcdad2dbae252cdc3c3b6bc9eca4397ba8a4c8b46e23370d27f46a523f8c03ed47946a96815f37eae81d SHA512 a623b1db9eb7c41e392610c2a8ea65fecb87ae870eb663b09b9c84a832217bc60a81b639904a63bff09290cdf71277a9368235f09862c2e5639c94815268b692 DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa DIST memchr-2.7.1.crate 96307 BLAKE2B f1a008fbdbfe84852a8ae1d9d9574306b1bf120dd5087903adbcca6af342c9abbb296496eb9bf6cb58915c4444b3edd6ca4e27131ac7d8aed8849815df87a944 SHA512 5120496faa31fc427c8b4178461a262b3a34d70eddb7ad17a19d6db8b9969c9e113d3625b5e6dc677087fc80907377b00ba0421aba9a92cf73ca2849d932f473 DIST memchr-2.7.2.crate 96220 BLAKE2B 2399064b6db21838d4aa0b25ed0bf04940ee3820741658cc6bf62e5ade08f41320df743ff13f99b2781da7b844e18deb1cfe25fe570f0e93f98ff03ca5d442e3 SHA512 cadcb4239c7f3aaab042592c5186770a225621e32f8583052fd3dbebb4a6d9b99be28f589b39b5ca36cb2d56fb3709e7d4ba91838ebb882e28e51280c02bbc40 @@ -677,4 +678,5 @@ DIST zip-1.1.4.crate 77910 BLAKE2B 1c6a0e14becbb43faa9510d303ab254486e97730bc741 EBUILD maturin-1.6.0.ebuild 12304 BLAKE2B f00ef36a7eb337dc2d7bb2cb0c9f5a0151ce87f20e262b3b992cc05b9ecd748996e60c4e572eb392dac5710b96c3d9cb937e26f9926c176f27ea8e6d0eda32d6 SHA512 fa144969049adabee32c4bc70bbc8ca83d3b4530521f17f74f32000aebb94f089fdc2878e4ec95d6b7e2063aeb369012b53845ca7980068b1998f382a3a9b249 EBUILD maturin-1.7.1.ebuild 11628 BLAKE2B 6f9974eb6eb6b1e2aace19244fbac999793a433fbc52a0f98d577e26662e68e2600d292b0f6fd28cef9ec2767c955bc0538050a52726146f6c83ee5952fe9d1c SHA512 9ebab27d674a6276228ddbb82ff03cf8d137d7f1dd4e807c87b100aacd908159401495f1080ca1afb3ffe413d39d43cea0eb92c6e9c0b094e41a27aadaf2af08 EBUILD maturin-1.7.2.ebuild 12384 BLAKE2B 6a0abe292b4cdedc44aa43d305db69638ba1e1a616bd61911ad615d117bdd4e772067ef42084358fc23e6cb4b7dd32999ce9f7ac7c59fae62ea149b18ab6a66f SHA512 4105e70239faabf5afd866bc82f801a1e5e7456e50c7c4759c32a9fda0b35e10b619e42cc305d07cc0e02266e225611f28cd6c91d4424f6b28abf8f59e428efa +EBUILD maturin-1.7.3.ebuild 12384 BLAKE2B 6a0abe292b4cdedc44aa43d305db69638ba1e1a616bd61911ad615d117bdd4e772067ef42084358fc23e6cb4b7dd32999ce9f7ac7c59fae62ea149b18ab6a66f SHA512 4105e70239faabf5afd866bc82f801a1e5e7456e50c7c4759c32a9fda0b35e10b619e42cc305d07cc0e02266e225611f28cd6c91d4424f6b28abf8f59e428efa MISC metadata.xml 431 BLAKE2B 15731479f56d8b819c60e8e5541d3c4720462c5a90b199b803097b208432b18cc0143f8cbee471ce81ffeb8b54846fdb61fad083e7507f4f6c3630ac628546ed SHA512 7431db948fd5ab520fb6cae76c7e7dbb2c7aef907d7cde21189d1bb17c686cca7f69a0b84470b1c5d90f672e80d30fbb56f37beec1da04ebfdf025015c099ae7 diff --git a/dev-util/maturin/maturin-1.7.3.ebuild b/dev-util/maturin/maturin-1.7.3.ebuild new file mode 100644 index 000000000000..8808dfef70ae --- /dev/null +++ b/dev-util/maturin/maturin-1.7.3.ebuild @@ -0,0 +1,576 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adler@1.0.2 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.18 + anstream@0.6.14 + anstyle-parse@0.2.4 + anstyle-query@1.1.0 + anstyle-wincon@3.0.3 + anstyle@1.0.7 + anyhow@1.0.86 + autocfg@1.3.0 + automod@1.0.14 + base64@0.21.7 + base64@0.22.1 + bitflags@1.3.2 + bitflags@2.5.0 + block-buffer@0.10.4 + bstr@1.10.0 + byteorder@1.5.0 + bytesize@1.3.0 + bytes@1.7.1 + bzip2-sys@0.1.11+1.0.8 + bzip2@0.4.4 + cab@0.5.0 + camino@1.1.9 + cargo-config2@0.1.26 + cargo-options@0.7.4 + cargo-platform@0.1.8 + cargo-xwin@0.16.5 + cargo-zigbuild@0.19.3 + cargo_metadata@0.18.1 + cbindgen@0.26.0 + cc@1.1.21 + cfb@0.9.0 + cfg-if@1.0.0 + charset@0.1.5 + chumsky@0.9.3 + clap@4.5.7 + clap_builder@4.5.7 + clap_complete@4.5.5 + clap_complete_command@0.6.1 + clap_complete_nushell@4.5.2 + clap_derive@4.5.5 + clap_lex@0.7.1 + cli-table@0.4.7 + colorchoice@1.0.1 + configparser@3.1.0 + console@0.15.8 + content_inspector@0.2.4 + core-foundation-sys@0.8.6 + core-foundation@0.9.4 + cpufeatures@0.2.12 + crc32fast@1.4.2 + crc-catalog@2.4.0 + crc@3.2.1 + crossbeam-channel@0.5.13 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-utils@0.8.20 + crypto-common@0.1.6 + data-encoding@2.6.0 + deranged@0.3.11 + derivative@2.2.0 + dialoguer@0.11.0 + diff@0.1.13 + digest@0.10.7 + dirs-sys@0.4.1 + dirs@5.0.1 + dissimilar@1.0.9 + dunce@1.0.5 + dyn-clone@1.0.17 + either@1.13.0 + encode_unicode@0.3.6 + encoding_rs@0.8.34 + equivalent@1.0.1 + errno@0.3.9 + expect-test@1.5.0 + fastrand@2.1.0 + fat-macho@0.4.8 + filetime@0.2.23 + flate2@1.0.30 + fnv@1.0.7 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + form_urlencoded@1.2.1 + fs-err@2.11.0 + 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 + generic-array@0.14.7 + getrandom@0.2.15 + globset@0.4.14 + glob@0.3.1 + goblin@0.8.2 + hashbrown@0.12.3 + hashbrown@0.14.5 + heck@0.4.1 + heck@0.5.0 + home@0.5.9 + humantime-serde@1.1.1 + humantime@2.1.0 + idna@0.5.0 + ignore@0.4.22 + indexmap@1.9.3 + indexmap@2.4.0 + indicatif@0.17.8 + indoc@2.0.5 + instant@0.1.13 + is_terminal_polyfill@1.70.0 + itertools@0.12.1 + itoa@1.0.11 + keyring@2.3.3 + lazy_static@1.4.0 + lddtree@0.3.5 + libc@0.2.158 + libmimalloc-sys@0.1.38 + libredox@0.1.3 + linux-keyutils@0.2.4 + linux-raw-sys@0.4.14 + lock_api@0.4.12 + log@0.4.21 + lzxd@0.2.5 + mailparse@0.15.0 + matchers@0.1.0 + memchr@2.7.2 + mimalloc@0.1.42 + mime@0.3.17 + mime_guess@2.0.4 + minijinja@1.0.21 + minimal-lexical@0.2.1 + miniz_oxide@0.7.3 + msi@0.7.0 + multipart@0.18.0 + native-tls@0.2.12 + nom@7.1.3 + normalize-line-endings@0.3.0 + normpath@1.2.0 + number_prefix@0.4.0 + num-conv@0.1.0 + nu-ansi-term@0.46.0 + once_cell@1.19.0 + openssl-macros@0.1.1 + openssl-probe@0.1.5 + openssl-sys@0.9.103 + openssl@0.10.66 + option-ext@0.2.0 + os_pipe@1.2.0 + overload@0.1.1 + parking_lot@0.12.3 + parking_lot_core@0.9.10 + paste@1.0.15 + path-slash@0.2.1 + 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 + pkg-config@0.3.30 + plain@0.2.3 + platform-info@2.0.3 + portable-atomic@1.6.0 + powerfmt@0.2.0 + ppv-lite86@0.2.17 + pretty_assertions@1.4.0 + proc-macro2@1.0.85 + proc-macro-crate@3.1.0 + psm@0.1.21 + pyproject-toml@0.11.0 + python-pkginfo@0.6.2 + quoted_printable@0.5.0 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.4.1 + redox_syscall@0.5.1 + redox_users@0.4.5 + regex-automata@0.1.10 + regex-automata@0.4.7 + regex-syntax@0.6.29 + regex-syntax@0.8.4 + regex@1.10.5 + relative-path@1.9.3 + rfc2047-decoder@1.0.5 + ring@0.17.8 + rstest@0.21.0 + rstest_macros@0.21.0 + rustc_version@0.4.0 + rustflags@0.1.6 + rustix@0.38.34 + rustls-pemfile@2.1.2 + rustls-pki-types@1.7.0 + rustls-webpki@0.102.4 + rustls@0.22.4 + rustversion@1.0.17 + ryu@1.0.18 + same-file@1.0.6 + schannel@0.1.23 + schemars@0.8.21 + schemars_derive@0.8.21 + scopeguard@1.2.0 + scroll@0.12.0 + scroll_derive@0.12.0 + security-framework-sys@2.11.0 + security-framework@2.11.0 + semver@1.0.23 + serde@1.0.210 + serde_derive@1.0.210 + serde_derive_internals@0.29.1 + serde_json@1.0.128 + serde_spanned@0.6.6 + sha2@0.10.8 + sharded-slab@0.1.7 + shell-words@1.1.0 + shlex@1.3.0 + similar@2.5.0 + slab@0.4.9 + smallvec@1.13.2 + smawk@0.3.2 + snapbox-macros@0.3.9 + snapbox@0.6.10 + socks@0.3.4 + spin@0.9.8 + stacker@0.1.15 + static_assertions@1.1.0 + strsim@0.11.1 + subtle@2.5.0 + syn@1.0.109 + syn@2.0.76 + target-lexicon@0.12.16 + tar@0.4.41 + tempfile@3.10.1 + termcolor@1.4.1 + terminal_size@0.3.0 + textwrap@0.16.1 + thiserror-impl@1.0.61 + thiserror@1.0.61 + thread_local@1.1.8 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinyvec@1.7.0 + tinyvec_macros@0.1.1 + toml@0.5.11 + toml@0.8.14 + toml_datetime@0.6.6 + toml_edit@0.21.1 + toml_edit@0.22.14 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-log@0.2.0 + tracing-serde@0.1.3 + tracing-subscriber@0.3.18 + tracing@0.1.40 + trycmd@0.15.4 + twox-hash@1.6.3 + typenum@1.17.0 + unicase@2.7.0 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-linebreak@0.1.5 + unicode-normalization@0.1.23 + unicode-width@0.1.13 + unicode-xid@0.2.4 + unscanny@0.1.0 + untrusted@0.9.0 + ureq@2.9.7 + urlencoding@2.1.3 + url@2.5.2 + utf8parse@0.2.2 + uuid@1.8.0 + valuable@0.1.0 + vcpkg@0.2.15 + versions@6.2.0 + version_check@0.9.4 + wait-timeout@0.2.0 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + webpki-roots@0.26.2 + which@5.0.0 + which@6.0.1 + wild@2.2.1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.8 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.5 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.5 + winnow@0.5.40 + winnow@0.6.13 + winsafe@0.0.19 + xattr@1.3.1 + xwin@0.5.1 + yansi@0.5.1 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 + zeroize@1.8.1 + zip@0.6.6 +" +# additional crates used by test-crates/* test packages, +# `grep test-crates tests/run.rs` to see which are needed +CRATES_TEST=" + anstream@0.6.15 + anstyle-parse@0.2.5 + anstyle-query@1.1.1 + anstyle-wincon@3.0.4 + anstyle@1.0.8 + askama@0.12.1 + askama_derive@0.12.5 + askama_escape@0.10.3 + askama_parser@0.2.1 + autocfg@1.1.0 + basic-toml@0.1.9 + bincode@1.3.3 + bytes@1.6.0 + camino@1.1.7 + cargo_metadata@0.15.4 + cc@1.0.73 + cc@1.0.81 + cc@1.0.83 + clap@4.5.16 + clap_builder@4.5.15 + clap_derive@4.5.13 + clap_lex@0.7.2 + colorchoice@1.0.2 + getrandom@0.2.10 + indoc@2.0.4 + is_terminal_polyfill@1.70.1 + libc@0.2.134 + libc@0.2.147 + libc@0.2.149 + libc@0.2.155 + log@0.4.22 + memchr@2.7.4 + memoffset@0.9.0 + memoffset@0.9.1 + mime_guess@2.0.5 + once_cell@1.15.0 + once_cell@1.18.0 + portable-atomic@1.7.0 + proc-macro2@1.0.86 + pyo3-build-config@0.18.3 + pyo3-build-config@0.22.0 + pyo3-build-config@0.22.2 + pyo3-ffi@0.18.3 + pyo3-ffi@0.22.0 + pyo3-ffi@0.22.2 + pyo3-macros-backend@0.22.0 + pyo3-macros-backend@0.22.2 + pyo3-macros@0.22.0 + pyo3-macros@0.22.2 + pyo3@0.22.0 + pyo3@0.22.2 + python3-dll-a@0.2.6 + python3-dll-a@0.2.9 + serde@1.0.203 + serde@1.0.209 + serde_derive@1.0.203 + serde_derive@1.0.209 + serde_json@1.0.118 + serde_json@1.0.127 + siphasher@0.3.11 + syn@2.0.68 + syn@2.0.72 + target-lexicon@0.12.11 + target-lexicon@0.12.14 + thiserror-impl@1.0.63 + thiserror@1.0.63 + unicode-ident@1.0.5 + unicode-ident@1.0.11 + uniffi@0.28.0 + uniffi@0.28.1 + uniffi_bindgen@0.28.0 + uniffi_bindgen@0.28.1 + uniffi_build@0.28.0 + uniffi_build@0.28.1 + uniffi_checksum_derive@0.28.0 + uniffi_checksum_derive@0.28.1 + uniffi_core@0.28.0 + uniffi_core@0.28.1 + uniffi_macros@0.28.0 + uniffi_macros@0.28.1 + uniffi_meta@0.28.0 + uniffi_meta@0.28.1 + uniffi_testing@0.28.0 + uniffi_testing@0.28.1 + uniffi_udl@0.28.0 + uniffi_udl@0.28.1 + unindent@0.2.3 + version_check@0.9.5 + weedle2@5.0.0 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_gnu@0.52.6 + windows_i686_msvc@0.52.6 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_gnu@0.52.6 + windows_x86_64_msvc@0.52.6 +" +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +inherit cargo distutils-r1 flag-o-matic shell-completion toolchain-funcs + +DESCRIPTION="Build and publish crates with pyo3, rust-cpython and cffi bindings" +HOMEPAGE="https://www.maturin.rs/" +SRC_URI=" + https://github.com/PyO3/maturin/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz + ${CARGO_CRATE_URIS} + test? ( $(cargo_crate_uris ${CRATES_TEST}) ) +" + +# note: rustls+ring is unused, so openssl license can be skipped +LICENSE="|| ( Apache-2.0 MIT ) doc? ( CC-BY-4.0 OFL-1.1 )" +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 + Unicode-DFS-2016 +" # crates +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="doc +ssl test" +RESTRICT="!test? ( test )" + +RDEPEND="$(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)" +DEPEND="ssl? ( dev-libs/openssl:= )" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/mdbook ) + test? ( + ${RDEPEND} + $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*') + dev-python/boltons[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-vcs/git + elibc_musl? ( dev-util/patchelf ) + ) +" +RDEPEND+=" ${DEPEND}" + +QA_FLAGS_IGNORED="usr/bin/${PN}" + +src_prepare() { + distutils-r1_src_prepare + + # we build the Rust executable (just once) via cargo_src_compile + sed -i -e '/setuptools_rust/d' -e '/rust_extensions/d' setup.py || die + + if use test; then + # used to prevent use of network during tests, and silence pip + # if it finds unrelated issues with system packages (bug #913613) + cat > "${T}"/pip.conf <<-EOF || die + [global] + quiet = 2 + + [install] + no-index = yes + no-dependencies = yes + EOF + + # used by *git_sdist_generator tests + git init -q || die + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -qm init || die + fi +} + +src_configure() { + export OPENSSL_NO_VENDOR=1 + + # bug #938847 (TODO?: should probably be an eclass default for musl) + use elibc_musl && RUSTFLAGS+=" -C target-feature=-crt-static" + + # https://github.com/rust-lang/stacker/issues/79 + use s390 && ! is-flagq '-march=*' && + append-cflags $(test-flags-CC -march=z10) + + local myfeatures=( + # like release.yml + native-tls for better platform support than rustls + full + password-storage + $(usev ssl native-tls) + ) + + cargo_src_configure --no-default-features +} + +python_compile_all() { + cargo_src_compile + + use !doc || mdbook build -d html guide || die + + if ! tc-is-cross-compiler; then + local maturin=$(cargo_target_dir)/maturin + "${maturin}" completions bash > "${T}"/${PN} || die + "${maturin}" completions fish > "${T}"/${PN}.fish || die + "${maturin}" completions zsh > "${T}"/_${PN} || die + else + ewarn "shell completion files were skipped due to cross-compilation" + fi +} + +python_test() { + local -x MATURIN_TEST_PYTHON=${EPYTHON} + local -x PIP_CONFIG_FILE=${T}/pip.conf + local -x VIRTUALENV_SYSTEM_SITE_PACKAGES=1 + + # need this for (new) python versions not yet recognized by pyo3 + local -x PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 + + local skip=( + # picky cli output test that easily benignly fail (bug #937992) + --skip cli_tests + # avoid need for wasm over a single hello world test + --skip integration_wasm_hello_world + # fragile depending on rust version, also wants libpypy*-c.so for pypy + --skip pyo3_no_extension_module + # unimportant tests that use uv, and it does not seem to be able + # to find the system's dev-python/uv (not worth the trouble) + --skip develop_hello_world::case_2 + --skip develop_pyo3_ffi_pure::case_2 + # fails on sparc since rust-1.74 (bug #934573), skip for now given + # should not affect the pep517 backend which is all we need on sparc + $(usev sparc '--skip build_context::test::test_macosx_deployment_target') + ) + + cargo_src_test -- "${skip[@]}" +} + +python_install_all() { + cargo_src_install + + dodoc Changelog.md README.md + use doc && dodoc -r guide/html + + if ! tc-is-cross-compiler; then + dobashcomp "${T}"/${PN} + dofishcomp "${T}"/${PN}.fish + dozshcomp "${T}"/_${PN} + fi +} diff --git a/dev-util/qbs/Manifest b/dev-util/qbs/Manifest index 2942edcc70b7..a0b62df58345 100644 --- a/dev-util/qbs/Manifest +++ b/dev-util/qbs/Manifest @@ -1,5 +1,5 @@ AUX qbs-2.3.1-qtver.patch 196 BLAKE2B 6cfabd1bbd16b2e342ff9eeb2748ce2215ed25d18203f59e0f181f465e02dfe1e2416b8ab2b5c8eb3b5aa6ec9e7c37e938e389165b1a995ed7f48233f257af79 SHA512 f3f95fc9d1a96767d9a3e74ac428e9b00f4e460959d04298f3f6ecc99f5eb72a57290e6d248f82d1ba8ca7e655fe729b8320a77da585b145c48ac90b9a315181 AUX qbs-2.4.1-ldconfig.patch 696 BLAKE2B eb0339773ebddbf913e09f6e50fc366b50b8a7974262e6f568da879cd96035d8c93cfe7c8e9a891f4716a5af3ceff27e0a753c5e6ccfe78481d696dd068e7cf7 SHA512 07bd268c6e95c306c1f69e29164e2e54b3290d415a96dac143c9438021acf8a8e42fbb1ae750308560279ac4762984dd74b4e18fe3be84a9c9933c9dd7d1a752 DIST qbs-src-2.4.1.tar.gz 5739646 BLAKE2B 5455779be27a5eed316372303ec4264a6af8238684e9c4ae46dffcf7f9038b9aaff75dab29c84e761808158ce60f408c46eac829ef226168ad86c85df2fe7cd2 SHA512 caeb9289a208ca227fc2a16c38d88594b3b958c33f9108f74463bfad412a07ac7f7c4f85b6a741d3ee4c842e5a5d980d88b9c279ff8636cb2e98f67a70ee54b3 -EBUILD qbs-2.4.1-r1.ebuild 2464 BLAKE2B 3db130cfbad56cdfb8e8d80088dcc95516fc2b7bb098a765fc802d8df40add84dd7eb5238daa98b7a6900ddbdf236d62ddd994a2d17aaa527b726ef6aa7ace30 SHA512 48731ec065caeb88a5a61c521e4fefde65fceb0d6c9ca885cbd942f4f5f01f1edbb48befb2c673362606294a4f7b262adb68b203cb093ead784d12ab6ffc4b01 +EBUILD qbs-2.4.1-r1.ebuild 2463 BLAKE2B e73512996d3dc7a791517c7a14e17bd129472ccd05fe6f0135fcf334663491f531870298e3a5bd591c9e2e25d1697119a97176ec45eb5d897e84f9a31ccb886d SHA512 b20d8b502ce0ac52a80a4226fce67748c719288dfc6cfd042fca8ba9de210c0b784bc0ab99caaba4e03858d5489e3d844d069dd874936266772893192b5060ed MISC metadata.xml 1135 BLAKE2B 389cfca2f13552aa0da4e29204014c678d2e710cc96fed8f68616431d5a5d0b9bcd5505b396f843dd065c66c0bd8d955ae6137637eb19226552b6b36509fe296 SHA512 854fb0ce9d21b6ff61c4ed32efeffda84d31ec809faa830b921804dc59e5d6d49d8b7326877705f94346f677d72cc17be5ed4099a6e51dbf381f7456c57567d6 diff --git a/dev-util/qbs/qbs-2.4.1-r1.ebuild b/dev-util/qbs/qbs-2.4.1-r1.ebuild index c82bed8f744e..3da4596d9744 100644 --- a/dev-util/qbs/qbs-2.4.1-r1.ebuild +++ b/dev-util/qbs/qbs-2.4.1-r1.ebuild @@ -13,7 +13,7 @@ S=${WORKDIR}/${PN}-src-${PV} LICENSE="|| ( LGPL-2.1 LGPL-3 ) BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm ~x86" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index 83e8dd14697f..23ee6c174063 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -231,6 +231,7 @@ DIST ring-0.17.8.crate 4188554 BLAKE2B f531b15cc5cf88f2ef00b1708473a7e98a42dbbd0 DIST ruff-0.6.4.gh.tar.gz 5069433 BLAKE2B 424192d17ba5fe69db4d0ac0867b43958884a532e86c8862fa524b95051c5a8f5765448e0de0b3c82f36c8db51d6e87f69176eeb59f1538f2f6a5fb52986b871 SHA512 eca710f53532e89ea75b9f46449b7b7cb1698e0a553d23282b2d04ea5dc7da0fb235d7da73557137fcae3eb81e74924fc41017d145dc85b170fa2780111aae5d DIST ruff-0.6.5.gh.tar.gz 5088685 BLAKE2B 0e59c66fdf55046f277f240dfe27c93c96d88e8478caf1a3ce3ef6abb02a293781cb8583ebf43fa9830e32f9ebeec44c406636b4b7880ceaf356a38867a08410 SHA512 cb3c1ccb5b8dc23ec87549fb145b77d4e423704bdc25150a714f5847c0cc5fed77f26760ece3500a58576132252f395f65c03d297ab717b07c30f3ea889317f2 DIST ruff-0.6.6.gh.tar.gz 5121732 BLAKE2B 2ea8b0cee4fd6d1e5f19679a704223636ce6b8c3abf19d57c0e6209668aa1aab1a60c543960c0cf171d29d9b22cf71fc852f3314f143fd6f840bf6b49f9de1e1 SHA512 081278513294d17ddad657bf9cee25a6f56acc54b6ad1ec22af45e1e536666c8d3393691d208f803a30bdfbbe61e446dfc8be69588c26539bbae7fa573f9e660 +DIST ruff-0.6.7.gh.tar.gz 5127713 BLAKE2B 321f4d86511aa14be5974307ec6a2636822614f75df5fae27505a9f4e6aee839eae303c6e92295be54896460ba41f2400f0cc4b53cad0573c5a63ebbb26f4af3 SHA512 aff047185c8f6752e2748c83ae3783a299db2bf1459a060fbeb6146c31c97c1832b2d5cebdb017950d5782cd2001735b5a9e005ce474d225446420e412da3dae DIST rust-stemmers-1.2.0.crate 2351301 BLAKE2B d633c0d7091fd05e55a521670104831bed89deef7a2fb7c1eed3528246e65b67a97888fed48b134b10c477e7b95c034e8bbad70500c779b1ff7b0c334de0b37b SHA512 b9453a0984d41e5a692e5ea1a8a7bc6142de30f7b345a269489b8d4ebe3b3d442e7fe5f338c72a790521dea7a2ad9605c0ca8218a6b76d8bc5e19ae02cf711d7 DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 DIST rustc-hash-2.0.0.crate 12691 BLAKE2B b6a619f681e897c8a9167bb88d6ba78715010ac6c1ef9a7a9e115fe8aab10fcd9d4f5e1893e89a36a59118819dbf67de3d261a190fe37948137f097bc99b3fd2 SHA512 996ad683db2e6839ee28fdc4a31293aecce7baefaf6051220a633a00beddef1be41aef0995d7501e5b92dbc85350ced920bc980d05f5ba235e9a5d1a13464339 @@ -379,4 +380,5 @@ DIST zstd-sys-2.0.11+zstd.1.5.6.crate 749078 BLAKE2B 6be19b2ea22e557a6b38bdb37c9 EBUILD ruff-0.6.4.ebuild 9537 BLAKE2B 7e650cf4d08523d9902f71a52fd2439aed0ed779c6cb435507ad8cc68c2b82d36c98920e6c42fc3ea3853792a6e1ae854b0b6723edda098051f26811a83dadcb SHA512 47b5792f27f97bb2099b2ff3fd4075e0760db2bd75c5a91ce42f059ae92505fd22333570c375214f49a0e028aefa5c723387ccb44fee61c5e14621b095bb0a5c EBUILD ruff-0.6.5.ebuild 9755 BLAKE2B 3f1a62a076f2c06ca9486fea9a6f48d69da1c6b36596b7e96b06202d3b416566a7837293674c42a76437eae3d1926311b97ff7f155ae6a4dee920a4c6b081e44 SHA512 4d9800f4271f631dabe45eb4c5cd92e9e3a1d328b48494a1295d9fb0348a90f8d77835d9555b4def53eff6347fcbf6aa6397225655d216546875ffecf53ac40a EBUILD ruff-0.6.6.ebuild 9939 BLAKE2B 05de09a065fced775450289af9141a115f15771e55408bb7c0049adbb6e02787f02c036e9aa5c31a1ed7bd1716892f84982e93c2d94f4d4ea75d6bbacc085fe0 SHA512 6b56e34c0d7b81ac98d7d512f88cac196dc96aa91b6b656d3a133ae24779ce9b6ebb69301a6ddb6121c944d4c58b757dd6c870d72dd47b1308a18e7eead7b603 +EBUILD ruff-0.6.7.ebuild 9939 BLAKE2B 05de09a065fced775450289af9141a115f15771e55408bb7c0049adbb6e02787f02c036e9aa5c31a1ed7bd1716892f84982e93c2d94f4d4ea75d6bbacc085fe0 SHA512 6b56e34c0d7b81ac98d7d512f88cac196dc96aa91b6b656d3a133ae24779ce9b6ebb69301a6ddb6121c944d4c58b757dd6c870d72dd47b1308a18e7eead7b603 MISC metadata.xml 480 BLAKE2B 6ddd486a0e095df64a5bb79eaccda8d230e05172dce0b05261e5bd8b2bc5d9c9dac19c69677dc88fb38ca8b5da4dbb203ccfe5c11176cfc9a488e74fdda4e4ec SHA512 9b29a47558bb67d83ff0e2da03096e0c4bfdd4d70146d4e084c590712a17f3823afb0318eac6501ff36ef457e5287c7161502115ea78b3aaf7042fa4ed865195 diff --git a/dev-util/ruff/ruff-0.6.7.ebuild b/dev-util/ruff/ruff-0.6.7.ebuild new file mode 100644 index 000000000000..6a208af72854 --- /dev/null +++ b/dev-util/ruff/ruff-0.6.7.ebuild @@ -0,0 +1,491 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.3 + +EAPI=8 + +CRATES=" + Inflector@0.11.4 + adler@1.0.2 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.16 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anes@0.1.6 + annotate-snippets@0.6.1 + annotate-snippets@0.9.2 + anstream@0.6.13 + anstyle-parse@0.2.3 + anstyle-query@1.0.2 + anstyle-wincon@3.0.2 + anstyle@1.0.8 + anyhow@1.0.86 + append-only-vec@0.1.5 + arc-swap@1.7.1 + argfile@0.2.1 + arrayvec@0.7.4 + assert_fs@1.1.2 + autocfg@1.2.0 + base64@0.22.0 + bincode@1.3.3 + bitflags@1.3.2 + bitflags@2.6.0 + block-buffer@0.10.4 + bstr@1.10.0 + bumpalo@3.16.0 + byteorder@1.5.0 + cachedir@0.3.1 + camino@1.1.9 + cast@0.3.0 + castaway@0.2.3 + cc@1.0.95 + cfg-if@1.0.0 + cfg_aliases@0.1.1 + cfg_aliases@0.2.1 + chic@1.2.2 + chrono@0.4.38 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.5.16 + clap_builder@4.5.15 + clap_complete@4.5.2 + clap_complete_command@0.6.1 + clap_complete_nushell@4.5.2 + clap_derive@4.5.13 + clap_lex@0.7.0 + clearscreen@3.0.0 + codspeed-criterion-compat@2.6.0 + codspeed@2.6.0 + colorchoice@1.0.0 + colored@2.1.0 + compact_str@0.8.0 + console@0.15.8 + console_error_panic_hook@0.1.7 + console_log@1.0.0 + core-foundation-sys@0.8.6 + countme@3.0.1 + cpufeatures@0.2.13 + crc32fast@1.4.0 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.12 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-queue@0.3.11 + crossbeam-utils@0.8.19 + crossbeam@0.8.4 + crunchy@0.2.2 + crypto-common@0.1.6 + ctrlc@3.4.5 + darling@0.20.8 + darling_core@0.20.8 + darling_macro@0.20.8 + dashmap@5.5.3 + dashmap@6.0.1 + diff@0.1.13 + difflib@0.4.0 + digest@0.10.7 + dirs-sys@0.3.7 + dirs-sys@0.4.1 + dirs@4.0.0 + dirs@5.0.1 + doc-comment@0.3.3 + drop_bomb@0.1.5 + dyn-clone@1.0.17 + either@1.11.0 + encode_unicode@0.3.6 + env_filter@0.1.0 + env_logger@0.11.5 + equivalent@1.0.1 + errno@0.3.8 + etcetera@0.8.0 + fastrand@2.0.2 + fern@0.6.2 + filetime@0.2.24 + flate2@1.0.28 + fnv@1.0.7 + form_urlencoded@1.2.1 + fs-err@2.11.0 + fsevent-sys@4.1.0 + generic-array@0.14.7 + getopts@0.2.21 + getrandom@0.2.14 + glob@0.3.1 + globset@0.4.14 + globwalk@0.9.1 + half@2.4.1 + hashbrown@0.14.5 + hashlink@0.9.1 + heck@0.5.0 + hermit-abi@0.3.9 + home@0.5.9 + humantime@2.1.0 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.60 + ident_case@1.0.1 + idna@0.5.0 + ignore@0.4.22 + imara-diff@0.1.7 + imperative@1.0.6 + indexmap@2.4.0 + indicatif@0.17.8 + indoc@2.0.5 + inotify-sys@0.1.5 + inotify@0.9.6 + insta-cmd@0.6.0 + insta@1.39.0 + instant@0.1.12 + is-docker@0.2.0 + is-macro@0.3.6 + is-terminal@0.4.12 + is-wsl@0.4.0 + itertools@0.10.5 + itertools@0.13.0 + itoa@1.0.11 + jobserver@0.1.32 + jod-thread@0.1.2 + js-sys@0.3.70 + kqueue-sys@1.0.4 + kqueue@1.0.8 + lazy_static@1.4.0 + libc@0.2.158 + libcst@1.4.0 + libcst_derive@1.4.0 + libmimalloc-sys@0.1.39 + libredox@0.1.3 + linked-hash-map@0.5.6 + linux-raw-sys@0.4.13 + lock_api@0.4.11 + log@0.4.22 + lsp-server@0.7.6 + matchers@0.1.0 + matches@0.1.10 + matchit@0.8.4 + memchr@2.7.4 + mimalloc@0.1.43 + minicov@0.3.5 + minimal-lexical@0.2.1 + miniz_oxide@0.7.2 + mio@0.8.11 + natord@1.0.9 + newtype-uuid@1.1.0 + nix@0.28.0 + nix@0.29.0 + nom@7.1.3 + notify@6.1.1 + nu-ansi-term@0.46.0 + nu-ansi-term@0.50.1 + num-traits@0.2.18 + number_prefix@0.4.0 + once_cell@1.19.0 + oorandom@11.1.3 + option-ext@0.2.0 + ordermap@0.5.2 + os_str_bytes@7.0.0 + overload@0.1.1 + parking_lot@0.12.3 + parking_lot_core@0.9.9 + paste@1.0.14 + path-absolutize@3.1.1 + path-dedot@3.1.1 + path-slash@0.2.1 + pathdiff@0.2.1 + peg-macros@0.8.2 + peg-runtime@0.8.2 + peg@0.8.2 + pep440_rs@0.4.0 + pep440_rs@0.6.6 + pep508_rs@0.3.0 + percent-encoding@2.3.1 + pest@2.7.11 + pest_derive@2.7.11 + pest_generator@2.7.11 + pest_meta@2.7.11 + phf@0.11.2 + phf_codegen@0.11.2 + phf_generator@0.11.2 + phf_shared@0.11.2 + pin-project-lite@0.2.14 + pkg-config@0.3.30 + portable-atomic@1.6.0 + ppv-lite86@0.2.17 + predicates-core@1.0.8 + predicates-tree@1.0.11 + predicates@3.1.2 + pretty_assertions@1.4.0 + proc-macro2@1.0.86 + pyproject-toml@0.9.0 + quick-junit@0.5.0 + quick-xml@0.36.1 + quote@1.0.37 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.4.1 + redox_syscall@0.5.3 + redox_users@0.4.5 + regex-automata@0.1.10 + regex-automata@0.4.6 + regex-syntax@0.6.29 + regex-syntax@0.8.3 + regex@1.10.6 + ring@0.17.8 + rust-stemmers@1.2.0 + rustc-hash@1.1.0 + rustc-hash@2.0.0 + rustix@0.38.34 + rustls-pki-types@1.7.0 + rustls-webpki@0.102.5 + rustls@0.23.10 + rustversion@1.0.15 + ryu@1.0.17 + same-file@1.0.6 + schemars@0.8.21 + schemars_derive@0.8.21 + scoped-tls@1.0.1 + scopeguard@1.2.0 + seahash@4.1.0 + serde-wasm-bindgen@0.6.5 + serde@1.0.209 + serde_derive@1.0.209 + serde_derive_internals@0.29.0 + serde_json@1.0.127 + serde_repr@0.1.19 + serde_spanned@0.6.7 + serde_test@1.0.177 + serde_with@3.9.0 + serde_with_macros@3.9.0 + sha2@0.10.8 + sharded-slab@0.1.7 + shellexpand@3.1.0 + similar@2.5.0 + siphasher@0.3.11 + smallvec@1.13.2 + spin@0.9.8 + static_assertions@1.1.0 + strip-ansi-escapes@0.2.0 + strsim@0.10.0 + strsim@0.11.1 + strum@0.26.3 + strum_macros@0.26.4 + subtle@2.5.0 + syn@2.0.76 + synstructure@0.13.1 + tempfile@3.12.0 + terminal_size@0.3.0 + terminfo@0.8.0 + termtree@0.4.1 + test-case-core@3.3.1 + test-case-macros@3.3.1 + test-case@3.3.1 + thiserror-impl@1.0.63 + thiserror@1.0.63 + thread_local@1.1.8 + tikv-jemalloc-sys@0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 + tikv-jemallocator@0.6.0 + tinytemplate@1.2.1 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.8.19 + toml_datetime@0.6.8 + toml_edit@0.22.20 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-flame@0.2.0 + tracing-indicatif@0.3.6 + tracing-log@0.2.0 + tracing-subscriber@0.3.18 + tracing-tree@0.4.0 + tracing@0.1.40 + typed-arena@2.0.2 + typenum@1.17.0 + ucd-trie@0.1.6 + unic-char-property@0.9.0 + unic-char-range@0.9.0 + unic-common@0.9.0 + unic-ucd-category@0.9.0 + unic-ucd-version@0.9.0 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-width@0.1.13 + unicode_names2@1.2.2 + unicode_names2_generator@1.2.2 + unscanny@0.1.0 + untrusted@0.9.0 + ureq@2.10.1 + url@2.5.2 + utf8parse@0.2.1 + uuid-macro-internal@1.10.0 + uuid@1.10.0 + valuable@0.1.0 + version_check@0.9.4 + vt100@0.15.2 + vte@0.11.1 + vte_generate_state_changes@0.1.1 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.93 + wasm-bindgen-futures@0.4.43 + wasm-bindgen-macro-support@0.2.93 + wasm-bindgen-macro@0.2.93 + wasm-bindgen-shared@0.2.93 + wasm-bindgen-test-macro@0.3.43 + wasm-bindgen-test@0.3.43 + wasm-bindgen@0.2.93 + web-sys@0.3.69 + web-time@1.1.0 + webpki-roots@0.26.1 + which@6.0.1 + wild@2.2.1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.8 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.52.0 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-sys@0.59.0 + windows-targets@0.48.5 + windows-targets@0.52.6 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 + winnow@0.6.18 + winsafe@0.0.19 + yansi-term@0.1.2 + yansi@0.5.1 + zerocopy-derive@0.7.32 + zerocopy@0.7.32 + zeroize@1.7.0 + zip@0.6.6 + zstd-safe@5.0.2+zstd.1.5.2 + zstd-sys@2.0.11+zstd.1.5.6 + zstd@0.11.2+zstd.1.5.2 +" + +declare -A GIT_CRATES=( + [lsp-types]='https://github.com/astral-sh/lsp-types;3512a9f33eadc5402cfab1b8f7340824c8ca1439;lsp-types-%commit%' + [salsa-macro-rules]='https://github.com/salsa-rs/salsa;f608ff8b24f07706492027199f51132244034f29;salsa-%commit%/components/salsa-macro-rules' + [salsa-macros]='https://github.com/salsa-rs/salsa;f608ff8b24f07706492027199f51132244034f29;salsa-%commit%/components/salsa-macros' + [salsa]='https://github.com/salsa-rs/salsa;f608ff8b24f07706492027199f51132244034f29;salsa-%commit%' +) + +inherit shell-completion cargo + +DESCRIPTION="An extremely fast Python linter, written in Rust" +HOMEPAGE=" + https://docs.astral.sh/ruff/ + https://github.com/astral-sh/ruff +" +SRC_URI=" + ${CARGO_CRATE_URIS} + https://github.com/astral-sh/ruff/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 + WTFPL-2 +" +# ring +LICENSE+=" + ISC SSLeay openssl MIT +" +# libcst +LICENSE+=" + MIT PSF-2 Apache-2.0 +" +# libcst_derive +LICENSE+=" + MIT PSF-2 Apache-2.0 +" +# salsa-macro-rules +LICENSE+=" + || ( MIT Apache-2.0 ) +" + +SLOT="0" +KEYWORDS="~amd64 ~loong" + +BDEPEND=" + >=virtual/rust-1.76 +" +RDEPEND=" + !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) ) ) + app-arch/zstd +" +DEPEND=" + ${RDEPEND} +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +DOCS=( + BREAKING_CHANGES.md + CODE_OF_CONDUCT.md + CONTRIBUTING.md + README.md + assets + docs +) + +src_configure() { + export RUSTFLAGS="${RUSTFLAGS}" + cargo_src_configure +} + +src_compile() { + local -x ZSTD_SYS_USE_PKG_CONFIG=1 + # Gentoo bug #927338 + if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then + local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 + local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so + fi + cargo_src_compile --bin ruff + + local releasedir + releasedir=$(cargo_target_dir) + + ${releasedir}/ruff generate-shell-completion bash > ruff-completion.bash || die + ${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh || die +} + +src_test() { + local -x ZSTD_SYS_USE_PKG_CONFIG=1 + # Gentoo bug #927338 + if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then + local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 + local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so + fi + cargo_src_test --target-dir "${PWD}"/tested-target/ +} + +src_install() { + local releasedir=$(cargo_target_dir) + + dobin ${releasedir}/ruff + + newbashcomp ruff-completion.bash ruff + newzshcomp ruff-completion.zsh _ruff + + dodoc -r "${DOCS[@]}" +} |