app-misc/anki: be compatible with split PyQtWebEngine
authorDavide Pesavento <pesa@gentoo.org>
Sun, 17 Nov 2019 18:50:53 +0000 (19:50 +0100)
committerDavide Pesavento <pesa@gentoo.org>
Sun, 17 Nov 2019 18:51:39 +0000 (19:51 +0100)
Bug: https://bugs.gentoo.org/699306
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Davide Pesavento <pesa@gentoo.org>
app-misc/anki/anki-2.1.0_beta27.ebuild
app-misc/anki/anki-2.1.13.ebuild

index a4c33685fa1ee159ba516929b0c062bc649a0868..9c8bfdb780b339defc597c279ef4475c9f9f4e39 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,13 @@ IUSE="latex +recording +sound test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/PyQt5[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
+       || (
+               (
+                       >=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_USEDEP}]
+                       dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+               )
+               <dev-python/PyQt5-5.12[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
+       )
        >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
        dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
        dev-python/decorator[${PYTHON_USEDEP}]
index bb38a02500c931e696c5cd6b606a7b6ee0799b1e..a9775f88b9298030295c8ae9c0f14c9b2c639887 100644 (file)
@@ -21,7 +21,13 @@ IUSE="latex +recording +sound test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/PyQt5[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
+       || (
+               (
+                       >=dev-python/PyQt5-5.12[gui,svg,widgets,${PYTHON_USEDEP}]
+                       dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+               )
+               <dev-python/PyQt5-5.12[gui,svg,webengine,widgets,${PYTHON_USEDEP}]
+       )
        >=dev-python/httplib2-0.7.4[${PYTHON_USEDEP}]
        dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
        dev-python/decorator[${PYTHON_USEDEP}]