dev-python/pychroot: only check for sphinx for live ebuild
authorTim Harder <radhermit@gentoo.org>
Tue, 3 Dec 2019 08:43:51 +0000 (01:43 -0700)
committerTim Harder <radhermit@gentoo.org>
Tue, 3 Dec 2019 08:46:24 +0000 (01:46 -0700)
Closes: https://bugs.gentoo.org/701862

Signed-off-by: Tim Harder <radhermit@gentoo.org>
dev-python/pychroot/pychroot-0.10.1.ebuild
dev-python/pychroot/pychroot-9999.ebuild

index 4f5fc21330e9b76e6897f8ba511f1e187b426df0..eaad97eb08abdfa1e06c4f237a9b5aff8e24e1b5 100644 (file)
@@ -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}]"
 }
 
index 4f5fc21330e9b76e6897f8ba511f1e187b426df0..eaad97eb08abdfa1e06c4f237a9b5aff8e24e1b5 100644 (file)
@@ -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}]"
 }