diff options
| author | Michał Górny <mgorny@gentoo.org> | 2023-03-03 13:32:37 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2023-03-03 14:29:31 +0100 |
| commit | 3fd01bd87ec4e79653d66c4ec2ea617f83ae91db (patch) | |
| tree | 9a1c99723689abf8a28ff59ceba6bc09128726d0 /app-shells/bash-completion/bash-completion-9999.ebuild | |
| parent | d72cdec14167a3ff2a12d94639708405794c9adc (diff) | |
| download | gentoo-3fd01bd87ec4e79653d66c4ec2ea617f83ae91db.tar.gz gentoo-3fd01bd87ec4e79653d66c4ec2ea617f83ae91db.tar.bz2 gentoo-3fd01bd87ec4e79653d66c4ec2ea617f83ae91db.zip | |
app-shells/bash-completion: Reformat
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-shells/bash-completion/bash-completion-9999.ebuild')
| -rw-r--r-- | app-shells/bash-completion/bash-completion-9999.ebuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/app-shells/bash-completion/bash-completion-9999.ebuild b/app-shells/bash-completion/bash-completion-9999.ebuild index db9e158ca8ee..b6d3b0aa9615 100644 --- a/app-shells/bash-completion/bash-completion-9999.ebuild +++ b/app-shells/bash-completion/bash-completion-9999.ebuild @@ -4,6 +4,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{9..11} ) + inherit autotools git-r3 python-any-r1 DESCRIPTION="Programmable Completion for bash" @@ -17,9 +18,11 @@ IUSE="+eselect test" RESTRICT="!test? ( test )" # completion collision with net-fs/mc -RDEPEND=">=app-shells/bash-4.3_p30-r1:0 +RDEPEND=" + >=app-shells/bash-4.3_p30-r1:0 sys-apps/miscfiles - !!net-fs/mc" + !!net-fs/mc +" DEPEND=" test? ( ${RDEPEND} @@ -27,8 +30,11 @@ DEPEND=" dev-python/pexpect[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] ') - )" -PDEPEND=">=app-shells/gentoo-bashcomp-20140911" + ) +" +PDEPEND=" + >=app-shells/gentoo-bashcomp-20140911 +" strip_completions() { # Remove unwanted completions. @@ -116,9 +122,10 @@ src_install() { dodoc AUTHORS CHANGES CONTRIBUTING.md README.md # install the eselect module - use eselect && + if use eselect; then emake -C "${WORKDIR}"/bashcomp2 DESTDIR="${D}" \ PREFIX="${EPREFIX}/usr" install + fi } pkg_postinst() { |
