summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild')
-rw-r--r--sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
index 7c3a0cb714ec..e90118f5495a 100644
--- a/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
+++ b/sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild
@@ -5,9 +5,9 @@ EAPI=8
CRATES=" "
LLVM_COMPAT=( {17..19} )
-RUST_MIN_VER="1.80.0"
+RUST_MIN_VER="1.82.0"
-inherit cargo edo flag-o-matic llvm-r1
+inherit cargo edo flag-o-matic llvm-r1 shell-completion
DESCRIPTION="pkgcraft-based tools for Gentoo"
HOMEPAGE="https://pkgcraft.github.io/"
@@ -62,5 +62,15 @@ src_configure() {
}
src_test() {
+ unset CLICOLOR CLICOLOR_FORCE
+
edo ${CARGO} nextest run $(usev !debug '--release') --color always --all-features --tests
}
+
+src_install() {
+ cargo_src_install
+
+ newbashcomp shell/pk.bash pk
+ dozshcomp shell/_pk
+ dofishcomp shell/pk.fish
+}