summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Freydank <holgersson@posteo.de>2021-02-24 12:44:13 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-02-25 16:46:08 +0200
commitf40548c2123b93a1652a126bba1eb321a40043b8 (patch)
treee67ec35d7c7740cadef52287fe33bb8e3078285b /app-editors/retext
parentapp-editors/retext: Depend optionally on qtwebengine (diff)
downloadgentoo-f40548c2123b93a1652a126bba1eb321a40043b8.tar.gz
gentoo-f40548c2123b93a1652a126bba1eb321a40043b8.tar.bz2
gentoo-f40548c2123b93a1652a126bba1eb321a40043b8.zip
app-editors/retext: Update live ebuild
Signed-off-by: Nils Freydank <holgersson@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/19629 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors/retext')
-rw-r--r--app-editors/retext/retext-9999.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-editors/retext/retext-9999.ebuild b/app-editors/retext/retext-9999.ebuild
index cbf66104a1ac..4da9da3b40b9 100644
--- a/app-editors/retext/retext-9999.ebuild
+++ b/app-editors/retext/retext-9999.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() {