From 3e5a4be068f2f71be6dd25e8ec646175d110529f Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 11 Aug 2022 11:11:55 +0100 Subject: [PATCH] app-shells/fish: fix PythonAnyMismatchedDepHasVersionCheck has_version was checking DEPEND, not BDEPEND, so change to python_has_version for better defaults (defaults to BDEPEND) but also nicer output. Signed-off-by: Sam James --- app-shells/fish/fish-3.4.0.ebuild | 2 +- app-shells/fish/fish-3.4.1.ebuild | 2 +- app-shells/fish/fish-3.5.0.ebuild | 2 +- app-shells/fish/fish-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-shells/fish/fish-3.4.0.ebuild b/app-shells/fish/fish-3.4.0.ebuild index 761a34b45d202..b5f7b1b12b38f 100644 --- a/app-shells/fish/fish-3.4.0.ebuild +++ b/app-shells/fish/fish-3.4.0.ebuild @@ -51,7 +51,7 @@ S="${WORKDIR}/${MY_P}" python_check_deps() { use test || return 0 - has_version -d "dev-python/pexpect[${PYTHON_USEDEP}]" + python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" } src_prepare() { diff --git a/app-shells/fish/fish-3.4.1.ebuild b/app-shells/fish/fish-3.4.1.ebuild index 96644c7a999a7..08acc9d3b69ef 100644 --- a/app-shells/fish/fish-3.4.1.ebuild +++ b/app-shells/fish/fish-3.4.1.ebuild @@ -56,7 +56,7 @@ PATCHES=( python_check_deps() { use test || return 0 - has_version -d "dev-python/pexpect[${PYTHON_USEDEP}]" + python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" } src_prepare() { diff --git a/app-shells/fish/fish-3.5.0.ebuild b/app-shells/fish/fish-3.5.0.ebuild index d0328d4988387..936ed237ea77d 100644 --- a/app-shells/fish/fish-3.5.0.ebuild +++ b/app-shells/fish/fish-3.5.0.ebuild @@ -51,7 +51,7 @@ S="${WORKDIR}/${MY_P}" python_check_deps() { use test || return 0 - has_version -d "dev-python/pexpect[${PYTHON_USEDEP}]" + python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" } src_prepare() { diff --git a/app-shells/fish/fish-9999.ebuild b/app-shells/fish/fish-9999.ebuild index d0328d4988387..936ed237ea77d 100644 --- a/app-shells/fish/fish-9999.ebuild +++ b/app-shells/fish/fish-9999.ebuild @@ -51,7 +51,7 @@ S="${WORKDIR}/${MY_P}" python_check_deps() { use test || return 0 - has_version -d "dev-python/pexpect[${PYTHON_USEDEP}]" + python_has_version "dev-python/pexpect[${PYTHON_USEDEP}]" } src_prepare() {