qt5-build.eclass: don't add a test dependency for dev-qt/qtwebkit
authorMichael Palimaka <kensington@gentoo.org>
Sat, 7 Oct 2017 03:26:12 +0000 (14:26 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 8 Oct 2017 01:46:26 +0000 (12:46 +1100)
The test dependency for dev-qt/qtwebkit will now be handled manually in that
ebuild as pinned Qt dependencies are no longer used there.

eclass/qt5-build.eclass

index fca63af4b88947484197673588d75ebd25c858a6..d933767b4a525578560a5024a3f86e1761f41482 100644 (file)
@@ -114,7 +114,7 @@ DEPEND="
        dev-lang/perl
        virtual/pkgconfig
 "
-if [[ ${PN} != qttest ]]; then
+if [[ ${PN} != qttest && (${PN} != qtwebkit && ${QT5_MINOR_VERSION} -ge 9) ]]; then
        DEPEND+=" test? ( ~dev-qt/qttest-${PV} )"
 fi
 RDEPEND="