diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-28 17:49:13 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-28 20:34:41 +0100 |
commit | 0f34213a03112455884d975114f2d1af15d5ed5d (patch) | |
tree | e519bb1eb0f70ed4a6f29c47f9eb638e31e04e0d /dev-python/pynotifier | |
parent | dev-ros/rosbuild: Remove old (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-python/pynotifier/pynotifier-0.7.0-r3.ebuild | 11 |
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 } |