mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
@@ -4,9 +4,10 @@
|
||||
EAPI=8
|
||||
|
||||
CRATES=" "
|
||||
LLVM_COMPAT=( {17..19} )
|
||||
RUST_MIN_VER="1.82.0"
|
||||
|
||||
inherit cargo edo flag-o-matic shell-completion toolchain-funcs
|
||||
inherit cargo edo flag-o-matic llvm-r2 shell-completion toolchain-funcs
|
||||
|
||||
DESCRIPTION="QA library and tools based on pkgcraft"
|
||||
HOMEPAGE="https://pkgcraft.github.io/"
|
||||
@@ -33,12 +34,19 @@ RESTRICT="!test? ( test )"
|
||||
|
||||
# clang needed for bindgen
|
||||
BDEPEND+="
|
||||
llvm-core/clang
|
||||
$(llvm_gen_dep '
|
||||
llvm-core/clang:${LLVM_SLOT}
|
||||
')
|
||||
test? ( dev-util/cargo-nextest )
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/pkgcruft"
|
||||
|
||||
pkg_setup() {
|
||||
llvm-r2_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
|
||||
Reference in New Issue
Block a user