--- xcb-proto-1.6.ebuild +++ xcb-proto-1.6.ebuild @@ -2,7 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.6.ebuild,v 1.6 2010/04/18 19:51:27 maekke Exp $ -inherit x-modular +PYTHON_DEPEND="2:2.5" + +inherit python x-modular DESCRIPTION="X C-language Bindings protocol headers" HOMEPAGE="http://xcb.freedesktop.org/" @@ -15,5 +17,8 @@ RDEPEND="" DEPEND="${RDEPEND} - dev-libs/libxml2 - >=dev-lang/python-2.5" + dev-libs/libxml2" + +pkg_setup() { + python_set_active_version 2 +}