From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/onefetch/
Date: Thu, 13 Apr 2023 07:02:18 +0000 (UTC) [thread overview]
Message-ID: <1681363848.4b505c44050b532a73661763d70786f3a179cb93.flow@gentoo> (raw)
commit: 4b505c44050b532a73661763d70786f3a179cb93
Author: Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Thu Apr 13 05:30:48 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> 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 <freijon <AT> 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
}
next reply other threads:[~2023-04-13 7:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-13 7:02 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-13 15:08 [gentoo-commits] repo/proj/guru:dev commit in: app-misc/onefetch/ Lucio Sauer
2025-01-13 15:11 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2025-01-13 15:08 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2025-01-13 15:11 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-08-09 14:56 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-10 14:33 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-05-13 17:48 Julien Roy
2023-06-26 11:24 Andrew Ammerlaan
2023-05-16 5:08 Viorel Munteanu
2023-05-16 5:08 Viorel Munteanu
2023-04-13 7:02 Florian Schmaus
2023-04-13 7:02 Florian Schmaus
2023-02-23 9:24 Viorel Munteanu
2023-02-23 9:24 Viorel Munteanu
2022-12-29 11:33 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1681363848.4b505c44050b532a73661763d70786f3a179cb93.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox