commit: 0f34213a03112455884d975114f2d1af15d5ed5d Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Dec 28 16:49:13 2017 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Dec 28 19:34:41 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f34213a
dev-python/pynotifier: Drop USE=qt4 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 | 11 ++++++----- 1 file 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 54dbdb9aaf2..af5e1cea7fb 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 }