# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/gdevilspie/gdevilspie-0.5.ebuild,v 1.1 2012/05/13 08:52:10 ssuominen Exp $ EAPI=4 PYTHON_DEPEND="2:2.6" inherit distutils DESCRIPTION="A user friendly interface to the devilspie window matching daemon, to create rules easily." HOMEPAGE="http://code.google.com/p/gdevilspie/" SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="=dev-python/pygtk-2* dev-python/libwnck-python" RDEPEND="${DEPEND} x11-misc/devilspie" PYTHON_MODNAME="gDevilspie" pkg_setup() { python_set_active_version 2 python_pkg_setup } src_prepare() { sed -i -e "s:doc/gdevilspie:doc/${PF}:" setup.py || die distutils_src_prepare }