# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 DESCRIPTION="A user friendly interface to the devilspie window matching daemon, to create rules easily" HOMEPAGE="https://code.google.com/p/gdevilspie/" SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=" dev-python/pygtk:2[${PYTHON_USEDEP}] dev-python/libwnck-python[${PYTHON_USEDEP}] " RDEPEND="${DEPEND} x11-misc/devilspie " PATCHES=( # Fix paths for finding XDG and glade file, bug #539638 "${FILESDIR}/${P}-paths.patch" ) src_prepare() { sed -i -e "s:doc/gdevilspie:doc/${PF}:" setup.py || die distutils-r1_src_prepare }