From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E19C158008 for ; Fri, 16 Jun 2023 00:18:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92F53E097B; Fri, 16 Jun 2023 00:18:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78D63E097B for ; Fri, 16 Jun 2023 00:18:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B9F3335DBC for ; Fri, 16 Jun 2023 00:18:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6572A8C for ; Fri, 16 Jun 2023 00:18:25 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1686874688.8da3175374fcae0eae525689ab64e4554ed44572.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/procs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/procs/procs-0.14.0-r1.ebuild sys-process/procs/procs-0.14.0.ebuild X-VCS-Directories: sys-process/procs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8da3175374fcae0eae525689ab64e4554ed44572 X-VCS-Branch: master Date: Fri, 16 Jun 2023 00:18:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c5220560-9284-42dd-831c-04c08c72ee62 X-Archives-Hash: a2a72ffb7be65a940035ec61fccb342c commit: 8da3175374fcae0eae525689ab64e4554ed44572 Author: Sam James gentoo org> AuthorDate: Fri Jun 16 00:18:08 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jun 16 00:18:08 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8da31753 sys-process/procs: install completions Signed-off-by: Sam James gentoo.org> .../{procs-0.14.0.ebuild => procs-0.14.0-r1.ebuild} | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/sys-process/procs/procs-0.14.0.ebuild b/sys-process/procs/procs-0.14.0-r1.ebuild similarity index 91% rename from sys-process/procs/procs-0.14.0.ebuild rename to sys-process/procs/procs-0.14.0-r1.ebuild index ca275a7bff1c..32619a312107 100644 --- a/sys-process/procs/procs-0.14.0.ebuild +++ b/sys-process/procs/procs-0.14.0-r1.ebuild @@ -236,7 +236,7 @@ CRATES=" xattr-0.2.3 " -inherit cargo +inherit bash-completion-r1 cargo DESCRIPTION="A modern replacement for ps" HOMEPAGE="https://github.com/dalance/procs" @@ -252,3 +252,18 @@ SLOT="0" KEYWORDS="~amd64" QA_FLAGS_IGNORED="usr/bin/procs" + +src_install() { + cargo_src_install + + target/$(usex debug debug release)/procs --gen-completion bash || die + newbashcomp procs.bash procs + + target/$(usex debug debug release)/procs --gen-completion zsh || die + insinto /usr/share/zsh/site-functions + doins _procs + + target/$(usex debug debug release)/procs --gen-completion fish || die + insinto /usr/share/fish/vendor_completions.d + doins procs.fish +}