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 C613015ACFC for ; Tue, 2 May 2023 09:05:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30903E0870; Tue, 2 May 2023 09:05:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 0965BE0863 for ; Tue, 2 May 2023 09:05:14 +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 C3DC2340C6C for ; Tue, 2 May 2023 09:05:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A9CAA5C for ; Tue, 2 May 2023 09:05:11 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1682968061.ca8a78531e2f3214ff790100c047e8b7c723008c.ceamac@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-admin/rbw/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-admin/rbw/rbw-9999.ebuild X-VCS-Directories: app-admin/rbw/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: ca8a78531e2f3214ff790100c047e8b7c723008c X-VCS-Branch: master Date: Tue, 2 May 2023 09:05:11 +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: ac6552c6-963b-49f1-b26e-2ae4bda8633a X-Archives-Hash: 0dcb6e5b73f59111c026f1a49f746c9b commit: ca8a78531e2f3214ff790100c047e8b7c723008c Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon May 1 19:07:41 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Mon May 1 19:07:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca8a7853 app-admin/rbw: fix completions install Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> app-admin/rbw/rbw-9999.ebuild | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/app-admin/rbw/rbw-9999.ebuild b/app-admin/rbw/rbw-9999.ebuild index 87e1c6a5c..9e9ca4d11 100644 --- a/app-admin/rbw/rbw-9999.ebuild +++ b/app-admin/rbw/rbw-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cargo +inherit cargo shell-completion DESCRIPTION="unofficial bitwarden cli" HOMEPAGE="https://git.tozt.net/rbw" @@ -19,11 +19,6 @@ fi LICENSE="MIT" SLOT="0" -IUSE="bash-completion zsh-completion fish-completion" - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="virtual/rust" src_unpack() { if [[ ${PV} = *9999* ]]; then @@ -37,21 +32,12 @@ src_unpack() { src_install() { cargo_src_install - if use bash-completion; then - insinto /usr/share/bash-completion/completions - rbw gen-completions bash > rbw.bash - doins rbw.bash - fi + rbw gen-completions bash > rbw.bash || die + dobashcomp rbw.bash - if use fish-completion; then - insinto /usr/share/fish/completions - rbw gen-completions fish > rbw.fish - doins rbw.fish - fi + rbw gen-completions fish > rbw.fish || die + dofishcomp rbw.fish - if use zsh-completion; then - insinto /usr/share/zsh-completion/completions - rbw gen-completions zsh > _rbw - doins _rbw - fi + rbw gen-completions zsh > _rbw || die + dozshcomp _rbw }