diff options
Diffstat (limited to 'dev-util/rye/rye-0.38.0.ebuild')
-rw-r--r-- | dev-util/rye/rye-0.38.0.ebuild | 362 |
1 files changed, 362 insertions, 0 deletions
diff --git a/dev-util/rye/rye-0.38.0.ebuild b/dev-util/rye/rye-0.38.0.ebuild new file mode 100644 index 000000000..b98dca6c7 --- /dev/null +++ b/dev-util/rye/rye-0.38.0.ebuild @@ -0,0 +1,362 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.3 + +EAPI=8 + +CRATES=" + addr2line@0.21.0 + adler@1.0.2 + aead@0.5.2 + age-core@0.10.0 + age@0.10.0 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.18 + anstyle@1.0.7 + anyhow@1.0.86 + arbitrary@1.3.2 + arc-swap@1.7.1 + autocfg@1.3.0 + backtrace@0.3.71 + base64@0.13.1 + base64@0.21.7 + base64@0.22.1 + bech32@0.9.1 + bitflags@1.3.2 + bitflags@2.5.0 + block-buffer@0.10.4 + bstr@1.9.1 + bumpalo@3.16.0 + byteorder@1.5.0 + bzip2-sys@0.1.11+1.0.8 + bzip2@0.4.4 + cc@1.0.98 + cfg-if@1.0.0 + cfg_aliases@0.1.1 + chacha20@0.9.1 + chacha20poly1305@0.10.1 + charset@0.1.3 + chumsky@0.9.3 + cipher@0.4.4 + clap@4.5.4 + clap_builder@4.5.2 + clap_complete@4.5.2 + clap_complete_nushell@4.5.1 + clap_derive@4.5.4 + clap_lex@0.7.0 + configparser@3.0.4 + console@0.15.8 + cookie-factory@0.3.3 + cpufeatures@0.2.12 + crc32fast@1.4.2 + crossbeam-utils@0.8.20 + crypto-common@0.1.6 + ctrlc@3.4.4 + curl-sys@0.4.72+curl-8.6.0 + curl@0.4.46 + curve25519-dalek-derive@0.1.1 + curve25519-dalek@4.1.2 + dashmap@5.5.3 + data-encoding@2.6.0 + deranged@0.3.11 + derive_arbitrary@1.3.2 + deunicode@1.6.0 + digest@0.10.7 + displaydoc@0.2.4 + dotenvy@0.15.7 + either@1.12.0 + encode_unicode@0.3.6 + encoding_rs@0.8.34 + equivalent@1.0.1 + errno@0.3.9 + fastrand@1.9.0 + fastrand@2.1.0 + fiat-crypto@0.2.9 + filetime@0.2.23 + find-crate@0.6.3 + flate2@1.0.30 + fluent-bundle@0.15.3 + fluent-langneg@0.13.0 + fluent-syntax@0.11.1 + fluent@0.16.1 + form_urlencoded@1.2.1 + fs-err@2.11.0 + fs2@0.4.3 + fslock@0.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-util@0.3.30 + futures@0.3.30 + generic-array@0.14.7 + getrandom@0.2.15 + gimli@0.28.1 + git-testament-derive@0.2.0 + git-testament@0.2.5 + globset@0.4.14 + hashbrown@0.14.5 + heck@0.5.0 + hex@0.4.3 + hkdf@0.12.4 + hmac@0.12.1 + home@0.5.9 + i18n-config@0.4.6 + i18n-embed-fl@0.7.0 + i18n-embed-impl@0.8.3 + i18n-embed@0.14.1 + idna@0.5.0 + indexmap@2.2.6 + indicatif@0.17.8 + inout@0.1.3 + insta-cmd@0.5.0 + insta@1.39.0 + instant@0.1.13 + intl-memoizer@0.5.2 + intl_pluralrules@7.0.2 + io_tee@0.1.1 + itoa@1.0.11 + jobserver@0.1.31 + junction@1.1.0 + lazy_static@1.4.0 + libc@0.2.155 + libz-sys@1.1.16 + license@3.3.1 + linked-hash-map@0.5.6 + linux-raw-sys@0.4.14 + lock_api@0.4.12 + log@0.4.21 + mailparse@0.15.0 + memchr@2.7.2 + minijinja@2.0.1 + minimal-lexical@0.2.1 + miniz_oxide@0.7.3 + nix@0.28.0 + nom@7.1.3 + num-conv@0.1.0 + number_prefix@0.4.0 + object@0.32.2 + once_cell@1.19.0 + opaque-debug@0.3.1 + openssl-probe@0.1.5 + openssl-src@300.2.3+3.2.1 + openssl-sys@0.9.102 + parking_lot@0.12.2 + parking_lot_core@0.9.10 + pathdiff@0.2.1 + pbkdf2@0.12.2 + pep440_rs@0.4.0 + pep508_rs@0.3.0 + percent-encoding@2.3.1 + pin-project-internal@1.1.5 + pin-project-lite@0.2.14 + pin-project@1.1.5 + pin-utils@0.1.0 + pkg-config@0.3.30 + platforms@3.4.0 + poly1305@0.8.0 + portable-atomic@1.6.0 + powerfmt@0.2.0 + ppv-lite86@0.2.17 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.83 + psm@0.1.21 + python-pkginfo@0.6.1 + quote@1.0.36 + quoted_printable@0.5.0 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.4.1 + redox_syscall@0.5.1 + regex-automata@0.4.6 + regex-syntax@0.8.3 + regex@1.10.4 + reword@7.0.0 + rfc2047-decoder@1.0.5 + ring@0.17.8 + rust-embed-impl@8.4.0 + rust-embed-utils@8.4.0 + rust-embed@8.4.0 + rustc-demangle@0.1.24 + rustc-hash@1.1.0 + rustc_version@0.4.0 + rustix@0.38.34 + rustls-pki-types@1.7.0 + rustls-webpki@0.102.4 + rustls@0.22.4 + ryu@1.0.18 + salsa20@0.10.2 + same-file@1.0.6 + schannel@0.1.23 + scopeguard@1.2.0 + scrypt@0.11.0 + secrecy@0.8.0 + self-replace@1.3.7 + self_cell@0.10.3 + self_cell@1.0.4 + semver@1.0.23 + serde@1.0.202 + serde_derive@1.0.202 + serde_json@1.0.117 + serde_spanned@0.6.6 + sha2@0.10.8 + shell-words@1.1.0 + shlex@1.3.0 + similar@2.5.0 + slab@0.4.9 + slug@0.1.5 + smallvec@1.13.2 + socket2@0.5.7 + spin@0.9.8 + stacker@0.1.15 + static_vcruntime@2.0.0 + strsim@0.10.0 + subtle@2.5.0 + syn@1.0.109 + syn@2.0.65 + tar@0.4.40 + target-lexicon@0.12.14 + tempfile@3.10.1 + terminal_size@0.3.0 + thiserror-impl@1.0.61 + thiserror@1.0.61 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinystr@0.7.5 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.5.11 + toml@0.8.13 + toml_datetime@0.6.6 + toml_edit@0.22.13 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing@0.1.40 + type-map@0.5.0 + typenum@1.17.0 + unic-langid-impl@0.9.5 + unic-langid@0.9.5 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-normalization@0.1.23 + unicode-segmentation@1.11.0 + unicode-width@0.1.12 + universal-hash@0.5.1 + unscanny@0.1.0 + untrusted@0.9.0 + ureq@2.9.7 + url@2.5.0 + vcpkg@0.2.15 + version_check@0.9.4 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.92 + wasm-bindgen-macro-support@0.2.92 + wasm-bindgen-macro@0.2.92 + wasm-bindgen-shared@0.2.92 + wasm-bindgen@0.2.92 + webpki-roots@0.26.1 + which@6.0.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_gnu@0.48.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.5 + winnow@0.6.8 + winreg@0.52.0 + winsafe@0.0.19 + x25519-dalek@2.0.1 + xattr@1.3.1 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 + zeroize@1.7.0 + zeroize_derive@1.4.2 + zip@0.6.6 + zip@1.3.0 + zstd-safe@7.1.0 + zstd-sys@2.0.10+zstd.1.5.6 + zstd@0.13.1 +" + +declare -A GIT_CRATES=( + [dialoguer]='https://github.com/console-rs/dialoguer;47a9d4df729db7ffc1492bd0845be786e6f20153;dialoguer-%commit%' + [monotrail-utils]='https://github.com/konstin/poc-monotrail;e0251f68c254f834180198b8677fcf85d4b6a844;poc-monotrail-%commit%/crates/monotrail-utils' +) + +inherit cargo + +DESCRIPTION="a Hassle-Free Python Experience" +HOMEPAGE="https://rye.astral.sh" +SRC_URI=" + https://github.com/astral-sh/rye/archive/${PV}/${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 + Unicode-DFS-2016 +" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + sys-libs/zlib +" +RDEPEND="${DEPEND}" + +QA_FLAGS_IGNORED=".*" + +src_test() { + local mytestargs=( + --skip test_is_inside_git_work_tree + # The following tests require network access. + --skip test_basic_list + --skip test_list_not_rye_managed + --skip test_add + --skip test_dotenv + --skip test_config + --skip test_init + --skip test_publish + --skip test_lint_and_format + --skip test_basic_script + --skip test_version + --skip test_empty_sync + --skip test_autosync_remember + --skip test_fetch + --skip test_basic_tool_behavior + ) + + cargo_src_test -- "${mytestargs[@]}" +} + +src_install() { + cargo_src_install --path rye +} |