commit:     132fc13c631bafa1c4e867e5d6099cb4d69d86f9
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 10 05:24:13 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 10 05:24:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=132fc13c

www-apps/hugo: drop virtual/pandoc as a hard test dependency

 - currently it skips one test without pandoc dep, but it's a complicated dep
   to keep due to pandoc-bin not being keyworded on many arches and pandoc
   pulling tons of haskell stuff.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-apps/hugo/hugo-0.128.2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www-apps/hugo/hugo-0.128.2.ebuild 
b/www-apps/hugo/hugo-0.128.2.ebuild
index b3f3114af58e..d49c59a1bdb9 100644
--- a/www-apps/hugo/hugo-0.128.2.ebuild
+++ b/www-apps/hugo/hugo-0.128.2.ebuild
@@ -25,7 +25,6 @@ BDEPEND="
        test? (
                dev-python/docutils
                dev-ruby/asciidoctor
-               virtual/pandoc
        )
 "
 RDEPEND="
@@ -79,6 +78,10 @@ src_compile() {
 }
 
 src_test() {
+       if ! has_version -b virtual/pandoc ; then
+               elog "You're missing virtual/pandoc - some tests will be 
skipped."
+       fi
+
        ego test "./..." ${MY_BUILD_FLAGS}
 }
 

Reply via email to