pelican: pandoc checkdepends optional

This commit is contained in:
q66 2020-11-24 04:15:05 +01:00
parent f52b465ae6
commit 6780cf9662

View file

@ -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 <lugubris@disroot.org>"
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