From 8b6317799ba1e12c4ca47ea29ce4b023515da550 Mon Sep 17 00:00:00 2001
From: Daniel Pielmeier <billie@gentoo.org>
Date: Sun, 5 Jun 2016 12:45:24 +0200
Subject: net-print/hplip: Fix REQUIRED_USE with USE="minimal". Bug #584940.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Thanks to Frédéric Coiffier for the report.

Package-Manager: portage-2.2.28
---
 net-print/hplip/hplip-3.16.5.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-print/hplip/hplip-3.16.5.ebuild b/net-print/hplip/hplip-3.16.5.ebuild
index 803c1f8cc013..7f3e8303d57a 100644
--- a/net-print/hplip/hplip-3.16.5.ebuild
+++ b/net-print/hplip/hplip-3.16.5.ebuild
@@ -65,8 +65,10 @@ RDEPEND="${COMMON_DEPEND}
 		qt5? ( >=dev-python/PyQt5-5.5.1[dbus,gui,${PYTHON_USEDEP}] )
 	)"
 
-REQUIRED_USE="!minimal? ( ${PYTHON_REQUIRED_USE} )
-	^^ ( qt4 qt5 )"
+REQUIRED_USE="
+	!minimal? ( ${PYTHON_REQUIRED_USE} )
+	!minimal? ( ^^ ( qt4 qt5 ) )
+"
 
 CONFIG_CHECK="~PARPORT ~PPDEV"
 ERROR_PARPORT="Please make sure kernel parallel port support is enabled (PARPORT and PPDEV)."
-- 
cgit v1.2.3-65-gdbad