commit:     d84f53a8c41b8fc9684e0d33b39ff2a949524487
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Nov  8 09:50:42 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 13:18:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d84f53a8

dev-python/qtconsole: Fix test dependencies.

Gentoo-Bug: https://bugs.gentoo.org/598659

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2775

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-python/qtconsole/qtconsole-4.1.1.ebuild | 9 +++++++--
 dev-python/qtconsole/qtconsole-4.2.1.ebuild | 7 ++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/dev-python/qtconsole/qtconsole-4.1.1.ebuild 
b/dev-python/qtconsole/qtconsole-4.1.1.ebuild
index a7c0411..5c5587c 100644
--- a/dev-python/qtconsole/qtconsole-4.1.1.ebuild
+++ b/dev-python/qtconsole/qtconsole-4.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,11 +29,16 @@ DEPEND="${RDEPEND}
        )
        test? (
                >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
+               || (
+                       dev-python/pyside[${PYTHON_USEDEP},svg]
+                       dev-python/PyQt5[${PYTHON_USEDEP},svg,testlib]
+                       dev-python/PyQt4[${PYTHON_USEDEP},svg,testlib]
+               )
        )
        || (
                dev-python/pyside[${PYTHON_USEDEP},svg]
-               dev-python/PyQt4[${PYTHON_USEDEP},svg]
                dev-python/PyQt5[${PYTHON_USEDEP},svg]
+               dev-python/PyQt4[${PYTHON_USEDEP},svg]
        )
        dev-python/pygments[${PYTHON_USEDEP}]
        >=dev-python/pyzmq-13[${PYTHON_USEDEP}]

diff --git a/dev-python/qtconsole/qtconsole-4.2.1.ebuild 
b/dev-python/qtconsole/qtconsole-4.2.1.ebuild
index 378cd20..afeb182 100644
--- a/dev-python/qtconsole/qtconsole-4.2.1.ebuild
+++ b/dev-python/qtconsole/qtconsole-4.2.1.ebuild
@@ -29,11 +29,16 @@ DEPEND="${RDEPEND}
        )
        test? (
                >=dev-python/nose-0.10.1[${PYTHON_USEDEP}]
+               || (
+                       dev-python/pyside[${PYTHON_USEDEP},svg]
+                       dev-python/PyQt5[${PYTHON_USEDEP},svg,testlib]
+                       dev-python/PyQt4[${PYTHON_USEDEP},svg,testlib]
+               )
        )
        || (
                dev-python/pyside[${PYTHON_USEDEP},svg]
-               dev-python/PyQt4[${PYTHON_USEDEP},svg]
                dev-python/PyQt5[${PYTHON_USEDEP},svg]
+               dev-python/PyQt4[${PYTHON_USEDEP},svg]
        )
        dev-python/pygments[${PYTHON_USEDEP}]
        >=dev-python/pyzmq-13[${PYTHON_USEDEP}]

Reply via email to