--- thunarx-python-0.3.0.ebuild 2013-04-12 02:08:48.000000000 +0800 +++ thunarx-python-0.3.0-r1.ebuild 2015-02-24 16:55:55.005002212 +0800 @@ -1,10 +1,11 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/thunarx-python/thunarx-python-0.3.0.ebuild,v 1.7 2013/04/11 18:08:48 ago Exp $ EAPI=5 -PYTHON_DEPEND=2 -inherit python xfconf +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 xfconf DESCRIPTION="Python bindings for the Thunar file manager" HOMEPAGE="http://goodies.xfce.org/projects/bindings/thunarx-python" @@ -12,13 +13,13 @@ LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~x86" IUSE="debug" RDEPEND="x11-libs/gtk+:2 dev-libs/glib:2 - >=dev-python/pygobject-2.16:2 - dev-python/pygtk:2 + >=dev-python/pygobject-2.16:2[${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] >=xfce-base/thunar-1.1.0" DEPEND="${RDEPEND} virtual/pkgconfig" @@ -30,9 +31,6 @@ ) DOCS=( AUTHORS ChangeLog NEWS README ) - - python_set_active_version 2 - python_pkg_setup } src_install() {