commit:     6e35a7a2929dcb85403e178318f17bfb44df9079
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 13 23:57:07 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Mar 13 23:57:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e35a7a2

www-client/chromium: Check for python deps in host root

Bug: https://bugs.gentoo.org/577340

Package-Manager: portage-2.2.28_p57

 www-client/chromium/chromium-49.0.2623.87-r1.ebuild | 12 ++++++------
 www-client/chromium/chromium-49.0.2623.87.ebuild    | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/www-client/chromium/chromium-49.0.2623.87-r1.ebuild 
b/www-client/chromium/chromium-49.0.2623.87-r1.ebuild
index 7d2a7ea..a505374 100644
--- a/www-client/chromium/chromium-49.0.2623.87-r1.ebuild
+++ b/www-client/chromium/chromium-49.0.2623.87-r1.ebuild
@@ -121,12 +121,12 @@ DEPEND+=" $(python_gen_any_dep '
        dev-python/simplejson[${PYTHON_USEDEP}]
 ')"
 python_check_deps() {
-       has_version "dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/beautifulsoup:4[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/html5lib[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/jinja[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/ply[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/simplejson[${PYTHON_USEDEP}]"
+       has_version --host-root 
"dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" &&
+       has_version --host-root "dev-python/beautifulsoup:4[${PYTHON_USEDEP}]" 
&&
+       has_version --host-root "dev-python/html5lib[${PYTHON_USEDEP}]" &&
+       has_version --host-root "dev-python/jinja[${PYTHON_USEDEP}]" &&
+       has_version --host-root "dev-python/ply[${PYTHON_USEDEP}]" &&
+       has_version --host-root "dev-python/simplejson[${PYTHON_USEDEP}]"
 }
 
 if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then

diff --git a/www-client/chromium/chromium-49.0.2623.87.ebuild 
b/www-client/chromium/chromium-49.0.2623.87.ebuild
index f91918d..6f6c60b 100644
--- a/www-client/chromium/chromium-49.0.2623.87.ebuild
+++ b/www-client/chromium/chromium-49.0.2623.87.ebuild
@@ -121,12 +121,12 @@ DEPEND+=" $(python_gen_any_dep '
        dev-python/simplejson[${PYTHON_USEDEP}]
 ')"
 python_check_deps() {
-       has_version "dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/beautifulsoup:4[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/html5lib[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/jinja[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/ply[${PYTHON_USEDEP}]" && \
-               has_version "dev-python/simplejson[${PYTHON_USEDEP}]"
+       has_version --host-root 
"dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" &&
+       has_version --host-root "dev-python/beautifulsoup:4[${PYTHON_USEDEP}]" 
&&
+       has_version --host-root "dev-python/html5lib[${PYTHON_USEDEP}]" &&
+       has_version --host-root "dev-python/jinja[${PYTHON_USEDEP}]" &&
+       has_version --host-root "dev-python/ply[${PYTHON_USEDEP}]" &&
+       has_version --host-root "dev-python/simplejson[${PYTHON_USEDEP}]"
 }
 
 if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then

Reply via email to