summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-03 13:24:48 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-03 14:29:29 +0100
commit1f441a442ec593d765164226967f87466e922a6a (patch)
tree300e98874460439ead377ffa4702cc6bf088c5b3
parentapp-shells/bash-completion: Enable py3.11 (diff)
downloadgentoo-1f441a442ec593d765164226967f87466e922a6a.tar.gz
gentoo-1f441a442ec593d765164226967f87466e922a6a.tar.bz2
gentoo-1f441a442ec593d765164226967f87466e922a6a.zip
app-shells/bash-completion: Use python_has_version
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--app-shells/bash-completion/bash-completion-2.11.ebuild4
-rw-r--r--app-shells/bash-completion/bash-completion-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/app-shells/bash-completion/bash-completion-2.11.ebuild b/app-shells/bash-completion/bash-completion-2.11.ebuild
index 42368e09344e..b54591dd58fa 100644
--- a/app-shells/bash-completion/bash-completion-2.11.ebuild
+++ b/app-shells/bash-completion/bash-completion-2.11.ebuild
@@ -67,8 +67,8 @@ strip_completions() {
}
python_check_deps() {
- has_version "dev-python/pexpect[${PYTHON_USEDEP}]" &&
- has_version "dev-python/pytest[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/pytest[${PYTHON_USEDEP}]"
}
pkg_setup() {
diff --git a/app-shells/bash-completion/bash-completion-9999.ebuild b/app-shells/bash-completion/bash-completion-9999.ebuild
index e43aea818d4d..326984fbf6fe 100644
--- a/app-shells/bash-completion/bash-completion-9999.ebuild
+++ b/app-shells/bash-completion/bash-completion-9999.ebuild
@@ -64,8 +64,8 @@ strip_completions() {
}
python_check_deps() {
- has_version "dev-python/pexpect[${PYTHON_USEDEP}]" &&
- has_version "dev-python/pytest[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/pytest[${PYTHON_USEDEP}]"
}
pkg_setup() {