summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Freydank <holgersson@posteo.de>2021-02-24 12:44:10 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-02-25 16:46:08 +0200
commit3b8c75ceade69987ef06ca3812834294746f608f (patch)
treea78e069e518b302c74259a653868961be3a51235 /app-editors
parentdev-db/postgresql: Cleanup (diff)
downloadgentoo-3b8c75ceade69987ef06ca3812834294746f608f.tar.gz
gentoo-3b8c75ceade69987ef06ca3812834294746f608f.tar.bz2
gentoo-3b8c75ceade69987ef06ca3812834294746f608f.zip
app-editors/retext: Depend optionally on qtwebengine
To avoid breakage for existing installations the deps are not made optional but moved into USE flags (bug 772197). Also there is added a missing dbus dep (bug 772197, too). Closes: https://bugs.gentoo.org/772197 Signed-off-by: Nils Freydank <holgersson@posteo.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/retext/retext-7.2.0-r1.ebuild (renamed from app-editors/retext/retext-7.2.0.ebuild)8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-editors/retext/retext-7.2.0.ebuild b/app-editors/retext/retext-7.2.0-r1.ebuild
index cbf66104a1ac..4da9da3b40b9 100644
--- a/app-editors/retext/retext-7.2.0.ebuild
+++ b/app-editors/retext/retext-7.2.0-r1.ebuild
@@ -37,10 +37,10 @@ RDEPEND="
dev-python/markups[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/python-markdown-math[${PYTHON_USEDEP}]
- dev-python/PyQt5[gui,network,printsupport,widgets,${PYTHON_USEDEP}]
- dev-python/PyQtWebEngine[${PYTHON_USEDEP}]
+ dev-python/PyQt5[dbus,gui,printsupport,widgets,${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-python/PyQt5[testlib,${PYTHON_USEDEP}] )"
src_test() {
virtx distutils-r1_src_test
@@ -55,11 +55,13 @@ pkg_postinst() {
xdg_icon_cache_update
optfeature "dictionary support" dev-python/pyenchant
+ # See https://bugs.gentoo.org/772197.
+ optfeature "rendering with webengine" dev-python/PyQtWebEngine
einfo "Starting with retext-7.0.4 the markdown-math plugin is installed."
einfo "Note that you can use different math delimiters, e.g. \(...\) for inline math."
einfo "For more details take a look at:"
- einfo "https://github.com/mitya57/python-markdown-math#math-delimiters"
+ einfo "https://github.com/mitya57/python-markdown-math#math-delimiters"
}
pkg_postrm() {