public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/
Date: Mon, 18 Mar 2024 11:09:51 +0000 (UTC)	[thread overview]
Message-ID: <1710760173.b155b1eb7a32da674c81d51a068081f63c3fb332.andrewammerlaan@gentoo> (raw)

commit:     b155b1eb7a32da674c81d51a068081f63c3fb332
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sun Mar 17 18:37:17 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 11:09:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b155b1eb

sci-physics/yoda: Fix bashcompletion

Bug: https://bugs.gentoo.org/926510
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/35746
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-physics/yoda/yoda-1.9.10.ebuild | 22 +++++++++++++++++++++-
 sci-physics/yoda/yoda-1.9.9.ebuild  | 22 +++++++++++++++++++++-
 2 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/sci-physics/yoda/yoda-1.9.10.ebuild b/sci-physics/yoda/yoda-1.9.10.ebuild
index ea206e059b09..cab2ee9ece18 100644
--- a/sci-physics/yoda/yoda-1.9.10.ebuild
+++ b/sci-physics/yoda/yoda-1.9.10.ebuild
@@ -80,7 +80,27 @@ src_test() {
 src_install() {
 	emake install DESTDIR="${ED}"
 
-	newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+	if use python ; then
+		newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+		bashcomp_alias ${PN} ${PN}-config
+		bashcomp_alias ${PN} ${PN}stack \
+			aida2flat \
+			${PN}diff \
+			${PN}cnv \
+			${PN}hist \
+			${PN}-config \
+			${PN}2flat \
+			${PN}scale \
+			${PN}2root \
+			${PN}cmp \
+			${PN}merge \
+			${PN}plot \
+			aida2${PN} \
+			${PN}ls \
+			${PN}envelope \
+			${PN}2aida
+	fi
+
 	rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
 
 	use python && python_optimize

diff --git a/sci-physics/yoda/yoda-1.9.9.ebuild b/sci-physics/yoda/yoda-1.9.9.ebuild
index bb8f1e8ffb59..0294b67c3cf3 100644
--- a/sci-physics/yoda/yoda-1.9.9.ebuild
+++ b/sci-physics/yoda/yoda-1.9.9.ebuild
@@ -80,7 +80,27 @@ src_test() {
 src_install() {
 	emake install DESTDIR="${ED}"
 
-	newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+	if use python ; then
+		newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+		bashcomp_alias ${PN} ${PN}-config
+		bashcomp_alias ${PN} ${PN}stack \
+			aida2flat \
+			${PN}diff \
+			${PN}cnv \
+			${PN}hist \
+			${PN}-config \
+			${PN}2flat \
+			${PN}scale \
+			${PN}2root \
+			${PN}cmp \
+			${PN}merge \
+			${PN}plot \
+			aida2${PN} \
+			${PN}ls \
+			${PN}envelope \
+			${PN}2aida
+	fi
+
 	rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
 
 	use python && python_optimize


             reply	other threads:[~2024-03-18 11:09 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18 11:09 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-14 12:11 [gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/ Nowa Ammerlaan
2025-05-14 12:11 Nowa Ammerlaan
2025-03-18 11:09 Nowa Ammerlaan
2025-02-11 15:10 Nowa Ammerlaan
2025-02-06 12:31 Nowa Ammerlaan
2025-01-14  8:58 Nowa Ammerlaan
2024-11-07 13:38 Andrew Ammerlaan
2024-11-05 15:00 Andrew Ammerlaan
2024-10-20 14:47 Andrew Ammerlaan
2024-10-20 13:16 Andrew Ammerlaan
2024-10-20 13:16 Andrew Ammerlaan
2024-09-23 14:41 Andrew Ammerlaan
2023-02-24  8:43 Andrew Ammerlaan
2022-08-23 12:34 Andrew Ammerlaan
2022-07-03 10:10 Andrew Ammerlaan
2021-09-19 16:48 Andreas K. Hüttel
2021-06-14 22:11 Sam James
2021-02-13 22:52 David Seifert
2021-02-13 22:52 David Seifert
2020-09-16 10:05 Michał Górny
2020-09-16 10:05 Michał Górny
2020-09-16 10:05 Michał Górny
2020-02-09 16:36 Michał Górny
2018-03-09 10:53 Guilherme Amadio
2018-03-09 10:53 Guilherme Amadio
2016-10-31  8:27 David Seifert
2015-08-20  4:52 Jauhien Piatlicki

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=1710760173.b155b1eb7a32da674c81d51a068081f63c3fb332.andrewammerlaan@gentoo \
    --to=andrewammerlaan@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