commit: 5af5f9898cfe42bbff09e720ce6ccd7eb1e002db Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat May 11 03:14:34 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat May 11 03:14:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af5f989
app-shells/gentoo-bashcomp: add 20240511 Lucio Sauer (2): portageq envvar: preserve PATH to avoid command validation warnings portageq envvar: fix variables selected for completion Sam James (8): completions/emerge: add additional options completions/emerge: add --verbose-conflicts completions/emerge: add --with-test-deps helpers/gentoo-common.sh: fix whitespace completions/emerge: add --changed-* options completions/emerge: add various further options completions/emerge: fix indentation Makefile: bzip2 -> xz Bug: https://bugs.gentoo.org/588642 Bug: https://bugs.gentoo.org/931671 Signed-off-by: Sam James <sam <AT> gentoo.org> app-shells/gentoo-bashcomp/Manifest | 1 + .../gentoo-bashcomp/gentoo-bashcomp-20240511.ebuild | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/app-shells/gentoo-bashcomp/Manifest b/app-shells/gentoo-bashcomp/Manifest index 780576961c42..c667469b9665 100644 --- a/app-shells/gentoo-bashcomp/Manifest +++ b/app-shells/gentoo-bashcomp/Manifest @@ -1,2 +1,3 @@ DIST gentoo-bashcomp-20190211.tar.bz2 21508 BLAKE2B 410994819f62b0bd105ca398c335d76993fd694b8e7f56c761b94fc1e2f6e90f2010f2f2a88febd71ac0c5643fc0e923c60151fbf9411e8a553b5917d6bcd8db SHA512 4b0a5e79f90ee8122fa8d0a7224fee6472b1762a0dda680ea1c0e8d4069760be9b6472e052b1b166a389c0e779816b98715386dbc62a3574e7ad851b2567a070 DIST gentoo-bashcomp-20230313.tar.bz2 21536 BLAKE2B 5dc47aecf68fc19c177026582d98b441d09a15bf0f9e618533c62a37b7986ab6d619f2873b58697f484830bbe88e7697755bb7ee14fb8c55be12e7296e1acfec SHA512 482bf1444e76da544bfbab727f9016abcc82ed4283e31e7ad1e1d302cfe67edfc55cdc37871ae53c09e4e3ce5a5e20dd5f8994ec60e1698076bc81659a2fa3b0 +DIST gentoo-bashcomp-20240511.tar.bz2 21695 BLAKE2B 886a80eafbb923b5ccb5c9e6e0749b66878003d99e0ddf8fc3d07c072fd23cb3277eb254c4687695459fe8401d427dee2779bc29f2a48ab1c6f2b4bfe7d4ef0d SHA512 3e5add581268e7911eb18d1958e4db3b549b2afc496231dcf537abe5409fdd4fa045c6f61538be6c2686888e20ad0d0b714ecf82639a9ae0ec6eecedc378b78d diff --git a/app-shells/gentoo-bashcomp/gentoo-bashcomp-20240511.ebuild b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20240511.ebuild new file mode 100644 index 000000000000..f6df12534742 --- /dev/null +++ b/app-shells/gentoo-bashcomp/gentoo-bashcomp-20240511.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 + +DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, etc)" +HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-bashcomp.git/" +SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +src_install() { + emake DESTDIR="${D}" install \ + completionsdir="$(get_bashcompdir)" \ + helpersdir="$(get_bashhelpersdir)" \ + compatdir="${EPREFIX}/etc/bash_completion.d" +}