--- libxcb-1.9.3-r1.ebuild.orig 2014-01-17 21:32:21.000000000 +0000 +++ libxcb-1.9.3-r1.ebuild 2014-01-17 23:47:58.000000000 +0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/libxcb-1.9.3-r1.ebuild,v 1.1 2014/01/11 11:15:20 mgorny Exp $ -EAPI=5 +EAPI=5-hdepend PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) PYTHON_REQ_USE=xml @@ -25,12 +25,13 @@ x11-libs/libXdmcp[${MULTILIB_USEDEP}]" # Note: ${PYTHON_USEDEP} needs to go verbatim DEPEND="${RDEPEND} - dev-libs/libxslt + >=x11-proto/xcb-proto-1.9-r1[${MULTILIB_USEDEP}]" +HDEPEND="dev-libs/libxslt $(python_gen_any_dep \ - ">=x11-proto/xcb-proto-1.9-r1[${MULTILIB_USEDEP},\${PYTHON_USEDEP}]")" + ">=x11-proto/xcb-proto-1.9-r1[\${PYTHON_USEDEP}]")" python_check_deps() { - has_version ">=x11-proto/xcb-proto-1.9[${MULTILIB_USEDEP},${PYTHON_USEDEP}]" + has_version --host-root ">=x11-proto/xcb-proto-1.9[${PYTHON_USEDEP}]" } pkg_setup() {