commit:     41fc05a8d3ea6aee49bcff68ddce01151dec6a62
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 17 18:50:53 2019 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Nov 17 18:51:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41fc05a8

app-misc/anki: be compatible with split PyQtWebEngine

Bug: https://bugs.gentoo.org/699306
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>

 app-misc/anki/anki-2.1.0_beta27.ebuild | 10 ++++++++--
 app-misc/anki/anki-2.1.13.ebuild       |  8 +++++++-
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/app-misc/anki/anki-2.1.0_beta27.ebuild 
b/app-misc/anki/anki-2.1.0_beta27.ebuild
index a4c33685fa1..9c8bfdb780b 100644
--- a/app-misc/anki/anki-2.1.0_beta27.ebuild
+++ b/app-misc/anki/anki-2.1.0_beta27.ebuild
@@ -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}]

diff --git a/app-misc/anki/anki-2.1.13.ebuild b/app-misc/anki/anki-2.1.13.ebuild
index bb38a02500c..a9775f88b92 100644
--- a/app-misc/anki/anki-2.1.13.ebuild
+++ b/app-misc/anki/anki-2.1.13.ebuild
@@ -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}]

Reply via email to