commit:     8b6317799ba1e12c4ca47ea29ce4b023515da550
Author:     Daniel Pielmeier <billie <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 10:45:24 2016 +0000
Commit:     Daniel Pielmeier <billie <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 10:45:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b631779

net-print/hplip: Fix REQUIRED_USE with USE="minimal". Bug #584940.

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 803c1f8..7f3e830 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)."

Reply via email to