mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
249 lines
5.2 KiB
Bash
249 lines
5.2 KiB
Bash
# Copyright 2025-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# Autogenerated by pycargoebuild 0.15.0
|
|
|
|
EAPI=8
|
|
|
|
RUST_MIN_VER="1.89.0"
|
|
|
|
CRATES="
|
|
aho-corasick@1.1.4
|
|
android_system_properties@0.1.5
|
|
anstream@1.0.0
|
|
anstyle-parse@1.0.0
|
|
anstyle-query@1.1.5
|
|
anstyle-wincon@3.0.11
|
|
anstyle@1.0.14
|
|
assert_cmd@2.2.2
|
|
async-recursion@1.1.1
|
|
autocfg@1.5.1
|
|
bitflags@2.13.0
|
|
blake2@0.10.6
|
|
block-buffer@0.10.4
|
|
bstr@1.12.3
|
|
bumpalo@3.20.3
|
|
bytes@1.12.0
|
|
cc@1.2.66
|
|
cfg-if@1.0.4
|
|
chrono-tz-build@0.3.0
|
|
chrono-tz@0.9.0
|
|
chrono@0.4.45
|
|
clap@4.6.1
|
|
clap_builder@4.6.0
|
|
clap_complete@4.6.7
|
|
clap_derive@4.6.1
|
|
clap_lex@1.1.0
|
|
cmake@0.1.58
|
|
codespan-reporting@0.13.1
|
|
colorchoice@1.0.5
|
|
console@0.16.4
|
|
core-foundation-sys@0.8.7
|
|
crossbeam-deque@0.8.7
|
|
crossbeam-epoch@0.9.20
|
|
crossbeam-utils@0.8.22
|
|
crypto-common@0.1.7
|
|
cxx-build@1.0.196
|
|
cxx@1.0.196
|
|
cxxbridge-cmd@1.0.196
|
|
cxxbridge-flags@1.0.196
|
|
cxxbridge-macro@1.0.196
|
|
deunicode@1.6.2
|
|
diff@0.1.13
|
|
difflib@0.4.0
|
|
digest@0.10.7
|
|
dirs-sys@0.5.0
|
|
dirs@6.0.0
|
|
dunce@1.0.5
|
|
either@1.16.0
|
|
encode_unicode@1.0.0
|
|
env_filter@2.0.0
|
|
env_logger@0.11.11
|
|
equivalent@1.0.2
|
|
errno@0.3.14
|
|
fastrand@2.4.1
|
|
find-msvc-tools@0.1.9
|
|
foldhash@0.2.0
|
|
futures-channel@0.3.32
|
|
futures-core@0.3.32
|
|
futures-executor@0.3.32
|
|
futures-io@0.3.32
|
|
futures-macro@0.3.32
|
|
futures-sink@0.3.32
|
|
futures-task@0.3.32
|
|
futures-util@0.3.32
|
|
futures@0.3.32
|
|
generic-array@0.14.7
|
|
getrandom@0.2.17
|
|
getrandom@0.4.3
|
|
glob@0.3.3
|
|
globset@0.4.18
|
|
globwalk@0.9.1
|
|
hashbrown@0.17.1
|
|
heck@0.5.0
|
|
hermit-abi@0.5.2
|
|
humansize@2.1.3
|
|
iana-time-zone-haiku@0.1.2
|
|
iana-time-zone@0.1.65
|
|
ignore@0.4.27
|
|
indexmap@2.14.0
|
|
indicatif@0.18.6
|
|
is-terminal@0.4.17
|
|
is_ci@1.2.0
|
|
is_terminal_polyfill@1.70.2
|
|
itertools@0.15.0
|
|
itoa@1.0.18
|
|
js-sys@0.3.103
|
|
lazy_static@1.5.0
|
|
libc@0.2.186
|
|
libm@0.2.16
|
|
libredox@0.1.18
|
|
link-cplusplus@1.0.12
|
|
linux-raw-sys@0.12.1
|
|
lock_api@0.4.14
|
|
log@0.4.33
|
|
memchr@2.8.2
|
|
miette-derive@7.6.0
|
|
miette@7.6.0
|
|
mio@1.2.1
|
|
num-traits@0.2.19
|
|
once_cell@1.21.4
|
|
once_cell_polyfill@1.70.2
|
|
option-ext@0.2.0
|
|
owo-colors@4.3.0
|
|
parking_lot@0.12.5
|
|
parking_lot_core@0.9.12
|
|
parse-zoneinfo@0.3.1
|
|
pathdiff@0.2.3
|
|
percent-encoding@2.3.2
|
|
pest@2.8.7
|
|
pest_derive@2.8.7
|
|
pest_generator@2.8.7
|
|
pest_meta@2.8.7
|
|
phf@0.11.3
|
|
phf_codegen@0.11.3
|
|
phf_generator@0.11.3
|
|
phf_shared@0.11.3
|
|
pin-project-lite@0.2.17
|
|
portable-atomic@1.13.1
|
|
ppv-lite86@0.2.21
|
|
predicates-core@1.0.10
|
|
predicates-tree@1.0.13
|
|
predicates@3.1.4
|
|
pretty_assertions@1.4.1
|
|
proc-macro2@1.0.106
|
|
quote@1.0.46
|
|
r-efi@6.0.0
|
|
rand@0.8.6
|
|
rand_chacha@0.3.1
|
|
rand_core@0.6.4
|
|
redox_syscall@0.5.18
|
|
redox_users@0.5.2
|
|
regex-automata@0.4.14
|
|
regex-syntax@0.8.11
|
|
regex@1.12.4
|
|
rustix@1.1.4
|
|
rustversion@1.0.23
|
|
ryu@1.0.23
|
|
same-file@1.0.6
|
|
scopeguard@1.2.0
|
|
scratch@1.0.9
|
|
semver@1.0.28
|
|
serde@1.0.228
|
|
serde_core@1.0.228
|
|
serde_derive@1.0.228
|
|
serde_json@1.0.150
|
|
serde_yaml_ng@0.10.0
|
|
shlex@2.0.1
|
|
signal-hook-registry@1.4.8
|
|
siphasher@1.0.3
|
|
slab@0.4.12
|
|
slug@0.1.6
|
|
smallvec@1.15.2
|
|
socket2@0.6.4
|
|
strsim@0.11.1
|
|
subst@0.3.8
|
|
subtle@2.6.1
|
|
supports-color@2.1.0
|
|
supports-color@3.0.2
|
|
syn@2.0.118
|
|
tabwriter@1.4.1
|
|
tempfile@3.27.0
|
|
tera@1.20.1
|
|
termcolor@1.4.1
|
|
termtree@0.5.1
|
|
thiserror-impl@2.0.18
|
|
thiserror@2.0.18
|
|
tokio-macros@2.7.0
|
|
tokio@1.52.3
|
|
typed-arena@2.0.2
|
|
typenum@1.20.1
|
|
ucd-trie@0.1.7
|
|
unicode-ident@1.0.24
|
|
unicode-segmentation@1.13.3
|
|
unicode-width@0.1.14
|
|
unicode-width@0.2.2
|
|
unit-prefix@0.5.2
|
|
unsafe-libyaml@0.2.11
|
|
utf8parse@0.2.2
|
|
version_check@0.9.5
|
|
wait-timeout@0.2.1
|
|
walkdir@2.5.0
|
|
wasi@0.11.1+wasi-snapshot-preview1
|
|
wasm-bindgen-macro-support@0.2.126
|
|
wasm-bindgen-macro@0.2.126
|
|
wasm-bindgen-shared@0.2.126
|
|
wasm-bindgen@0.2.126
|
|
web-time@1.1.0
|
|
winapi-util@0.1.11
|
|
windows-core@0.62.2
|
|
windows-implement@0.60.2
|
|
windows-interface@0.59.3
|
|
windows-link@0.2.1
|
|
windows-result@0.4.1
|
|
windows-strings@0.5.1
|
|
windows-sys@0.61.2
|
|
yansi@1.0.1
|
|
zerocopy-derive@0.8.53
|
|
zerocopy@0.8.53
|
|
zmij@1.0.21
|
|
"
|
|
|
|
inherit cargo
|
|
|
|
DESCRIPTION="A dependency management tool for hardware projects"
|
|
HOMEPAGE="https://github.com/pulp-platform/bender"
|
|
SRC_URI="
|
|
https://github.com/pulp-platform/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
|
${CARGO_CRATE_URIS}
|
|
"
|
|
|
|
LICENSE="|| ( Apache-2.0 MIT )"
|
|
# Dependent crate licenses
|
|
LICENSE+=" Apache-2.0 BSD ISC MIT MPL-2.0 Unicode-3.0 ZLIB"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
# rust does not use *FLAGS from make.conf, silence portage warning
|
|
# update with proper path to binaries this crate installs, omit leading /
|
|
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
|
|
|
src_configure() {
|
|
# The default "slang" feature pulls in the bender-slang crate, whose
|
|
# build script fetches and compiles the slang SystemVerilog parser
|
|
# (plus Boost, fmt and mimalloc) from the network via CMake. That is
|
|
# not fetch-restriction friendly and bundles vendored C++ deps, so build
|
|
# the dependency manager without it, matching pre-0.32 behaviour.
|
|
cargo_src_configure --no-default-features
|
|
}
|
|
|
|
src_test() {
|
|
# The diagnostic tests compare the plain-text rendering of miette
|
|
# reports, but owo_colors injects ANSI escapes whenever it detects
|
|
# color support, which splits "caused by:" from the cause string and
|
|
# breaks test_stderr_contains_caused_by_chain (bug 978810). Force
|
|
# color off so the rendered output stays plain.
|
|
local -x NO_COLOR=1
|
|
cargo_src_test
|
|
}
|