summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-28 17:49:13 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-28 20:34:41 +0100
commit0f34213a03112455884d975114f2d1af15d5ed5d (patch)
treee519bb1eb0f70ed4a6f29c47f9eb638e31e04e0d /dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild
parentdev-ros/rosbuild: Remove old (diff)
downloadgentoo-0f34213a03112455884d975114f2d1af15d5ed5d.tar.gz
gentoo-0f34213a03112455884d975114f2d1af15d5ed5d.tar.bz2
gentoo-0f34213a03112455884d975114f2d1af15d5ed5d.zip
dev-python/pynotifier: Drop USE=qt4
Closes: https://bugs.gentoo.org/641936 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild')
-rw-r--r--dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild b/dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild
index 54dbdb9aaf2a..af5e1cea7fb1 100644
--- a/dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild
+++ b/dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild
@@ -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
}