summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2007-08-23 10:45:51 +0000
committerRobert Buchholz <rbu@gentoo.org>2007-08-23 10:45:51 +0000
commit42e150d138edc46550cd31f0270cdcc12619805b (patch)
treec90db0bf9c528bfd7151076b8371369baf3e1092 /dev-python/pynotifier
parent Redo the Makefile patch so it doesn't specify install user/group and it (diff)
downloadgentoo-2-42e150d138edc46550cd31f0270cdcc12619805b.tar.gz
gentoo-2-42e150d138edc46550cd31f0270cdcc12619805b.tar.bz2
gentoo-2-42e150d138edc46550cd31f0270cdcc12619805b.zip
Making qt and gtk optional dependancies
(Portage version: 2.1.3.6)
Diffstat (limited to 'dev-python/pynotifier')
-rw-r--r--dev-python/pynotifier/ChangeLog8
-rw-r--r--dev-python/pynotifier/files/digest-pynotifier-0.5.8-r1 (renamed from dev-python/pynotifier/files/digest-pynotifier-0.5.8)0
-rw-r--r--dev-python/pynotifier/pynotifier-0.5.8-r1.ebuild (renamed from dev-python/pynotifier/pynotifier-0.5.8.ebuild)11
3 files changed, 14 insertions, 5 deletions
diff --git a/dev-python/pynotifier/ChangeLog b/dev-python/pynotifier/ChangeLog
index bee4c41eedfb..b89c5dde9480 100644
--- a/dev-python/pynotifier/ChangeLog
+++ b/dev-python/pynotifier/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pynotifier
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pynotifier/ChangeLog,v 1.1 2007/08/23 00:08:08 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pynotifier/ChangeLog,v 1.2 2007/08/23 10:45:51 rbu Exp $
+
+*pynotifier-0.5.8-r1 (23 Aug 2007)
+
+ 23 Aug 2007; Robert Buchholz <rbu@gentoo.org> -pynotifier-0.5.8.ebuild,
+ +pynotifier-0.5.8-r1.ebuild:
+ Making qt and gtk optional dependancies
*pynotifier-0.5.8 (22 Aug 2007)
diff --git a/dev-python/pynotifier/files/digest-pynotifier-0.5.8 b/dev-python/pynotifier/files/digest-pynotifier-0.5.8-r1
index 5e8d9bb6604c..5e8d9bb6604c 100644
--- a/dev-python/pynotifier/files/digest-pynotifier-0.5.8
+++ b/dev-python/pynotifier/files/digest-pynotifier-0.5.8-r1
diff --git a/dev-python/pynotifier/pynotifier-0.5.8.ebuild b/dev-python/pynotifier/pynotifier-0.5.8-r1.ebuild
index a00a1e888942..92efe1a595d5 100644
--- a/dev-python/pynotifier/pynotifier-0.5.8.ebuild
+++ b/dev-python/pynotifier/pynotifier-0.5.8-r1.ebuild
@@ -1,6 +1,6 @@
# 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.ebuild,v 1.1 2007/08/23 00:08:08 rbu Exp $
+# $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
@@ -11,16 +11,19 @@ SRC_URI="http://www.bitkipper.net/bytes/pynotifier/source/${PN}_${PV}-1.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
+IUSE="qt4 gtk"
DEPEND=""
-RDEPEND="dev-python/pygobject
- dev-python/PyQt4"
+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