From 4432b9d022995d25759eaa88d4b98b8c5c10fb8f Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 11 Apr 2011 19:51:07 +0000 Subject: Use Python 2 (bug #316983). (Portage version: 2.2.0_alpha29_p12/cvs/Linux x86_64) --- x11-apps/ccsm/ccsm-0.8.4-r1.ebuild | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'x11-apps/ccsm/ccsm-0.8.4-r1.ebuild') diff --git a/x11-apps/ccsm/ccsm-0.8.4-r1.ebuild b/x11-apps/ccsm/ccsm-0.8.4-r1.ebuild index ff79aa1d42fd..f5bf77b8f417 100644 --- a/x11-apps/ccsm/ccsm-0.8.4-r1.ebuild +++ b/x11-apps/ccsm/ccsm-0.8.4-r1.ebuild @@ -1,6 +1,9 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ccsm-0.8.4-r1.ebuild,v 1.1 2010/04/03 03:17:38 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ccsm-0.8.4-r1.ebuild,v 1.2 2011/04/11 19:51:07 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" inherit distutils @@ -15,13 +18,19 @@ IUSE="" DEPEND=" >=dev-python/compizconfig-python-${PV} - >=dev-python/pygtk-2.12 + >=dev-python/pygtk-2.12:2 dev-python/sexy-python gnome-base/librsvg " RDEPEND="${DEPEND}" -DOCS="AUTHORS PKG-INFO" +DOCS="AUTHORS" +PYTHON_MODNAME="ccm" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} src_compile() { distutils_src_compile --prefix=/usr -- cgit v1.2.3-65-gdbad