summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/gdevilspie/ChangeLog8
-rw-r--r--x11-misc/gdevilspie/gdevilspie-0.31.ebuild20
2 files changed, 18 insertions, 10 deletions
diff --git a/x11-misc/gdevilspie/ChangeLog b/x11-misc/gdevilspie/ChangeLog
index f9067769aebe..ba2a26638565 100644
--- a/x11-misc/gdevilspie/ChangeLog
+++ b/x11-misc/gdevilspie/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/gdevilspie
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/gdevilspie/ChangeLog,v 1.3 2009/12/23 15:51:51 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gdevilspie/ChangeLog,v 1.4 2010/06/06 06:39:09 ssuominen Exp $
+
+ 06 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+ gdevilspie-0.31.ebuild:
+ Force Python 2.x wrt #317013.
23 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
gdevilspie-0.31.ebuild:
diff --git a/x11-misc/gdevilspie/gdevilspie-0.31.ebuild b/x11-misc/gdevilspie/gdevilspie-0.31.ebuild
index ce56eefd1774..fa43d4835610 100644
--- a/x11-misc/gdevilspie/gdevilspie-0.31.ebuild
+++ b/x11-misc/gdevilspie/gdevilspie-0.31.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/gdevilspie/gdevilspie-0.31.ebuild,v 1.3 2009/12/23 15:51:51 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gdevilspie/gdevilspie-0.31.ebuild,v 1.4 2010/06/06 06:39:09 ssuominen Exp $
+EAPI=2
+PYTHON_DEPEND="2"
inherit distutils
DESCRIPTION="A user friendly interface to the devilspie window matching daemon, to create rules easily."
@@ -13,15 +15,17 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=dev-python/pygtk-2
+DEPEND=">=dev-python/pygtk-2
dev-python/libwnck-python
x11-misc/devilspie"
-DEPEND="${RDEPEND}"
PYTHON_MODNAME="gDevilspie"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -e "s:doc/gdevilspie:doc/${PF}:" setup.py || die "sed failed."
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ sed -i -e "s:doc/gdevilspie:doc/${PF}:" setup.py || die
+ distutils_src_prepare
}