dev-python/pynotifier: Drop USE=qt4
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 28 Dec 2017 16:49:13 +0000 (17:49 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 28 Dec 2017 19:34:41 +0000 (20:34 +0100)
Closes: https://bugs.gentoo.org/641936
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild

index 54dbdb9aaf2a8f325b9b1159e1f07100a4dad953..af5e1cea7fb13125fe73ea2644ffdababb11e1af 100644 (file)
@@ -13,7 +13,7 @@ SRC_URI="http://www.bitkipper.net/bytes/debian/dists/unstable/source/${PN}_${PV}
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
-IUSE="qt4 gtk"
+IUSE="gtk"
 
 DEPEND=""
 RDEPEND="
@@ -21,11 +21,12 @@ RDEPEND="
                dev-python/twisted[${PYTHON_USEDEP}]
                dev-python/twisted-core[${PYTHON_USEDEP}]
        )
-       gtk? ( dev-python/pygobject:2[${PYTHON_USEDEP}] )
-       qt4? ( dev-python/PyQt4[X,${PYTHON_USEDEP}] )"
+       gtk? ( dev-python/pygobject:2[${PYTHON_USEDEP}] )"
 
 python_prepare_all() {
-       use gtk || rm notifier/nf_gtk.py
-       use qt4 || rm notifier/nf_qt.py
+       if !use gtk; then
+               rm notifier/nf_gtk.py || die
+       fi
+       rm notifier/nf_qt.py || die
        distutils-r1_python_prepare_all
 }