blob: 433f8ff230b0fdbab229b5289ad3b009c4b3c56b (
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-2008 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.4 2008/03/02 17:07:59 philantrop 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
}
|