pelican: update to 4.11.0, adopt.

This commit is contained in:
Jason Elswick
2026-02-18 17:01:08 +01:00
committed by Leah Neukirchen
parent cfe7de53b1
commit a0dbb6b6af
+9 -20
View File
@@ -1,35 +1,24 @@
# Template file for 'pelican'
pkgname=pelican
version=4.5.1
revision=6
build_style=python3-module
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 git python3-lxml python3-BeautifulSoup4 python3-Markdown"
version=4.11.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel python3-pdm-backend"
depends="python3-setuptools python3-feedgenerator python3-Jinja2 python3-Pygments python3-docutils python3-pytz python3-blinker python3-Unidecode python3-six python3-dateutil python3-rich python3-ordered_set python3-watchfiles"
short_desc="Static site generator written in Python"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="AGPL-3.0-or-later"
homepage="https://getpelican.com/"
changelog="https://raw.githubusercontent.com/getpelican/pelican/${version}/docs/changelog.rst"
# xbps-src check fails alot with PYPI tarball
# with github tarball, there is one failure on test_error_on_warning
# We can live with it.
# distfiles="${PYPI_SITE}/p/pelican/pelican-${version}.tar.gz"
distfiles="https://github.com/getpelican/pelican/archive/${version}.tar.gz"
checksum=b47c65f663bf6f2513b8ebc1f096e51f4d7865c17b36c370f83eadd80b6ba702
distfiles="https://github.com/getpelican/pelican/archive/refs/tags/${version}.tar.gz"
checksum=d18b0a9b2cf0427d05b9b8a955bf7bb1028c9849fb2fa44c562d0fe34b6e3655
make_check=no # fix pytest3 -n error and unpackaged dependencies
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le*|ppc64) checkdepends+=" pandoc";;
esac
post_extract() {
# This test is problematic,
# but this test is not important, judging from its content
rm pelican/tests/test_testsuite.py
}
post_install() {
vlicense LICENSE
}