www-client/chromium: Check for python deps in host root
authorMike Gilbert <floppym@gentoo.org>
Sun, 13 Mar 2016 23:57:07 +0000 (19:57 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 13 Mar 2016 23:57:07 +0000 (19:57 -0400)
Bug: https://bugs.gentoo.org/577340

Package-Manager: portage-2.2.28_p57

www-client/chromium/chromium-49.0.2623.87-r1.ebuild
www-client/chromium/chromium-49.0.2623.87.ebuild

index 7d2a7ea81345381b4c902a455a9d6b619a190438..a5053741bf39120ca2750c39604764252192f102 100644 (file)
@@ -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
index f91918d4434b1d1b28da78c28606e8d5c8dec6c3..6f6c60b70477d37db8646c91d536264fee1ef900 100644 (file)
@@ -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