commit:     ec31ea6aa938525b8aacc513f80b4ca04ff49f7e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 13 12:41:08 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 13 12:41:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec31ea6a

dev-util/libabigail: add bash-completion

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../libabigail/{libabigail-2.0.ebuild => libabigail-2.0-r1.ebuild} | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-util/libabigail/libabigail-2.0.ebuild 
b/dev-util/libabigail/libabigail-2.0-r1.ebuild
similarity index 88%
rename from dev-util/libabigail/libabigail-2.0.ebuild
rename to dev-util/libabigail/libabigail-2.0-r1.ebuild
index 8c7bf65df427..96de89727269 100644
--- a/dev-util/libabigail/libabigail-2.0.ebuild
+++ b/dev-util/libabigail/libabigail-2.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit autotools python-any-r1 out-of-source
+inherit autotools bash-completion-r1 python-any-r1 out-of-source
 
 DESCRIPTION="Suite of tools for checking ABI differences between ELF objects"
 HOMEPAGE="https://sourceware.org/libabigail/";
@@ -75,6 +75,11 @@ my_src_install() {
 my_src_install_all() {
        einstalldocs
 
+       local file
+       for file in abicompat abidiff abidw abilint abinilint abipkgdiff abisym 
fedabipkgdiff ; do
+               dobashcomp bash-completion/${file}
+       done
+
        # no static archives
        find "${D}" -name '*.la' -delete || die
 }

Reply via email to