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 E70A4158043 for ; Mon, 18 Mar 2024 11:09:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 313B1E29AE; Mon, 18 Mar 2024 11:09:54 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1455BE29AE for ; Mon, 18 Mar 2024 11:09:54 +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 222A4335C9B for ; Mon, 18 Mar 2024 11:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 860071512 for ; Mon, 18 Mar 2024 11:09:51 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1710760173.b155b1eb7a32da674c81d51a068081f63c3fb332.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/yoda/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/yoda/yoda-1.9.10.ebuild sci-physics/yoda/yoda-1.9.9.ebuild X-VCS-Directories: sci-physics/yoda/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: b155b1eb7a32da674c81d51a068081f63c3fb332 X-VCS-Branch: master Date: Mon, 18 Mar 2024 11:09:51 +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: 21a4316b-6c88-4d6f-b2ef-dd7fbc9cb8eb X-Archives-Hash: 67cf5c49b78e6a0e0beece8ff8b8349d commit: b155b1eb7a32da674c81d51a068081f63c3fb332 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Sun Mar 17 18:37:17 2024 +0000 Commit: Andrew Ammerlaan gentoo 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 neuwirth-informatik.de> Closes: https://github.com/gentoo/gentoo/pull/35746 Signed-off-by: Andrew Ammerlaan 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