commit: 06cdf1ae527265a910bf5af70d85c7e0e354da4e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Sep 6 21:13:33 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Sep 6 21:21:33 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06cdf1ae
app-shells/bash-completion: Migrate to eapi7-ver app-shells/bash-completion/bash-completion-2.8.ebuild | 4 ++-- app-shells/bash-completion/bash-completion-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-shells/bash-completion/bash-completion-2.8.ebuild b/app-shells/bash-completion/bash-completion-2.8.ebuild index 13232e470d6..cd66da677fd 100644 --- a/app-shells/bash-completion/bash-completion-2.8.ebuild +++ b/app-shells/bash-completion/bash-completion-2.8.ebuild @@ -4,7 +4,7 @@ EAPI=6 BASHCOMP_P=bashcomp-2.0.2 -inherit versionator +inherit eapi7-ver DESCRIPTION="Programmable Completion for bash" HOMEPAGE="https://github.com/scop/bash-completion" @@ -112,7 +112,7 @@ src_install() { pkg_postinst() { local v for v in ${REPLACING_VERSIONS}; do - if ! version_is_at_least 2.1-r90 ${v}; then + if ver_test "${v}" -lt 2.1-r90; then ewarn "For bash-completion autoloader to work, all completions need to" ewarn "be installed in /usr/share/bash-completion/completions. You may" ewarn "need to rebuild packages that installed completions in the old" diff --git a/app-shells/bash-completion/bash-completion-9999.ebuild b/app-shells/bash-completion/bash-completion-9999.ebuild index 1ef70643b1e..79ee3e0ac0a 100644 --- a/app-shells/bash-completion/bash-completion-9999.ebuild +++ b/app-shells/bash-completion/bash-completion-9999.ebuild @@ -5,7 +5,7 @@ EAPI=6 BASHCOMP_P=bashcomp-2.0.2 EGIT_REPO_URI="https://github.com/scop/bash-completion" -inherit autotools git-r3 versionator +inherit autotools eapi7-ver git-r3 DESCRIPTION="Programmable Completion for bash" HOMEPAGE="https://github.com/scop/bash-completion" @@ -112,7 +112,7 @@ src_install() { pkg_postinst() { local v for v in ${REPLACING_VERSIONS}; do - if ! version_is_at_least 2.1-r90 ${v}; then + if ver_test "${v}" -lt 2.1-r90; then ewarn "For bash-completion autoloader to work, all completions need to" ewarn "be installed in /usr/share/bash-completion/completions. You may" ewarn "need to rebuild packages that installed completions in the old"
