pelican: pandoc checkdepends optional
This commit is contained in:
parent
f52b465ae6
commit
6780cf9662
|
@ -7,8 +7,7 @@ hostmakedepends="python3-setuptools"
|
||||||
depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments
|
depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments
|
||||||
python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six
|
python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six
|
||||||
python3-dateutil"
|
python3-dateutil"
|
||||||
checkdepends="$depends pandoc git
|
checkdepends="$depends git python3-lxml python3-BeautifulSoup4 python3-Markdown"
|
||||||
python3-lxml python3-BeautifulSoup4 python3-Markdown"
|
|
||||||
short_desc="Static site generator written in Python"
|
short_desc="Static site generator written in Python"
|
||||||
maintainer="Lugubris <lugubris@disroot.org>"
|
maintainer="Lugubris <lugubris@disroot.org>"
|
||||||
license="AGPL-3.0-or-later"
|
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"
|
distfiles="https://github.com/getpelican/pelican/archive/${version}.tar.gz"
|
||||||
checksum=b47c65f663bf6f2513b8ebc1f096e51f4d7865c17b36c370f83eadd80b6ba702
|
checksum=b47c65f663bf6f2513b8ebc1f096e51f4d7865c17b36c370f83eadd80b6ba702
|
||||||
|
|
||||||
|
case "$XBPS_MACHINE" in
|
||||||
|
x86_64*|i686|ppc64le) checkdepends+=" pandoc";;
|
||||||
|
esac
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# This test is problematic,
|
# This test is problematic,
|
||||||
# but this test is not important, judging from its content
|
# but this test is not important, judging from its content
|
||||||
|
|
Loading…
Reference in New Issue