summaryrefslogtreecommitdiff
blob: 92efe1a595d5d86157f727e6db1d05916b0238e5 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pynotifier/pynotifier-0.5.8-r1.ebuild,v 1.1 2007/08/23 10:45:51 rbu Exp $

inherit distutils

DESCRIPTION="pyNotifier provides an implementation of a notifier/event scheduler."
HOMEPAGE="http://www.bitkipper.net/Package/pynotifier"
SRC_URI="http://www.bitkipper.net/bytes/pynotifier/source/${PN}_${PV}-1.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="qt4 gtk"

DEPEND=""
RDEPEND="gtk? ( dev-python/pygobject )
	qt4? ( dev-python/PyQt4 )"

src_unpack() {
	unpack ${A}
	cd "${S}"

	use qt4 || rm notifier/nf_qt.py
	use gtk || rm notifier/nf_gtk.py

	# This would need dev-python/wxpython
	# pynotifier's source: "the WX notifier is deprecated and is no longer maintained"
	rm notifier/nf_wx.py
}