From 06cdf1ae527265a910bf5af70d85c7e0e354da4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 6 Sep 2018 23:13:33 +0200 Subject: [PATCH] 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 13232e470d60..cd66da677fd9 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 1ef70643b1e9..79ee3e0ac0af 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" -- 2.26.2