summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2019-11-17 19:50:53 +0100
committerDavide Pesavento <pesa@gentoo.org>2019-11-17 19:51:39 +0100
commit41fc05a8d3ea6aee49bcff68ddce01151dec6a62 (patch)
tree81bc84d58256a0eb5380d35a1c64d3a585c1c76e /app-misc
parentnet-misc/openssh: remove unused patches (diff)
downloadgentoo-41fc05a8d3ea6aee49bcff68ddce01151dec6a62.tar.gz
gentoo-41fc05a8d3ea6aee49bcff68ddce01151dec6a62.tar.bz2
gentoo-41fc05a8d3ea6aee49bcff68ddce01151dec6a62.zip
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@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/anki/anki-2.1.0_beta27.ebuild10
-rw-r--r--app-misc/anki/anki-2.1.13.ebuild8
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 a4c33685fa1e..9c8bfdb780b3 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 bb38a02500c9..a9775f88b929 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}]