commit:     f30860c423bc54be3a7f316eb121fc47349c3aa8
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  3 08:43:51 2019 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Tue Dec  3 08:46:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30860c4

dev-python/pychroot: only check for sphinx for live ebuild

Closes: https://bugs.gentoo.org/701862

Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>

 dev-python/pychroot/pychroot-0.10.1.ebuild | 1 +
 dev-python/pychroot/pychroot-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-python/pychroot/pychroot-0.10.1.ebuild 
b/dev-python/pychroot/pychroot-0.10.1.ebuild
index 4f5fc21330e..eaad97eb08a 100644
--- a/dev-python/pychroot/pychroot-0.10.1.ebuild
+++ b/dev-python/pychroot/pychroot-0.10.1.ebuild
@@ -35,6 +35,7 @@ BDEPEND="
 [[ ${PV} == *9999 ]] && BDEPEND+=" $(python_gen_any_dep 
'dev-python/sphinx[${PYTHON_USEDEP}]')"
 
 python_check_deps() {
+       [[ ${PV} == *9999 ]] || return 0
        has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
 }
 

diff --git a/dev-python/pychroot/pychroot-9999.ebuild 
b/dev-python/pychroot/pychroot-9999.ebuild
index 4f5fc21330e..eaad97eb08a 100644
--- a/dev-python/pychroot/pychroot-9999.ebuild
+++ b/dev-python/pychroot/pychroot-9999.ebuild
@@ -35,6 +35,7 @@ BDEPEND="
 [[ ${PV} == *9999 ]] && BDEPEND+=" $(python_gen_any_dep 
'dev-python/sphinx[${PYTHON_USEDEP}]')"
 
 python_check_deps() {
+       [[ ${PV} == *9999 ]] || return 0
        has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
 }
 

Reply via email to