summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-07-10 08:24:13 +0300
committerJoonas Niilola <juippis@gentoo.org>2024-07-10 08:24:13 +0300
commit132fc13c631bafa1c4e867e5d6099cb4d69d86f9 (patch)
tree0481776b21dd8490f2b4010eafd0c7513cbdb930 /www-apps
parentwww-apps/hugo: add 0.128.2 (diff)
downloadgentoo-132fc13c631bafa1c4e867e5d6099cb4d69d86f9.tar.gz
gentoo-132fc13c631bafa1c4e867e5d6099cb4d69d86f9.tar.bz2
gentoo-132fc13c631bafa1c4e867e5d6099cb4d69d86f9.zip
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@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/hugo/hugo-0.128.2.ebuild5
1 files changed, 4 insertions, 1 deletions
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}
}