summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-08-27 11:27:52 +0100
committerMarek Szuba <marecki@gentoo.org>2021-08-27 11:27:52 +0100
commit22d74ef60f5bf00571639586f8e4e705420614a9 (patch)
tree98f7a97e5ab65f7e908ff0deca4cd0580c25f52c /dev-ruby/kramdown
parentdev-python/utidylib: allow both htmltidy-5+ and tidy-html5 (diff)
downloadgentoo-22d74ef60f5bf00571639586f8e4e705420614a9.tar.gz
gentoo-22d74ef60f5bf00571639586f8e4e705420614a9.tar.bz2
gentoo-22d74ef60f5bf00571639586f8e4e705420614a9.zip
dev-ruby/kramdown: allow both htmltidy-5+ and tidy-html5
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-ruby/kramdown')
-rw-r--r--dev-ruby/kramdown/kramdown-2.3.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ruby/kramdown/kramdown-2.3.1.ebuild b/dev-ruby/kramdown/kramdown-2.3.1.ebuild
index a16c856eeed5..54eced4e6f64 100644
--- a/dev-ruby/kramdown/kramdown-2.3.1.ebuild
+++ b/dev-ruby/kramdown/kramdown-2.3.1.ebuild
@@ -21,7 +21,10 @@ IUSE="latex"
LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
RDEPEND+=" ${LATEX_DEPS}"
-DEPEND+=" test? ( ${LATEX_DEPS} app-text/tidy-html5 )"
+DEPEND+=" test? (
+ ${LATEX_DEPS}
+ || ( app-text/tidy-html5 >=app-text/htmltidy-5.0.0 )
+)"
ruby_add_rdepend "
dev-ruby/rexml