From: Mike Gilbert Date: Sun, 13 Mar 2016 23:57:07 +0000 (-0400) Subject: www-client/chromium: Check for python deps in host root X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6e35a7a2929dcb85403e178318f17bfb44df9079;p=gentoo.git www-client/chromium: Check for python deps in host root Bug: https://bugs.gentoo.org/577340 Package-Manager: portage-2.2.28_p57 --- 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 7d2a7ea81345..a5053741bf39 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 f91918d4434b..6f6c60b70477 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