net-print/hplip: Fix REQUIRED_USE with USE="minimal". Bug #584940.
authorDaniel Pielmeier <billie@gentoo.org>
Sun, 5 Jun 2016 10:45:24 +0000 (12:45 +0200)
committerDaniel Pielmeier <billie@gentoo.org>
Sun, 5 Jun 2016 10:45:24 +0000 (12:45 +0200)
Thanks to Frédéric Coiffier for the report.

Package-Manager: portage-2.2.28

net-print/hplip/hplip-3.16.5.ebuild

index 803c1f8cc013a42af3de65e91463a25aa85f1cb8..7f3e8303d57a0e9e26e14951544c5d733f3ab11f 100644 (file)
@@ -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)."