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 9E3EC15ACFB for ; Thu, 13 Apr 2023 07:02:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D1C8E07F6; Thu, 13 Apr 2023 07:02:23 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 279A3E0839 for ; Thu, 13 Apr 2023 07:02:23 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 68DD9340F6A for ; Thu, 13 Apr 2023 07:02:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 617EEA50 for ; Thu, 13 Apr 2023 07:02:18 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1681363848.4b505c44050b532a73661763d70786f3a179cb93.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/onefetch/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/onefetch/onefetch-2.17.0.ebuild X-VCS-Directories: app-misc/onefetch/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 4b505c44050b532a73661763d70786f3a179cb93 X-VCS-Branch: master Date: Thu, 13 Apr 2023 07:02:18 +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: b90e3a82-30ec-46d3-a456-5c6d0d829db4 X-Archives-Hash: 8ae70da5e06f08428a4a2ccd7097034d commit: 4b505c44050b532a73661763d70786f3a179cb93 Author: Jonas Frei pm me> AuthorDate: Thu Apr 13 05:30:48 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Thu Apr 13 05:30:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b505c44 app-misc/onefetch: Using eclass 'shell-completion', fixed 'debug' USE Signed-off-by: Jonas Frei pm.me> app-misc/onefetch/onefetch-2.17.0.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app-misc/onefetch/onefetch-2.17.0.ebuild b/app-misc/onefetch/onefetch-2.17.0.ebuild index 6303f41cf..aee0c2b91 100644 --- a/app-misc/onefetch/onefetch-2.17.0.ebuild +++ b/app-misc/onefetch/onefetch-2.17.0.ebuild @@ -374,7 +374,7 @@ CRATES=" zstd-sys-2.0.1+zstd.1.5.2 " -inherit bash-completion-r1 cargo +inherit cargo shell-completion DESCRIPTION="Command-line Git information tool" HOMEPAGE="https://onefetch.dev" @@ -398,7 +398,7 @@ QA_FLAGS_IGNORED="usr/bin/onefetch" src_compile() { cargo_src_compile - local _completion="target/release/${PN} --generate" + local _completion="target/$(usex debug debug release)/${PN} --generate" mkdir completions || die $_completion bash > completions/${PN} || die $_completion fish > completions/${PN}.fish || die @@ -409,10 +409,8 @@ src_install() { doman docs/${PN}.1 dobashcomp completions/${PN} - insinto /usr/share/fish/vendor_completions.d - doins completions/${PN}.fish - insinto /usr/share/zsh/site-functions - doins completions/_${PN} + dofishcomp completions/${PN}.fish + dozshcomp completions/_${PN} cargo_src_install }