commit: 3b8c75ceade69987ef06ca3812834294746f608f Author: Nils Freydank <holgersson <AT> posteo <DOT> de> AuthorDate: Wed Feb 24 11:44:10 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Feb 25 14:46:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b8c75ce
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 <AT> posteo.de> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> .../retext/{retext-7.2.0.ebuild => retext-7.2.0-r1.ebuild} | 8 +++++--- 1 file 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 similarity index 87% rename from app-editors/retext/retext-7.2.0.ebuild rename to app-editors/retext/retext-7.2.0-r1.ebuild index cbf66104a1a..4da9da3b40b 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() {
