summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-apps/ccsm/ChangeLog8
-rw-r--r--x11-apps/ccsm/ccsm-0.8.4-r1.ebuild17
2 files changed, 19 insertions, 6 deletions
diff --git a/x11-apps/ccsm/ChangeLog b/x11-apps/ccsm/ChangeLog
index a9db2952136d..e40adcd37e1c 100644
--- a/x11-apps/ccsm/ChangeLog
+++ b/x11-apps/ccsm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-apps/ccsm
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ChangeLog,v 1.19 2010/04/03 03:17:38 jmbsvicetto Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/ccsm/ChangeLog,v 1.20 2011/04/11 19:51:07 arfrever Exp $
+
+ 11 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ ccsm-0.8.4-r1.ebuild:
+ Use Python 2 (bug #316983).
*ccsm-0.8.4-r1 (03 Apr 2010)
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