summaryrefslogtreecommitdiff
blob: fa43d4835610fdbe2971b9c1f91fc1c653ceb2fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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.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."
HOMEPAGE="http://code.google.com/p/gdevilspie/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=">=dev-python/pygtk-2
	dev-python/libwnck-python
	x11-misc/devilspie"

PYTHON_MODNAME="gDevilspie"

pkg_setup() {
	python_set_active_version 2
}

src_prepare() {
	sed -i -e "s:doc/gdevilspie:doc/${PF}:" setup.py || die
	distutils_src_prepare
}