From 6780cf96628b9ea3bc35e7a1be522b78cf1aa47f Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 24 Nov 2020 04:15:05 +0100 Subject: [PATCH] pelican: pandoc checkdepends optional --- srcpkgs/pelican/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/pelican/template b/srcpkgs/pelican/template index baa4f603c4f..2edd0e74024 100644 --- a/srcpkgs/pelican/template +++ b/srcpkgs/pelican/template @@ -7,8 +7,7 @@ hostmakedepends="python3-setuptools" depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six python3-dateutil" -checkdepends="$depends pandoc git - python3-lxml python3-BeautifulSoup4 python3-Markdown" +checkdepends="$depends git python3-lxml python3-BeautifulSoup4 python3-Markdown" short_desc="Static site generator written in Python" maintainer="Lugubris " license="AGPL-3.0-or-later" @@ -21,6 +20,10 @@ changelog="https://raw.githubusercontent.com/getpelican/pelican/${version}/docs/ distfiles="https://github.com/getpelican/pelican/archive/${version}.tar.gz" checksum=b47c65f663bf6f2513b8ebc1f096e51f4d7865c17b36c370f83eadd80b6ba702 +case "$XBPS_MACHINE" in + x86_64*|i686|ppc64le) checkdepends+=" pandoc";; +esac + post_extract() { # This test is problematic, # but this test is not important, judging from its content